Re: Missing methods in libgcj_bc.so

David Daney <[email protected]>
Newsgroups gmane.comp.gcc.java.devel
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.