On 10/14/18, 2:38 AM, "SPDK on behalf of Shahar Salzman"
<spdk-bounces(a)lists.01.org on behalf of shahar.salzman(a)kaminario.com&gt; wrote:
Hi,
Upgrading to dpdk 18.05+, I have "strict aliasing" errors again.
Added the following patch to dpdkbuild to use -fno-strict-aliasing for redhat/centos
6.
https://review.gerrithub.io/c/spdk/spdk/+/429356
Hi Shahar,
The issue you’ve observed is more of an issue with an unsupported compiler version, not
the Linux distribution. I think I would prefer something like
https://review.gerrithub.io/#/c/spdk/spdk/+/429489/. Then you could build SPDK using:
make EXTRA_DPDK_CFLAGS=”-fno-strict-aliasing”
This also makes it clearer that SPDK does not explicitly support building DPDK with the
older compiler version – since the user has to take extra steps to get it to work.
-Jim