This is the mail archive of the
java-discuss@sources.redhat.com
mailing list for the Java project.
Re: gcj build problems (again)
- To: Oskar Liljeblad <osk at hem dot passagen dot se>
- Subject: Re: gcj build problems (again)
- From: Bryce McKinlay <bryce at albatross dot co dot nz>
- Date: Wed, 15 Nov 2000 13:23:48 +1300
- CC: java-discuss at sourceware dot cygnus dot com
- References: <20001114103552.A17128@strix.eductussyd.se>
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 ]