This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: [Various] libc/2505: "undefined referenced" errors in libc.so.6
- To: Andreas Jaeger <aj at suse dot de>
- Subject: Re: [Various] libc/2505: "undefined referenced" errors in libc.so.6
- From: "H . J . Lu" <hjl at lucon dot org>
- Date: Fri, 31 Aug 2001 08:45:40 -0700
- Cc: libc-alpha at sources dot redhat dot com, jrh29 at po dot cwru dot edu
- References: <u8y9o0o462.fsf@gromit.moeb>
On Fri, Aug 31, 2001 at 01:32:53PM +0200, Andreas Jaeger wrote:
> as -V -Qy -o /tmp/cc5Py0UJ.o /tmp/cc2Xrkn8.s
> GNU assembler version 2.11.2 (i686-pc-linux-gnu) using BFD version 2.11.2
> /usr/lib/gcc-lib/i686-pc-linux-gnu/2.95.3/collect2 -m elf_i386
> -dynamic-linker /lib/ld-linux.so.2 /usr/lib/crt1.o /usr/lib/crti.o
> /usr/lib/gcc-lib/i686-pc-linux-gn
> in.o -L/usr/lib/gcc-lib/i686-pc-linux-gnu/2.95.3 /tmp/cc5Py0UJ.o -lgcc
> -lc -lgcc /usr/lib/gcc-lib/i686-pc-linux-gnu/2.95.3/crtend.o /usr/lib/crtn.o
> /lib/libc.so.6: undefined reference to `_dl_debug_mask@GLIBC_2.2.3'
> /lib/libc.so.6: undefined reference to `_dl_debug_printf@GLIBC_2.2.3'
> collect2: ld returned 1 exit status
It sounds like a linker bug. Linker shouldn't complain the undefined
symbols in a DSO used for linking.
H.J.