This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java 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: [patch] Link the dummy libgcj_bc shared library with --no-as-needed


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.



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