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: [email protected]
ReportedBy: [email protected]
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