From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31734 invoked by alias); 11 May 2005 19:11:18 -0000 Mailing-List: contact binutils-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: binutils-owner@sources.redhat.com Received: (qmail 31541 invoked from network); 11 May 2005 19:11:12 -0000 Received: from unknown (HELO nevyn.them.org) (66.93.172.17) by sourceware.org with SMTP; 11 May 2005 19:11:12 -0000 Received: from drow by nevyn.them.org with local (Exim 4.50) id 1DVwbv-00009L-0j; Wed, 11 May 2005 15:11:11 -0400 Date: Wed, 11 May 2005 19:30:00 -0000 From: Daniel Jacobowitz To: Paul Koning Cc: binutils@sources.redhat.com Subject: Re: Unintellegible ld error messages Message-ID: <20050511191110.GA470@nevyn.them.org> Mail-Followup-To: Paul Koning , binutils@sources.redhat.com References: <17026.22346.789514.57742@gargle.gargle.HOWL> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <17026.22346.789514.57742@gargle.gargle.HOWL> User-Agent: Mutt/1.5.8i X-SW-Source: 2005-05/txt/msg00405.txt.bz2 On Wed, May 11, 2005 at 03:04:42PM -0400, Paul Koning wrote: > I got these messages from ld (version 2.16): > > /usr/local/EQLGCC_v7/mipsel/lib/gcc/mipsel-netbsdelf/4.0.0/../../../../mipsel-netbsdelf/bin/ld: Cli: hidden symbol `_Unwind_GetIP' in /usr/local/EQLGCC_v7/mipsel/lib/gcc/mipsel-netbsdelf/4.0.0/libgcc.a(unwind-dw2.o) is referenced by DSO > /usr/local/EQLGCC_v7/mipsel/lib/gcc/mipsel-netbsdelf/4.0.0/../../../../mipsel-netbsdelf/bin/ld: final link failed: Nonrepresentable section on output > > I haven't a clue what these mean. What'a DSO? What's a > "nonrepresentable section"? More importantly, what should I do to > find out what is wrong here? Dynamic Shared Object. This is a standard term. It's not mentioned in the ld manual; feel free to contribute a patch. The hidden symbol `_Unwind_GetIP' is being referenced by a shared library. Figure out which one it is (I don't remember the reason why we don't print that here; I believe it's pretty hard to recover from our data structures at that point). Then rebuild that library using 'gcc' to link and the symbol should no longer be undefined. > I even tried looking at the source code. That tells me that "DSO" > apparently has something to do with shared libraries, but other than > that it doesn't get me any closer to a solution. Google would have been happy to tell you that "DSO" and "shared library" are basically synonyms. -- Daniel Jacobowitz CodeSourcery, LLC