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

RE: Gcc4.0 & static links



Yes, I have 2.16.1-2. 

> -----Original Message-----
> From: Javier Kohen [mailto:jkohen@users.sourceforge.net] 
> Sent: Wednesday, July 13, 2005 2:52 PM
> To: debian-amd64@lists.debian.org
> Subject: 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
> 




Reply to: