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: Binary compatibility for virtual fields


On Sat, 20 Sep 2003, Bryce McKinlay wrote:
> > Bryce, you said that libgcj couldn't be built with
> > -findirect-dispatch.  Do you recall what the reason was?
>
> As I recall, somewhere in the runtime the vtables for java.lang.Object
> and/or java.lang.Class are referenced directly. So you'd get a link
> error for those vtable symbols which won't exist. This problem might
> have been fixed since I last checked, however.

Right.  make_class_data always emits a reference to java.lang.Class's
vtable (class_dtable_decl).  I noticed the same when rebuilding libgcj
with -fno-assume-compiled.

Jeff


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