gcj build problems (again)

Tom.Williams@diversifiedsoftware.com Tom.Williams@diversifiedsoftware.com
Tue Nov 14 16:50:00 GMT 2000


Hi!  I guess the crux of the problem is bootstrapping one of the egcs
snapshots doesn't produce a trustworthy gcj compiler.  Maybe when gcc-3.0
is stable these problems will go away.......

Peace......

Tom




Bryce McKinlay <bryce@albatross.co.nz>@sources.redhat.com on 11/15/2000
05:23:48 AM

Sent by:  java-discuss-owner@sources.redhat.com


To:   Oskar Liljeblad <osk@hem.passagen.se>
cc:   java-discuss@sourceware.cygnus.com
Subject:  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 ]







More information about the Java mailing list