gcj 4.0.2 seg fault

Andrew Haley aph@redhat.com
Wed Feb 15 12:40:00 GMT 2006


Heitzso writes:
 > The seg fault goes away if I split out the en_us.jar compilation
 > into one of its own.

Ah, OK.  I do know the casue of this one.

It happens because gcj first incorrectly treats Class X as an external
reference (when compiling the first jar) and then later when compiling
the second jar, gcj segfaults.  This is because gcj can't compile a
class once it's decided that it's external.

I think I might have seen this once before and ignored it because
compiling multiple jars is a pretty weird thing to do.  :-)

I guess this should be fixed.

Andrew.



More information about the Java mailing list