When using gold (Last tested version: GNU gold (Linux/GNU Binutils 2.20.51.0.9.20100526) 1.9), the check done in various autoconf scripts (checking whether a statically linked program can dlopen itself) hangs forever, with conftest taking up 100% CPU time.
Switching the linker to the old ld fixes it. More information on the issue (including the theory that it is related to gold's handling of STT_GNU_IFUNC symbols) can be found at: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=584607 -- Summary: Statically linked programs trying to dlopen themselves hang when linked with gold Product: binutils Version: 2.20 Status: NEW Severity: normal Priority: P2 Component: gold AssignedTo: ian at airs dot com ReportedBy: bero at arklinux dot org CC: bug-binutils at gnu dot org GCC build triplet: x86_64-unknown-linux-gnu GCC host triplet: x86_64-unknown-linux-gnu GCC target triplet: x86_64-unknown-linux-gnu http://sourceware.org/bugzilla/show_bug.cgi?id=11694 ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is. _______________________________________________ bug-binutils mailing list bug-binutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-binutils