This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug bootstrap/64561] New: [5 Regression] HAVE_LD_PIE_COPYRELOC is defined to 1 for broken linker
- From: "hjl.tools at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 12 Jan 2015 00:42:49 +0000
- Subject: [Bug bootstrap/64561] New: [5 Regression] HAVE_LD_PIE_COPYRELOC is defined to 1 for broken linker
- Auto-submitted: auto-generated
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64561
Bug ID: 64561
Summary: [5 Regression] HAVE_LD_PIE_COPYRELOC is defined to 1
for broken linker
Product: gcc
Version: 5.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: bootstrap
Assignee: unassigned at gcc dot gnu.org
Reporter: hjl.tools at gmail dot com
When GCC is configured with linker without the bug fix for
https://sourceware.org/bugzilla/show_bug.cgi?id=17827
it may define HAVE_LD_PIE_COPYRELOC to 1 and generate GCC
which will fail to generate working executable as show in
the bug report above. The fix is to incorporate the updated
testcase in
https://sourceware.org/ml/binutils-cvs/2015-01/msg00117.html
into the linker feature check.