gcj build problems (again)

Bryce McKinlay bryce@albatross.co.nz
Tue Nov 14 16:21:00 GMT 2000


Oskar Liljeblad wrote:

> > Out of curiosity, can you try to apply the seemingly stupid patch?
>
> Amazing, the patch did it. No more compilation problems (or so
> I thought...) Is there some optimization bug in gcc, or am I
> totally missing something in the patch? :)

If that patch works, it probably means that your compiler is being
miscompiled. I wouldn't trust it. Try a newer snapshot or rebuild the
compiler with a known stable compiler (and don't use "make bootstrap").
I've built the compiler with both RH 6.2's egcs 1.1.2 and RH 7.0's 2.96
and it works in both cases.

> This program fails to compile with gcj 20001106:
>
>   $ cat Drawable.java
>   class Drawable {
>     static String foo = "bar";
>

Works for me with a 20001113 from cvs. See above.

regards

  [ bryce ]




More information about the Java mailing list