Re: Gcc4.0 & static links
On Wed, Jul 13, 2005 at 02:46:33PM -0400, Ray Lanza wrote:
> I haven't been able to do a static link since sid was upgraded to gcc4.0. I
> get the following message.
>
> fo% cc -o hello -static hello.c
> /usr/bin/ld: __libc_errno: TLS definition in
> /usr/lib/gcc/x86_64-linux-gnu/4.0.1/../../../../lib64/libc.a(errno.o)
> section .tbss mismatches non-TLS reference in
> /usr/lib/gcc/x86_64-linux-gnu/4.0.1/../../../../lib64/libc.a(check_fds.o)
> /usr/lib/gcc/x86_64-linux-gnu/4.0.1/../../../../lib64/libc.a: could not read
> symbols: Bad value
> collect2: ld returned 1 exit status
This is bugs.debian.org/317946
It actually a bug in glibc found by a newer version of binutils,
and has nothing to do with the new gcc version.
Kurt
Reply to: