Bug 1768405 - Use hardening specs to build dpdk-pmdinfogen
Summary: Use hardening specs to build dpdk-pmdinfogen
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: dpdk
Version: 31
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
Assignee: Timothy Redaelli
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-11-04 11:13 UTC by Timothy Redaelli
Modified: 2019-11-04 11:17 UTC (History)
5 users (show)

Fixed In Version: dpdk-18.11.2-5.fc32
Clone Of: 1755538
Environment:
Last Closed: 2019-11-04 11:17:28 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

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):


Note You need to log in before you can comment on or make changes to this bug.