From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id p0RzO1bk2F8vDAAAWB0awg (envelope-from ) for ; Tue, 15 Dec 2020 11:29:10 -0500 Received: by simark.ca (Postfix, from userid 112) id E5F151F0AA; Tue, 15 Dec 2020 11:29:10 -0500 (EST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-1.1 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,MAILING_LIST_MULTI,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.2 Received: from lists.lttng.org (lists.lttng.org [167.114.26.123]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPS id 477DC1E965 for ; Tue, 15 Dec 2020 11:29:10 -0500 (EST) Received: from lists-lttng01.efficios.com (localhost [IPv6:::1]) by lists.lttng.org (Postfix) with ESMTP id 4CwNxd4SzrzDqm; Tue, 15 Dec 2020 11:29:09 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=lists.lttng.org; s=default; t=1608049749; bh=IniYRYzMHGdNOH0iKW6OecrHhJ/hJ607APELWdb3//U=; h=To:Date:In-Reply-To:References:Subject:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To: From; b=nxVMZ59mbaZp5vRxYQp57+iFa46JpPiwfE6FXbONIXjFaXTxgNMyMBb1HuRMBDZlv uNYEIpDmE2KSH3F131iZvxKYs0FiEySDc9zQDJj1BhmFFg3gatHJEXucmHQ6bpQvXY NXNVmSRkSC+w0AXRNdWs0ejzl5k32D7T9RFhoHPLkLCHEie+xTCRgQnIPJlUUx7GG7 871QPdYoy8kfo2jQ0GhMAADWjZ7eAM1CwiqKMYj0LIOoywSbz8VfiaX+wvDSUIl9KY HXrEHd9OoypUZtSzgIbTPie4mD/yEuLrT6tw5Bt3wnbu1wRSBpfWZg3XjtENqkiTKv S0ygtuLhseGNQ== Received: from mail.efficios.com (mail.efficios.com [167.114.26.124]) by lists.lttng.org (Postfix) with ESMTPS id 4CwNxc44DvzDxK for ; Tue, 15 Dec 2020 11:29:08 -0500 (EST) Received: from localhost (localhost [127.0.0.1]) by mail.efficios.com (Postfix) with ESMTP id 740E272D8; Tue, 15 Dec 2020 11:29:06 -0500 (EST) Received: from mail.efficios.com ([127.0.0.1]) by localhost (mail03.efficios.com [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id nJNpH7KVZGY3; Tue, 15 Dec 2020 11:29:06 -0500 (EST) Received: from localhost (localhost [127.0.0.1]) by mail.efficios.com (Postfix) with ESMTP id 4BF0672D7; Tue, 15 Dec 2020 11:29:06 -0500 (EST) DKIM-Filter: OpenDKIM Filter v2.10.3 mail.efficios.com 4BF0672D7 X-Virus-Scanned: amavisd-new at efficios.com Received: from mail.efficios.com ([127.0.0.1]) by localhost (mail03.efficios.com [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id 2F_m9fVEaPh0; Tue, 15 Dec 2020 11:29:06 -0500 (EST) Received: from multivac.lan (96-127-212-112.qc.cable.ebox.net [96.127.212.112]) by mail.efficios.com (Postfix) with ESMTPSA id 25C3B760E; Tue, 15 Dec 2020 11:29:06 -0500 (EST) To: lttng-dev@lists.lttng.org Date: Tue, 15 Dec 2020 11:28:48 -0500 Message-Id: <20201215162850.78638-2-mjeanson@efficios.com> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20201215162850.78638-1-mjeanson@efficios.com> References: <20201215162850.78638-1-mjeanson@efficios.com> MIME-Version: 1.0 Subject: [lttng-dev] [PATCH urcu 2/4] Blacklist GCC 4.4.0, 4.4.1 and 4.4.2 on ARM X-BeenThere: lttng-dev@lists.lttng.org X-Mailman-Version: 2.1.31 Precedence: list List-Id: LTTng development list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Michael Jeanson via lttng-dev Reply-To: Michael Jeanson Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: lttng-dev-bounces@lists.lttng.org Sender: "lttng-dev" GCC added __sync_synchronize() in 4.4.0 but it was broken on ARM until 4.4.3, see the GCC bug report for more details : https://gcc.gnu.org/bugzilla/show_bug.cgi?id=42263 Signed-off-by: Michael Jeanson Change-Id: I629e3c8b4baaccb34b2311e220f30d0ad8b69a19 --- include/urcu/arch/arm.h | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/include/urcu/arch/arm.h b/include/urcu/arch/arm.h index 5d1c608..e904b06 100644 --- a/include/urcu/arch/arm.h +++ b/include/urcu/arch/arm.h @@ -70,6 +70,15 @@ extern "C" { # endif #endif +/* + * https://gcc.gnu.org/bugzilla/show_bug.cgi?id=42263 + */ +#ifdef URCU_GCC_VERSION +# if URCU_GCC_VERSION >= 40400 && URCU_GCC_VERSION <= 40402 +# error Your gcc version has a non-functional __sync_synchronize() +# endif +#endif + #ifdef __cplusplus } #endif -- 2.29.2 _______________________________________________ lttng-dev mailing list lttng-dev@lists.lttng.org https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev