From 06fb47f3c31055ef1b65ccb16adcecdf7b8e23db349849fa71846f54dd8ede41 Mon Sep 17 00:00:00 2001 From: Nirmoy Das Date: Fri, 15 Mar 2019 12:07:02 +0000 Subject: [PATCH] Accepting request 683764 from home:ndas:branches:network - 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" - 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" OBS-URL: https://build.opensuse.org/request/show/683764 OBS-URL: https://build.opensuse.org/package/show/network/dpdk?expand=0&rev=98 --- dpdk-thunderx.changes | 7 +++++++ dpdk-thunderx.spec | 4 +--- dpdk.changes | 7 +++++++ dpdk.spec | 4 +--- 4 files changed, 16 insertions(+), 6 deletions(-) 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