Bug 1768405

Summary: Use hardening specs to build dpdk-pmdinfogen
Product: [Fedora] Fedora Reporter: Timothy Redaelli <tredaelli>
Component: dpdkAssignee: Timothy Redaelli <tredaelli>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: 31CC: aconole, fleitner, linville, nhorman, tredaelli
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: dpdk-18.11.2-5.fc32 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1755538 Environment:
Last Closed: 2019-11-04 11:17:28 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Timothy Redaelli 2019-11-04 11:13:08 UTC
Description of problem:

In the last dpdk package release, it was identified that dpdk-pmdinfogen is not built with hardening specs.

628 gcc -Wp,-MD,./.pmdinfogen.o.d.tmp -W -Wall -Wstrict-prototypes
-Wmissing-prototypes -Wmissing-declarations -Wold-style-definition
-Wpointer-arith -Wcast-align -Wnested-externs -Wcast-qual
-Wformat-nonliteral -Wformat-security -Wundef -Wwrite-strings
-Wdeprecated -Wimplicit-fallthrough=2 -Wno-format-truncation -g
-I/builddir/build/BUILD/dpdk-s table-18.11.2/x86_64-native-linuxapp-gcc/include
-O2 -g -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2
-Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong
-grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1
-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic
-fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection
-Wformat -fPIC -Wl,-z,now
-specs=/usr/lib/rpm/redhat/redhat-hardened-ld -pie -o pmdinfogen.o -c
/builddir/build/BUILD/dpdk-stable-18.11.2/buildtools/pmdinfogen/pmdinfogen.c
629 gcc -Wl,-z,relro -Wl,-z,now -o dpdk-pmdinfogen pmdinfogen.o


Version-Release number of selected component (if applicable):