Bug#584607: libc6: autoconf configure scripts hang at "checking whether a statically linked program can dlopen itself"
reassign 584607 binutils-gold
On Sat, Jun 05, 2010 at 12:02:47AM -0300, Nicolás Alvarez wrote:
> On 6/4/10, Clint Adams <firstname.lastname@example.org> wrote:
> > On Fri, Jun 04, 2010 at 11:01:11PM -0300, Nicolás Alvarez wrote:
> >> gcc -o conftest -g -O2 -DHAVE_DLFCN_H -Wl,--export-dynamic -static
> >> conftest.c -ldl
> > % gcc -o conftest -g -O2 -DHAVE_DLFCN_H -Wl,--export-dynamic -static
> > conftest.c -ldl
> > /tmp/cc5vF3ae.o: In function `main':
> > /tmp/conftest.c:56: warning: Using 'dlopen' in statically linked
> > applications requires at runtime the shared libraries from the glibc version
> > used for linking
> > /usr/bin/ld: dynamic STT_GNU_IFUNC symbol `strcmp' with pointer equality in
> > `/usr/lib/gcc/x86_64-linux-gnu/4.4.4/../../../../lib/libc.a(strcmp.o)' can
> > not be used when making an executable; recompile with -fPIE and relink with
> > -pie
> > collect2: ld returned 1 exit status
> > What gcc and binutils are you using?
> gcc (Debian 4.4.4-1) 4.4.4
> GNU gold (GNU Binutils for Debian 2.20.1-system.20100303) 1.9
This is definitely a bug of binutils-gold, which doesn't seem to cope
well with STT_GNU_IFUNC symbols. The problem doesn't exists for a glibc
built without multiarch support.
I advise you to uninstall this package until the bug is fixed. Meanwhile
I am reassigning the bug to binutils-gold.
Aurelien Jarno GPG: 1024D/F1BCDB73