Login
Log in using an SSO provider:
Fedora Account System
Red Hat Associate
Red Hat Customer
Login using a Red Hat Bugzilla account
Forgot Password
Create an Account
Red Hat Bugzilla – Attachment 1699282 Details for
Bug 1851629
dpdk Hello World example from dpdk-examples package fails to compile
Home
New
Search
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh90 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
[?]
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
patch to pass -fpie and -pie to the compiler and linker for applications
app-pie-additional-fix.patch (text/plain), 1.31 KB, created by
Neil Horman
on 2020-06-30 10:56:55 UTC
(
hide
)
Description:
patch to pass -fpie and -pie to the compiler and linker for applications
Filename:
MIME Type:
Creator:
Neil Horman
Created:
2020-06-30 10:56:55 UTC
Size:
1.31 KB
patch
obsolete
>diff -up ./mk/exec-env/linuxapp/rte.vars.mk.piefix ./mk/exec-env/linuxapp/rte.vars.mk >--- ./mk/exec-env/linuxapp/rte.vars.mk.piefix 2019-06-11 12:44:31.000000000 -0400 >+++ ./mk/exec-env/linuxapp/rte.vars.mk 2020-06-28 19:51:50.211642901 -0400 >@@ -12,8 +12,12 @@ > # examples for RTE_EXEC_ENV: linuxapp, bsdapp > # > ifeq ($(CONFIG_RTE_BUILD_SHARED_LIB),y) >+ifeq ($(APP),) > EXECENV_CFLAGS = -pthread -fPIC > else >+EXECENV_CFLAGS = -pthread -fpie >+endif >+else > EXECENV_CFLAGS = -pthread > endif > >diff -up ./mk/rte.app.mk.piefix ./mk/rte.app.mk >--- ./mk/rte.app.mk.piefix 2020-06-28 19:51:31.576697443 -0400 >+++ ./mk/rte.app.mk 2020-06-28 19:51:50.211642901 -0400 >@@ -353,10 +353,18 @@ build: _postbuild > exe2cmd = $(strip $(call dotfile,$(patsubst %,%.cmd,$(1)))) > > ifeq ($(LINK_USING_CC),1) >-O_TO_EXE = $(CC) -o $@ $(CFLAGS) $(EXTRA_CFLAGS) $(OBJS-y) $(call linkerprefix, \ >+ >+ifneq ($(APP),) >+O_TO_EXE = $(CC) -o $@ -pie $(CFLAGS) $(EXTRA_CFLAGS) $(OBJS-y) $(call linkerprefix, \ > $(LDLIBS) $(LDFLAGS) $(LDFLAGS_$(@)) $(EXTRA_LDFLAGS) \ > $(MAPFLAGS)) > else >+O_TO_EXE = $(CC) -o $@ $(CFLAGS) $(EXTRA_CFLAGS) $(OBJS-y) $(call linkerprefix, \ >+ $(LDLIBS) $(LDFLAGS) $(LDFLAGS_$(@)) $(EXTRA_LDFLAGS) \ >+ $(MAPFLAGS)) >+endif >+ >+else > O_TO_EXE = $(LD) -o $@ $(OBJS-y) \ > $(LDLIBS) $(LDFLAGS) $(LDFLAGS_$(@)) $(EXTRA_LDFLAGS) \ > $(MAPFLAGS)
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 1851629
: 1699282