diff --git a/dpdk-thunderx.changes b/dpdk-thunderx.changes index 64c9d44..eca95f7 100644 --- a/dpdk-thunderx.changes +++ b/dpdk-thunderx.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Fri Mar 8 11:50:03 CET 2019 - ndas@suse.de + +- remove -Wno-error=array-bounds as its no longer needed +- Add -U_FORTIFY_SOURCE to fix gcc8 error: + "error: inlining failed in call to always_inline 'memcpy': target specific option mismatch" + ------------------------------------------------------------------- Fri Feb 22 10:57:13 CET 2019 - ndas@suse.de diff --git a/dpdk-thunderx.spec b/dpdk-thunderx.spec index 6a873d0..5a29014 100644 --- a/dpdk-thunderx.spec +++ b/dpdk-thunderx.spec @@ -217,9 +217,7 @@ function setdefaultconf() # In case dpdk-devel is installed, we should ignore its hints about the SDK directories unset RTE_SDK RTE_INCLUDE RTE_TARGET -# For the release, '-Wno-error=array-bounds' is done to prevent a spurious error -# generated by gcc 5.X against the 2.1 branch -export EXTRA_CFLAGS="%{optflags} -Wformat -fPIC -Wno-error=array-bounds" +export EXTRA_CFLAGS="%{optflags} -Wformat -fPIC -U_FORTIFY_SOURCE" # DPDK defaults to using builder-specific compiler flags. However, # the config has been changed by specifying CONFIG_RTE_MACHINE=default diff --git a/dpdk.changes b/dpdk.changes index 64c9d44..eca95f7 100644 --- a/dpdk.changes +++ b/dpdk.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Fri Mar 8 11:50:03 CET 2019 - ndas@suse.de + +- remove -Wno-error=array-bounds as its no longer needed +- Add -U_FORTIFY_SOURCE to fix gcc8 error: + "error: inlining failed in call to always_inline 'memcpy': target specific option mismatch" + ------------------------------------------------------------------- Fri Feb 22 10:57:13 CET 2019 - ndas@suse.de diff --git a/dpdk.spec b/dpdk.spec index f92f151..ce69580 100644 --- a/dpdk.spec +++ b/dpdk.spec @@ -215,9 +215,7 @@ function setdefaultconf() # In case dpdk-devel is installed, we should ignore its hints about the SDK directories unset RTE_SDK RTE_INCLUDE RTE_TARGET -# For the release, '-Wno-error=array-bounds' is done to prevent a spurious error -# generated by gcc 5.X against the 2.1 branch -export EXTRA_CFLAGS="%{optflags} -Wformat -fPIC -Wno-error=array-bounds" +export EXTRA_CFLAGS="%{optflags} -Wformat -fPIC -U_FORTIFY_SOURCE" # DPDK defaults to using builder-specific compiler flags. However, # the config has been changed by specifying CONFIG_RTE_MACHINE=default