This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: GC symbols no longer exported (on Debian) from libgcj 8 and up
- From: Erik Groeneveld <erik at cq2 dot nl>
- To: Andrew Haley <aph at redhat dot com>
- Cc: java <java at gcc dot gnu dot org>
- Date: Wed, 9 Dec 2009 13:39:29 +0100
- Subject: Re: GC symbols no longer exported (on Debian) from libgcj 8 and up
- References: <aaec99390911270106v16613578w5fa562b1ba50a151@mail.gmail.com> <4B0F9B15.60006@redhat.com>
On Fri, Nov 27, 2009 at 10:25, Andrew Haley <aph@redhat.com> wrote:
>> If it was intentional, my question is how I can get access to the GC?
>
> The symbols exported are controlled by:
>
> if ANONVERSCRIPT
> extra_ldflags_libjava += -Wl,--version-script=$(srcdir)/libgcj.ver
> endif
>
> Which is:
>
> # Anonymous GNU ld version script to hide boehm-gc, libffi and fdlibm
> # symbols in libgcj.so.
>
> {
> Âglobal: Jv*; _Jv_*; __gcj_personality_v0; __gcj_personality_sj0; _Z*;
> Âlocal: *;
> };
Adding GC_*; to gloca