This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Unintellegible ld error messages


>>>>> "Daniel" == Daniel Jacobowitz <drow@false.org> writes:

 Daniel> 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?

 Daniel> Dynamic Shared Object.  This is a standard term.  It's not
 Daniel> mentioned in the ld manual; feel free to contribute a patch.

 Daniel> The hidden symbol `_Unwind_GetIP' is being referenced by a
 Daniel> shared library.  Figure out which one it is (I don't remember
 Daniel> the reason why we don't print that here; I believe it's
 Daniel> pretty hard to recover from our data structures at that
 Daniel> point).  Then rebuild that library using 'gcc' to link and
 Daniel> the symbol should no longer be undefined.

The offending library is libstdc++, as compiled by GCC 4.0.0.  This
seems very strange.

      paul


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]