From: Andrew Haley <aph@redhat.com>
To: Matthias Klose <doko@ubuntu.com>
Cc: GCJ-patches <java-patches@gcc.gnu.org>
Subject: Re: [patch] Link the dummy libgcj_bc shared library with --no-as-needed
Date: Wed, 04 Sep 2013 10:21:00 -0000 [thread overview]
Message-ID: <52270988.9030803@redhat.com> (raw)
In-Reply-To: <52270600.8010008@ubuntu.com>
On 09/04/2013 11:05 AM, Matthias Klose wrote:
> When building a compiler which passes --no-as-needed by default to the linker,
> libgcj_bc.so ends up without a DTNEEDED entry for libgcj, because no symbols in
> libgcj are required to resolve symbols in libgcj_bc. This causes about 500 test
> cases to fail. Solved by explicitly passing -Wl,--no-as-needed. Is this ok for
> upstream? It's not needed, but doesn't hurt either.
That doesn't make sense. If the compiler is passing --no-as-needed by default to the linker,
why do you need to pass it again?
Andrew.
prev parent reply other threads:[~2013-09-04 10:21 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-09-04 10:05 Matthias Klose
2013-09-04 10:21 ` Andrew Haley [this message]
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=52270988.9030803@redhat.com \
--to=aph@redhat.com \
--cc=doko@ubuntu.com \
--cc=java-patches@gcc.gnu.org \
/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).