sparcv9 architecture
Paolo Narducci
paolo_np13@yahoo.com
Thu Jan 10 06:43:00 GMT 2002
Hi everybody,
using gcc 3.0.3 (Configured with: ./configure
--host=sparcv9-sun-solaris2.8 --enable-threads=solaris
--prefix=/opt/gnu64 --with-gnu-ld --with-gnu-as)
and binutils 2.11.2 (Configured with: ./configure
--host=sparcv9-sun-solaris2.8 --prefix=/opt/gnu64), I
get this error during de link:
"gcc -o prova prova.c
/usr/lib/libdl.so.1: could not read symbols: Invalid
operation
collect2: ld returned 1 exit status"
using de file command I get:
"file /usr/lib/libdl.so
/usr/lib/libdl.so: ELF 32-bit MSB dynamic lib
SPARC Version 1, dynamically linked, not stripped" :-(
I don't have this problem if I do this way:
"gcc -Wl,-rpath -Wl,/usr/lib/sparcv9 -o prova prova.c"
Do you think that this a bug or not?
I'd expect that the linker uses automatically the
correct library for the sparcv9 architecture!
Thanks in advance
Paolo Narducci
______________________________________________________________________
Iscriviti al gruppo ufficiale di Tomb Raider:
http://it.groups.yahoo.com/group/gruppoufficiale_tombraider/
More information about the Binutils
mailing list