Bug 1541062

Summary: genwqe-tools: Fedora build flags only applied partially
Product: [Fedora] Fedora Reporter: Florian Weimer <fweimer>
Component: genwqe-toolsAssignee: Than Ngo <than>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: rdossant, than
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-02-05 14:11:42 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1539083    

Description Florian Weimer 2018-02-01 15:50:19 UTC
Various binaries (/usr/bin/genwqe_cksum, /usr/bin/genwqe_csv2vpd etc.) were not linked with the Fedora linker flags (LDFLAGS) from redhat-rpm-config.

I tried to fix this in genwqe-tools-4.0.20, but the LDFLAGS value is not passed down to the actual linker invocation, hence this bug report.

Example linker invocation with missing Fedora build flags (-Wl,-z,relro -Wl,-z,now etc):

gcc -m64 genwqe_gunzip.o  ../lib/libzADC.a -ldl	 ../lib/libDDCB.a ../lib/libzHW.a ../lib/libcard.a -lpthread -lrt -o genwqe_gunzip

Comment 1 Than Ngo 2018-02-05 14:11:42 UTC
it's fixed in genwqe-tools-4.0.20-3.fc28