Re: Missing methods in libgcj_bc.so

"Bryce McKinlay" <[email protected]>
Newsgroups gmane.comp.gcc.java.devel
Message-ID <[email protected]>
On Mon, Mar 31, 2008 at 11:59 PM, Andrew Haley <[email protected]> wrote:
> I've discovered some missing methods in libgcj_bc.so.
>
> These are:
>
> _Jv_MonitorExit
> _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.

As I recall, the symbol list was generated ad-hoc by grepping the
front end source. If these methods are missing then its obviously a
serious mistake!

I'd suggest the best fix would be to find a way to make the linker
complain about missing libgcj_bc symbols rather than silently finding
them in libgcj. However I do vaguely remember grappling with this
issue before, so it might not be easy.

Bryce
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.