From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from baldric (baldric.uwo.ca [129.100.10.225]) by dsl2.external.hp.com (Postfix) with ESMTP id 013A84840 for ; Sun, 14 Dec 2003 15:23:34 -0700 (MST) Date: Sun, 14 Dec 2003 17:16:29 -0500 From: Carlos O'Donell To: Helge Deller Subject: Re: [parisc-linux] strange GNU ld / libgcc_s.so problems Message-ID: <20031214221629.GZ13882@systemhalted> References: <200312141209.28283.deller@gmx.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: <200312141209.28283.deller@gmx.de> Cc: parisc-linux@lists.parisc-linux.org List-Id: parisc-linux developers list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Sun, Dec 14, 2003 at 12:11:07PM +0100, Helge Deller wrote: > Below is the output and I don't understand the part which I marked with "######". > Why does collect2 suddenly tries to resolve libstdc++.so while it searched for > libgcc_s.so ? All other libraries (e.g.-lutil) behave IMHO normal. > Any ideas ? This seems to me like a bug in gcc 3.3.2, but I'm no expert here. > ... SNIP ... > attempt to open /usr/X11R6/lib/libgcc_s.so failed > attempt to open /usr/X11R6/lib/libgcc_s.a failed > attempt to open /opt/kde/qt/lib/libgcc_s.so failed > attempt to open /opt/kde/qt/lib/libgcc_s.a failed > attempt to open /opt/kde/lib/libgcc_s.so failed > attempt to open /opt/kde/lib/libgcc_s.a failed > attempt to open /usr/lib/libgcc_s.so succeeded > -lgcc_s (//usr/lib/libstdc++.so: undefined reference to `_Unwind_SjLj_Resume@GCC_3.0' > /usr/lib/libstdc++.so: undefined reference to `_Unwind_SjLj_Register@GCC_3.0' > /usr/lib/libstdc++.so: undefined reference to `_Unwind_SjLj_RaiseException@GCC_3.0' > /usr/lib/libstdc++.so: undefined reference to `_Unwind_SjLj_Unregister@GCC_3.0' > /usr/lib/libstdc++.so: undefined reference to `_Unwind_SjLj_Resume_or_Rethrow@GCC_3.3' > usr/lib/libgcc_s.so) > > ##### ^^^ Why does /usr/lib/libstdc++.so comes into the game here ? > ##### The double "//" seems suspect too, since it continues with "usr/lib/libgcc_s.so" > ##### in the last line without the trailing "/". It seems this "string" was broken up > ##### right in the middle.... Where did that file come from? Is this a debian box? You should have: /usr/lib/gcc-lib/hppa-linux//libgcc_s.so pointing to /lib/libgcc_s.so I suggest you try building this in a clean unstable chroot :) c.