This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: Missing methods in libgcj_bc.so
- From: Andrew Haley <aph at redhat dot com>
- To: David Daney <ddaney at avtrex dot com>
- Cc: Tom Tromey <tromey at redhat dot com>, GCC Java <java at gcc dot gnu dot org>
- Date: Mon, 31 Mar 2008 17:46:24 +0100
- Subject: Re: Missing methods in libgcj_bc.so
- References: <47F0C404.8030103@redhat.com> <47F10A2A.70706@avtrex.com>
David Daney wrote:
> Andrew Haley wrote:
>> I've discovered some missing methods in libgcj_bc.so.
>>
>> These are:
>>
>> _Jv_MonitorExit
>
> It is curious that this is missing but _Jv_MonitorEnter is not. One
> might expect to find them in pairs.
>
>> _Jv_JNI_PopSystemFrame
>> _Jv_RegisterResource
>>
>> I did this by inspecting a BC-compiled application that mysteriously
>> held a DT_NEEDED to libgcj, not just libgcj_bc.
>>
>> So, how was the list of symbols in libgcj_bc created, and how many
>> more symbols might be missing? I could just add these three, but I'm
>> thinking a more systematic approach might be a good idea.
>
> How about compile the entire testsuite with the BC ABI. That should
> exercise all language features.
Ah, your faith in the testsuite is touching. :-)
That's not a bad idea, but I don't think it's enough.
Andrew.