From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id ct5cIy5d219MSQAAWB0awg (envelope-from ) for ; Thu, 17 Dec 2020 08:29:18 -0500 Received: by simark.ca (Postfix, from userid 112) id 8479B1F0AA; Thu, 17 Dec 2020 08:29:18 -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 CE89D1E965 for ; Thu, 17 Dec 2020 08:29:17 -0500 (EST) Received: from lists-lttng01.efficios.com (localhost [IPv6:::1]) by lists.lttng.org (Postfix) with ESMTP id 4CxXs918SLzFCq; Thu, 17 Dec 2020 08:29:17 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=lists.lttng.org; s=default; t=1608211757; bh=Pco+zXgarzym2d8vj8zu4oD1hL4TNPiRZ4xJWboNvPc=; h=Date:To:Cc:In-Reply-To:References:Subject:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From:Reply-To:From; b=jZArE+kP0/rn+Ci2oZbUCAZjle7xMGksSaYbnj+Iv/KLbCxQfEJj5gf5B6rALWhM9 ZO3o42ltHo90ovMy8rMRAvPJo2PQohhg+T7rH50186vzA0ip2LmftnZFzo3ymZjs3I PLp/GP23Y3IUwq22vwrmJNXWqbo5DQBfEp0v2LjRJqHVmDuMRWdWUSucxya/2XLRoz NrDPOK5mjPDOk2CBgfElpDfr4fAyvBFa5611nMwjgBx0HmDJmYmb9LRZEagfxSTIr4 RDQeM79+JLnbX8etdUCnDftP8FD+E7/lx+xwxelA6eGMRT5dq/efyHqTGJoA73SsXM Bx7yqtWtpSetQ== Received: from mail.efficios.com (mail.efficios.com [167.114.26.124]) by lists.lttng.org (Postfix) with ESMTPS id 4CxXs76GGYzFCp for ; Thu, 17 Dec 2020 08:29:14 -0500 (EST) Received: from localhost (localhost [127.0.0.1]) by mail.efficios.com (Postfix) with ESMTP id 6FFF02A2A28; Thu, 17 Dec 2020 08:29:08 -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 efdYhkPEyC0X; Thu, 17 Dec 2020 08:29:08 -0500 (EST) Received: from localhost (localhost [127.0.0.1]) by mail.efficios.com (Postfix) with ESMTP id 2557A2A2A27; Thu, 17 Dec 2020 08:29:08 -0500 (EST) DKIM-Filter: OpenDKIM Filter v2.10.3 mail.efficios.com 2557A2A2A27 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 qB_uOnNK-ukp; Thu, 17 Dec 2020 08:29:08 -0500 (EST) Received: from mail03.efficios.com (mail03.efficios.com [167.114.26.124]) by mail.efficios.com (Postfix) with ESMTP id 182932A2A26; Thu, 17 Dec 2020 08:29:08 -0500 (EST) Date: Thu, 17 Dec 2020 08:29:08 -0500 (EST) To: Michael Jeanson Cc: lttng-dev Message-ID: <1559988579.6528.1608211748013.JavaMail.zimbra@efficios.com> In-Reply-To: <20201215162850.78638-1-mjeanson@efficios.com> References: <20201215162850.78638-1-mjeanson@efficios.com> MIME-Version: 1.0 X-Originating-IP: [167.114.26.124] X-Mailer: Zimbra 8.8.15_GA_3980 (ZimbraWebClient - FF83 (Linux)/8.8.15_GA_3980) Thread-Topic: Cleanup: Move ARM specific code to urcu/arch/arm.h Thread-Index: OnzKp7jYdxketxr3PZjqEui/vO2sow== Subject: Re: [lttng-dev] [PATCH urcu 1/4] Cleanup: Move ARM specific code to urcu/arch/arm.h 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: Mathieu Desnoyers via lttng-dev Reply-To: Mathieu Desnoyers Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: lttng-dev-bounces@lists.lttng.org Sender: "lttng-dev" Merged in liburcu master, thanks! Mathieu ----- On Dec 15, 2020, at 11:28 AM, Michael Jeanson mjeanson@efficios.com wrote: > Change-Id: I3e17308c5ae985789a2ac8361e9c9e958ff7d656 > Signed-off-by: Michael Jeanson > --- > include/urcu/arch/arm.h | 13 +++++++++++++ > include/urcu/compiler.h | 13 ------------- > 2 files changed, 13 insertions(+), 13 deletions(-) > > diff --git a/include/urcu/arch/arm.h b/include/urcu/arch/arm.h > index cb8f28d..5d1c608 100644 > --- a/include/urcu/arch/arm.h > +++ b/include/urcu/arch/arm.h > @@ -57,6 +57,19 @@ extern "C" { > #define __NR_membarrier 389 > #endif > > +/* > + * Error out for compilers with known bugs. > + */ > + > +/* > + * http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58854 > + */ > +#ifdef URCU_GCC_VERSION > +# if URCU_GCC_VERSION >= 40800 && URCU_GCC_VERSION <= 40802 > +# error Your gcc version produces clobbered frame accesses > +# endif > +#endif > + > #ifdef __cplusplus > } > #endif > diff --git a/include/urcu/compiler.h b/include/urcu/compiler.h > index 511dbdf..4806ee3 100644 > --- a/include/urcu/compiler.h > +++ b/include/urcu/compiler.h > @@ -108,23 +108,10 @@ > > #define CAA_ARRAY_SIZE(x) (sizeof(x) / sizeof((x)[0])) > > -/* > - * Don't allow compiling with buggy compiler. > - */ > - > #ifdef __GNUC__ > # define URCU_GCC_VERSION (__GNUC__ * 10000 \ > + __GNUC_MINOR__ * 100 \ > + __GNUC_PATCHLEVEL__) > - > -/* > - * http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58854 > - */ > -# ifdef __ARMEL__ > -# if URCU_GCC_VERSION >= 40800 && URCU_GCC_VERSION <= 40802 > -# error Your gcc version produces clobbered frame accesses > -# endif > -# endif > #endif > > #endif /* _URCU_COMPILER_H */ > -- > 2.29.2 -- Mathieu Desnoyers EfficiOS Inc. http://www.efficios.com _______________________________________________ lttng-dev mailing list lttng-dev@lists.lttng.org https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev