[dpdk-dev] [PATCH] net: fix build with gcc 4.4.7 and strict aliasing

2015-11-25 Thread Thomas Monjalon
2015-11-25 18:00, Ananyev, Konstantin: > > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Daniel Mrzyglod > > Sent: Tuesday, November 24, 2015 3:13 PM > > To: dev at dpdk.org > > Subject: [dpdk-dev] [PATCH] net: fix build with gcc 4.4.7 and strict > > ali

[dpdk-dev] [PATCH] net: fix build with gcc 4.4.7 and strict aliasing

2015-11-25 Thread Ananyev, Konstantin
> From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Daniel Mrzyglod > Sent: Tuesday, November 24, 2015 3:13 PM > To: dev at dpdk.org > Subject: [dpdk-dev] [PATCH] net: fix build with gcc 4.4.7 and strict aliasing > > This is fix for GCC 4.4.7. > flag "-fstric

[dpdk-dev] [PATCH] net: fix build with gcc 4.4.7 and strict aliasing

2015-11-24 Thread Daniel Mrzyglod
This is fix for GCC 4.4.7. flag "-fstrict-aliasing" is default for optimalisation above -O0. Fixes: 2b039d5f20a3 ("net: fix build with gcc 4.4.7 and strict aliasing") Signed-off-by: Daniel Mrzyglod --- lib/librte_net/rte_ip.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a

[dpdk-dev] [PATCH] net: fix build with gcc 4.4.7 and strict aliasing

2015-11-24 Thread Bruce Richardson
On Tue, Nov 24, 2015 at 03:47:28PM +, Mrzyglod, DanielX T wrote: > This error fix this situation for IPv6 checksum offload error on RHEL65 > Any optimalisation above -O0 provide error in IPv6 checksum > > > Step 1 : start testpmd > ./x86_64-native-linuxapp-gcc/app/testpmd -c 0x6 -n 4 -- -i -

[dpdk-dev] [PATCH] net: fix build with gcc 4.4.7 and strict aliasing

2015-11-24 Thread Mrzyglod, DanielX T
This error fix this situation for IPv6 checksum offload error on RHEL65 Any optimalisation above -O0 provide error in IPv6 checksum Step 1 : start testpmd ./x86_64-native-linuxapp-gcc/app/testpmd -c 0x6 -n 4 -- -i --portmask=0x3 --disable-hw-vlan --enable-rx-cksum --crc-strip --txqflags=0 Step