This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: Unintellegible ld error messages
- From: Daniel Jacobowitz <drow at false dot org>
- To: Paul Koning <pkoning at equallogic dot com>
- Cc: binutils at sources dot redhat dot com
- Date: Wed, 11 May 2005 15:11:10 -0400
- Subject: Re: Unintellegible ld error messages
- References: <17026.22346.789514.57742@gargle.gargle.HOWL>
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