* sparcv9 architecture
@ 2002-01-10 5:53 Paolo Narducci
0 siblings, 0 replies; only message in thread
From: Paolo Narducci @ 2002-01-10 5:53 UTC (permalink / raw)
To: binutils-help, gcc-help
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/
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2002-01-10 13:53 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-01-10 5:53 sparcv9 architecture Paolo Narducci
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).