This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Re: [RFC PATCH] Don't use ELF weak for entities with vague linkage whenCOMDAT groups are available
- From: Andrew Haley <aph at redhat dot com>
- To: Julian Brown <julian at codesourcery dot com>, GCC Patches <gcc-patches at gcc dot gnu dot org>, GCJ Patches <java-patches at gcc dot gnu dot org>
- Date: Tue, 19 Apr 2005 10:03:16 +0100
- Subject: Re: [RFC PATCH] Don't use ELF weak for entities with vague linkage whenCOMDAT groups are available
- References: <4256FCD3.5030004@codesourcery.com><16996.2101.836301.747578@cuddles.cambridge.redhat.com>
Andrew Haley writes:
> Julian Brown writes:
> >
> > If people would try this patch and run the testsuite on their machines,
> > I'd be grateful. I'd appreciate it if you post information about
> > failures which show up for you, with version numbers of binutils bits,
> > so I can attempt to track down whatever broke before.
>
> This patch breaks indirect dispatch with PIC. With some files, I'm
> now getting errors of the form
>
> jacorb.s:9882754: Error: can't resolve `.gnu.linkonce.t._ZN3org3omg21CosNotifyChannelAdmin22_ProxyPushSupplierStub15lifetime_filterEv' {.gnu.linkonce.t._ZN3org3omg21CosNotifyChannelAdmin22_ProxyPushSupplierStub15lifetime_filterEv section} - `.Ltext0' {.text section}
Julian, would you like me to put the testcase somewhere? Create a PR?
We need this fixed for gcj development to proceed.
Andrew.