This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Starting from the dynamic loader


On Wednesday, Oct 8, 2003, at 10:44 Pacific/Auckland, Jost Boekemeier wrote:

Hi,

[I hope this is not a FAQ]

I am currently trying to create an apache module which uses (a library
which in turn uses) libgcj.  Interestingly gcj aborts() because it is
not yet initialized: _Jv_createJavaVM hasn't been called at this early
stage (see stack trace below).

Interesting. The abort() should only happen if it encounters a duplicate class registration - ie _Jv_RegisterClasses is called twice with the same class argument. Is it possible that this is happening somehow? _Jv_RegisterClasses is always called before the runtime is initialized, so this should not be a problem.


Can somebody please explain where frame_dummy() comes from; which
component generates this?

It is from the C runtime - have a look in gcc/crtstuff.c


Regards

Bryce.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]