[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Gcc4.0 & static links



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

Any ideas?

	thanks,
		ray




Reply to: