Bug 718719

Summary: -Wl,-z,relro not compatible with precompiled headers
Product: [Fedora] Fedora Reporter: Dan Horák <dan>
Component: redhat-rpm-configAssignee: Panu Matilainen <pmatilai>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: jakub, jonathan, pmatilai
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: redhat-rpm-config-9.1.0-13.fc16 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-07-22 08:03:21 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Dan Horák 2011-07-04 12:19:55 UTC
I have found problem when the "relro" flags are combined with precompiled headers in a C++ project. It appeared in 2 project I maintain until now - Code::Block IDE and wxGTK library. I've described it in http://lists.fedoraproject.org/pipermail/devel/2011-July/153664.html but it's still without reaction. So my question is whether it is a bug in gcc (it should ignore the flags), libtool (it should filter them out) or somewhere else.

Version-Release number of selected component (if applicable):
gcc-4.6.1-1.fc16

Comment 1 Dan Horák 2011-07-22 08:03:21 UTC
system-wide LDFLAGS has been introduced