From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25824 invoked by alias); 10 Jan 2002 13:53:54 -0000 Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org Received: (qmail 25788 invoked from network); 10 Jan 2002 13:53:53 -0000 Received: from unknown (HELO web10103.mail.yahoo.com) (216.136.130.53) by sources.redhat.com with SMTP; 10 Jan 2002 13:53:53 -0000 Message-ID: <20020110135352.69909.qmail@web10103.mail.yahoo.com> Received: from [212.177.57.193] by web10103.mail.yahoo.com via HTTP; Thu, 10 Jan 2002 14:53:52 CET Date: Thu, 10 Jan 2002 05:53:00 -0000 From: =?iso-8859-1?q?Paolo=20Narducci?= Subject: sparcv9 architecture To: binutils-help@sources.redhat.com, gcc-help@gcc.gnu.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-SW-Source: 2002-01/txt/msg00102.txt.bz2 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/