From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matthew Hall Subject: clang build failing in v2.0.0 from poisoned symbols Date: Thu, 18 Jun 2015 20:37:46 -0700 Message-ID: <20150619033746.GA24292@mhcomputing.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii To: dev@dpdk.org 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) Content-Disposition: inline List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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