Re: [dpdk-dev] [PATCH v2 1/3] net/thunderx: disable pmd for older compilers

2017-04-06 Thread Ferruh Yigit
On 4/6/2017 3:09 PM, Thomas Monjalon wrote: > 2017-04-06 15:05, Ferruh Yigit: >> On 4/6/2017 2:59 PM, Thomas Monjalon wrote: >>> 2017-04-06 14:46, Ferruh Yigit: --- a/mk/toolchain/gcc/rte.toolchain-compat.mk +++ b/mk/toolchain/gcc/rte.toolchain-compat.mk @@ -89,4 +89,8 @@ else

Re: [dpdk-dev] [PATCH v2 1/3] net/thunderx: disable pmd for older compilers

2017-04-06 Thread Thomas Monjalon
2017-04-06 15:05, Ferruh Yigit: > On 4/6/2017 2:59 PM, Thomas Monjalon wrote: > > 2017-04-06 14:46, Ferruh Yigit: > >> --- a/mk/toolchain/gcc/rte.toolchain-compat.mk > >> +++ b/mk/toolchain/gcc/rte.toolchain-compat.mk > >> @@ -89,4 +89,8 @@ else > >>ifeq ($(shell test $(GCC_VERSION) -lt 42 && e

Re: [dpdk-dev] [PATCH v2 1/3] net/thunderx: disable pmd for older compilers

2017-04-06 Thread Ferruh Yigit
On 4/6/2017 2:59 PM, Thomas Monjalon wrote: > 2017-04-06 14:46, Ferruh Yigit: >> --- a/mk/toolchain/gcc/rte.toolchain-compat.mk >> +++ b/mk/toolchain/gcc/rte.toolchain-compat.mk >> @@ -89,4 +89,8 @@ else >> ifeq ($(shell test $(GCC_VERSION) -lt 42 && echo 1), 1) >> MACHINE_CFLAGS

Re: [dpdk-dev] [PATCH v2 1/3] net/thunderx: disable pmd for older compilers

2017-04-06 Thread Thomas Monjalon
2017-04-06 14:46, Ferruh Yigit: > --- a/mk/toolchain/gcc/rte.toolchain-compat.mk > +++ b/mk/toolchain/gcc/rte.toolchain-compat.mk > @@ -89,4 +89,8 @@ else > ifeq ($(shell test $(GCC_VERSION) -lt 42 && echo 1), 1) > MACHINE_CFLAGS := $(filter-out -march% -mtune% > -msse%,$(MACHI

[dpdk-dev] [PATCH v2 1/3] net/thunderx: disable pmd for older compilers

2017-04-06 Thread Ferruh Yigit
Disable for gcc < 4.7 and icc <= 14.0 PMD uses some compiler builtins and new compiler options. Tested with gcc 4.5.1 and following were not supported: option: -Ofast macros: _Static_assert __ORDER_LITTLE_ENDIAN__ __ORDER_BIG_ENDIAN__ __BYTE_ORDER__ __atomic_fetch_add __ATOMIC_ACQUIRE __atomic