This is the mail archive of the java-discuss@sources.redhat.com 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]

Re: gcj build problems (again)


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 ]



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