[Bug libgcj/21326] seg fault in _Jv_Linker
tromey at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Tue May 3 18:29:00 GMT 2005
------- Additional Comments From tromey at gcc dot gnu dot org 2005-05-03 18:29 -------
I didn't download the source to try this out.
But based on the stack trace, I think the problem is probably that
a class compiled with the C++ ABI is referring to an org.xml class.
This doesn't work, as these classes are compiled with the BC ABI
(i.e., -findirect-dispatch).
This is unfortunate, but necessary to support java.endorsed.dirs.
The restriction that a C++ ABI class can't directly refer to a BC ABI class
is unlikely to be lifted.
The fix is to compile your program with -findirect-dispatch.
(But note that at the moment this only works when compiling from .class)
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21326
More information about the Java-prs
mailing list