This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug bootstrap/46039] New: GCC 4.6 fails to bootstrap or compile at all with gold linker
- From: "adam.rak at streamnovation dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 15 Oct 2010 20:46:23 +0000
- Subject: [Bug bootstrap/46039] New: GCC 4.6 fails to bootstrap or compile at all with gold linker
- Auto-submitted: auto-generated
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46039
Summary: GCC 4.6 fails to bootstrap or compile at all with gold
linker
Product: gcc
Version: 4.6.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: bootstrap
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: adam.rak@streamnovation.com
Created attachment 22056
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=22056
preprocessed version of the conftest which hangs
When GCC starts configuring the libstdc++, it runs the conftest:
"checking whether a statically linked program can dlopen itself..."
which hangs.
I tried gcc-4.3 and gcc-4.4 and gcc-4.6 as a compiler for the conftest and all
hanged when I used gold.
in order to reproduce the bug:
gcc -o conftest -g -O2 -Wl,--export-dynamic -static conftest.ii.c -ldl
gold version:
GNU gold (GNU Binutils for Debian 2.20.1-system.20100303) 1.9