[dpdk-dev] clang build failing in v2.0.0 from poisoned symbols

2015-06-19 Thread Bruce Richardson
On Thu, Jun 18, 2015 at 09:31:02PM -0700, Matthew Hall wrote: > On Thu, Jun 18, 2015 at 08:37:46PM -0700, Matthew Hall wrote: > > dpdk/lib/librte_mbuf/rte_mbuf.h:68:20: error: poisoning existing macro > > [-Werror] > > Hi all, > > I finally figured out what happened. My older DPDK build configur

[dpdk-dev] clang build failing in v2.0.0 from poisoned symbols

2015-06-18 Thread Matthew Hall
On Thu, Jun 18, 2015 at 08:37:46PM -0700, Matthew Hall wrote: > dpdk/lib/librte_mbuf/rte_mbuf.h:68:20: error: poisoning existing macro > [-Werror] Hi all, I finally figured out what happened. My older DPDK build configuration file had defined the poisoned macros to try to enable the features th

[dpdk-dev] clang build failing in v2.0.0 from poisoned symbols

2015-06-18 Thread Matthew Hall
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: poisoni