This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: binary compatibility ABI (was: Re: [boehm-gc] Import 6.3 alpha1)
- From: Jeff Sturm <jsturm at one-point dot com>
- To: Tom Tromey <tromey at redhat dot com>
- Cc: Bryce McKinlay <bryce at mckinlay dot net dot nz>, Ranjit Mathew <rmathew at hotmail dot com>, <java at gcc dot gnu dot org>
- Date: Wed, 13 Aug 2003 14:34:07 -0400 (EDT)
- Subject: Re: binary compatibility ABI (was: Re: [boehm-gc] Import 6.3 alpha1)
On 13 Aug 2003, Tom Tromey wrote:
> I think the ABI implemented by -fno-assume-compiled should just be
> eliminated. It has never fully worked, and based on getting eclipse
> to work with it, I can say that it is pretty fragile.
Yeah, that's what I meant by "incomplete". If I had continued working on
it, I would've liked to fix that, perhaps by resolving method/field
references through the constant pool as we do in the interpreter.
(I never thought of -fno-assume-compiled as an "ABI" frankly. An ABI is
something that is designed, I hope, not something that happens by
accident?)
> (This happened to me a couple times, when I rebuilt some plugin with
> jikes or javac instead of ecj... ouch.)
javac from JDK 1.2 and later reorders fields and methods. I've been
bitten many times.
Jeff