public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
From: Alan Modra <amodra@bigpond.net.au>
To: Paul Koning <pkoning@equallogic.com>
Cc: binutils@sources.redhat.com
Subject: Re: Unintellegible ld error messages
Date: Fri, 20 May 2005 09:54:00 -0000	[thread overview]
Message-ID: <20050520072750.GJ27573@bubble.grove.modra.org> (raw)
In-Reply-To: <17031.38996.793456.366778@gargle.gargle.HOWL>

On Sun, May 15, 2005 at 02:43:32PM -0400, Paul Koning wrote:
> >>>>> "Alan" == Alan Modra <amodra@bigpond.net.au> writes:
>  Alan> _Unwind_GetIP as a hidden symbol in libgcc.a is not the
>  Alan> problem.  If you built libstdc++.so linked against libgcc_s.so,
>  Alan> then when linking using libstdc++.so you need to have
>  Alan> libgcc_s.so available, and, importantly, libgcc_s.so must be
>  Alan> linked before libgcc.a if both are specified.
> 
>  Alan> If you built libstdc++.so only linked against libgcc.a, then
>  Alan> you can use libstdc++.so like that too.
> 
> Interesting.  objdump says that libstdc++ requires libm, but not
> libgcc_s.  And libm doesn't require anything.

Hmm.  Perhaps you have hit a ld bug, but it seems to me that you have
given confliction information.  If "The offending library is libstdc++"
then libstdc++.so contains an unsatisfied reference to _Unwind_GetIP,
which means libstdc++.so ought to refer to libgcc_s.so in a DT_NEEDED
tag.

-- 
Alan Modra
IBM OzLabs - Linux Technology Centre

  reply	other threads:[~2005-05-20  7:28 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-11 19:11 Paul Koning
2005-05-11 19:30 ` Daniel Jacobowitz
2005-05-13 19:50   ` Paul Koning
2005-05-13 20:08     ` Daniel Jacobowitz
2005-05-13 20:59       ` Paul Koning
2005-05-14  4:59         ` Alan Modra
2005-05-15 19:44           ` Paul Koning
2005-05-20  9:54             ` Alan Modra [this message]
2005-05-13 21:25     ` H. J. Lu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20050520072750.GJ27573@bubble.grove.modra.org \
    --to=amodra@bigpond.net.au \
    --cc=binutils@sources.redhat.com \
    --cc=pkoning@equallogic.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).