ld error

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

 



Hi,

I am trying to install Simplescalar tool using gcc 2.95 and gcc3.3.6
(because the tool won't even compile with any newer version of gcc) and I
get the following error from ld:

/usr/bin/ld: errno: TLS definition in /lib/libc.so.6 section .tbss
mismatches non-TLS reference in eval.o
/lib/libc.so.6: could not read symbols: Bad value
collect2: ld returned 1 exit status

I noted that lib.so.6 is linked to libc-2.4.so in this machine, which runs
Suse 10.1. However, on a different machine which runs Suse 10.0, lib.so.6 is
linked to libc-2.3.5.so and the same installation takes place successfully
with gcc3.3.2. My system has gcc 4.1 by the default installation of packages
from the Suse 10.1 installer dvd and I installed gcc 2.95 using rpm
installer and I built gcc 3.3.6 (after I saw that the installation was
failing with gcc 2.95)  but I am not sure if I am required to build an
earlier version of glibc or what?

Another bit of information which might be relevant to this is that I
installed SUIF on this machine using gcc 2.95 and the installation was
successful.

regards,
-- 
View this message in context: http://www.nabble.com/ld-error-tf2382333.html#a6639539
Sent from the gcc - Help mailing list archive at Nabble.com.


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux