This is the mail archive of the
java-prs@gcc.gnu.org
mailing list for the Java project.
[Bug libgcj/24616] linking BC-compiled classes: NoClassDefFoundErrors should be deferred
- From: "thebohemian at gmx dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: java-prs at gcc dot gnu dot org
- Date: 7 Nov 2005 10:34:04 -0000
- Subject: [Bug libgcj/24616] linking BC-compiled classes: NoClassDefFoundErrors should be deferred
- References: <bug-24616-10268@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #7 from thebohemian at gmx dot net 2005-11-07 10:34 -------
Created an attachment (id=10161)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=10161&action=view)
preliminary patch - just for review
As andrew suggested I tried preparing a closure that is stored in the atable
and will be called when the static method of the missing class is invoked.
Unfortunately gcj crashes when entering ffi_call in link.cc:743. I assume that
this has something to do with the way I am allocating memory for the ffi
structures cif and closure.
I just learned about ffi and tried what I am doing in gcj in a tutorial app
where it works fine. Can somebody help me what and tell me what I am doing
wrong here?
--
thebohemian at gmx dot net changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #10153|0 |1
is obsolete| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24616