Unintellegible ld error messages
Daniel Jacobowitz
drow@false.org
Wed May 11 19:30:00 GMT 2005
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
More information about the Binutils
mailing list