Missing methods in libgcj_bc.so

David Daney ddaney@avtrex.com
Mon Mar 31 15:59:00 GMT 2008


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.  Then check if all needed symbols are 
defined in libgcj_bc.so.

David Daney



More information about the Java mailing list