From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.mhcomputing.net (master.mhcomputing.net [74.208.46.186]) by dpdk.org (Postfix) with ESMTP id A64ACC65E for ; Fri, 19 Jun 2015 05:40:19 +0200 (CEST) Received: by mail.mhcomputing.net (Postfix, from userid 1000) id 52ACC80C502; Thu, 18 Jun 2015 20:37:46 -0700 (PDT) Date: Thu, 18 Jun 2015 20:37:46 -0700 From: Matthew Hall To: dev@dpdk.org Message-ID: <20150619033746.GA24292@mhcomputing.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.23 (2014-03-12) Subject: [dpdk-dev] clang build failing in v2.0.0 from poisoned symbols X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Jun 2015 03:40:20 -0000 Hi all, I am getting some odd behavior compiling the DPDK v2.0.0 tag with clang: /* deprecated options */ #pragma GCC poison RTE_MBUF_SCATTER_GATHER #pragma GCC poison RTE_MBUF_REFCNT In file included from dpdk/lib/librte_mbuf/rte_mbuf.c:58: dpdk/lib/librte_mbuf/rte_mbuf.h:68:20: error: poisoning existing macro [-Werror] So I was reading about all of this and it was clear what poisoning is for, but it wasn't as clear what I should do about this error on the clang side. I tried searching the archive for "clang poison" but I didn't get much. Any advice for this? Thanks, Matthew