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

Re: Gcc4.0 & static links



El mié, 13-07-2005 a las 14:46 -0400, Ray Lanza escribió:
> 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?

Have you upgraded binutils to 2.16.1 as well?

Greetings,
-- 
Javier Kohen <jkohen@users.sourceforge.net>
ICQ: blashyrkh #2361802
Jabber: jkohen@jabber.org

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: