SHA256
1
0
forked from pool/dpdk

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
This commit is contained in:
Nirmoy Das 2019-03-15 12:07:02 +00:00 committed by Git OBS Bridge
parent c7e1becf70
commit 06fb47f3c3
4 changed files with 16 additions and 6 deletions

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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