On 3/19/10 6:10 PM, Bernhard Rosenkraenzer wrote:
Hi, with current eglibc trunk on x86_64 linux, the dlopen(0, LD_DLGLOBAL|RTLD_LAZY) call [used by binutils' configure script to check whether a statically linked application can dlopen itself] hangs forever, eating up 100% CPU. The attached sample program, when built with gcc -static -o conftest conftest.c -ldl shows the issue.
I cannot reproduce this issue on my system. Would you please attach preprocessed conftest.i (add `-save-temps' to the command line) and the symbol map that the linker generates (add `-Wl,-Map=conftest.map' to the command line).
Thank you, -- Maxim Kuvyrkov CodeSourcery maxim@xxxxxxxxxxxxxxxx (650) 331-3385 x724