Bug 14061 - Fix -fPIE casing
Summary: Fix -fPIE casing
Status: NEW
Alias: None
Product: CifsVFS
Classification: Unclassified
Component: user space tools (show other bugs)
Version: 3.x
Hardware: All All
: P5 normal
Target Milestone: ---
Assignee: Jeff Layton
QA Contact: cifs QA contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-07-30 22:07 UTC by Mathieu Parent
Modified: 2020-07-16 00:12 UTC (History)
2 users (show)

See Also:


Attachments
Proposed fix (747 bytes, patch)
2019-07-30 22:07 UTC, Mathieu Parent
no flags Details
Proposed fix (747 bytes, patch)
2019-07-30 22:08 UTC, Mathieu Parent
sathieu: review? (sfrench)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mathieu Parent 2019-07-30 22:07:04 UTC
Created attachment 15347 [details]
Proposed fix

-fpie seems to work, but bhlc complains that -fPIE is missing

See https://salsa.debian.org/samba-team/cifs-utils/-/jobs/245791:

449:LDFLAGS missing (-fPIE): gcc -Wall -Wextra -D_FORTIFY_SOURCE=2 -fpie -pie -Wl,-z,relro,-z,now -g -O2 -fdebug-prefix-map=/builds/samba-team/cifs-utils/debian/output/cifs-utils-6.8=. -fstack-protector-strong -Wformat -Werror=format-security  -Wl,-z,relro -o setcifsacl setcifsacl.o idmap_plugin.o -ldl
Comment 1 Mathieu Parent 2019-07-30 22:08:41 UTC
Created attachment 15348 [details]
Proposed fix