public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* more bootstrap problems
@ 2000-12-13 19:11 Mike Stump
  2000-12-13 19:42 ` Robert Lipe
  2000-12-14 11:53 ` Alexandre Petit-Bianco
  0 siblings, 2 replies; 4+ messages in thread
From: Mike Stump @ 2000-12-13 19:11 UTC (permalink / raw)
  To: gcc

At least linux and solaris are the same now:

/kankakee1/tmp/mrs/net/gcc-sol/gcc/gcj -B/kankakee1/tmp/mrs/net/gcc-sol/sparc-sun-solaris2.7/libjava/ -B/kankakee1/tmp/mrs/net/gcc-sol/gcc/ --encoding=UTF-8 -C -g -classpath /kankakee1/tmp/mrs/net/gcc-sol/sparc-sun-solaris2.7/libjava:/kankakee1/tmp/mrs/net/gcc/libjava -d /kankakee1/tmp/mrs/net/gcc-sol/sparc-sun-solaris2.7/libjava java/lang/Boolean.java
java/lang/Boolean.java:25: Blank static final variable `FALSE' may not have be initialized.
     public static final Boolean FALSE = new Boolean(false);
                                 ^
java/lang/Boolean.java:26: Blank static final variable `TRUE' may not have be initialized.
     public static final Boolean TRUE = new Boolean(true);
                                 ^
2 errors
make[2]: *** [libgcj.jar] Error 1
make[2]: Leaving directory `/kankakee1/tmp/mrs/net/gcc-sol/sparc-sun-solaris2.7/libjava'
make[1]: *** [all-target-libjava] Error 2
make[1]: Leaving directory `/kankakee1/tmp/mrs/net/gcc-sol'
make: *** [bootstrap] Error 2

:-(

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: more bootstrap problems
  2000-12-13 19:11 more bootstrap problems Mike Stump
@ 2000-12-13 19:42 ` Robert Lipe
  2000-12-14 11:53 ` Alexandre Petit-Bianco
  1 sibling, 0 replies; 4+ messages in thread
From: Robert Lipe @ 2000-12-13 19:42 UTC (permalink / raw)
  To: gcc

Mike Stump wrote:

> At least linux and solaris are the same now:

I've given up on reporting bootstrap errors.  But there's also a
possible grammar error beyond the syntax error assuming you accurately
reported this message.  (Mike is pretty meticulous about such things, so
I have no reason to doubt it...)

> java/lang/Boolean.java:25: Blank static final variable `FALSE' may not have be initialized.
>      public static final Boolean FALSE = new Boolean(false);

Shouldn't "be" be "been"?

RJL

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: more bootstrap problems
  2000-12-13 19:11 more bootstrap problems Mike Stump
  2000-12-13 19:42 ` Robert Lipe
@ 2000-12-14 11:53 ` Alexandre Petit-Bianco
  1 sibling, 0 replies; 4+ messages in thread
From: Alexandre Petit-Bianco @ 2000-12-14 11:53 UTC (permalink / raw)
  To: egcs; +Cc: gcc, mrs

Mike Stump <mrs@windriver.com> writes:


> java/lang/Boolean.java:25: Blank static final variable `FALSE' may
> not have be initialized.

This is a problem when you build a bootstrap compiler:

  http://gcc.gnu.org/ml/gcc/2000-12/msg00403.html

This is known to fix the problem. I haven't yet had a chance to look
into why this appears to fix it (I found the generated assembly
language to be equivalent, at least on x86/Linux.)

./A

Index: parse.y
===================================================================
RCS file: /cvs/gcc/egcs/gcc/java/parse.y,v
retrieving revision 1.233
diff -u -p -r1.233 parse.y
--- parse.y     2000/12/06 20:02:02     1.233
+++ parse.y     2000/12/14 19:49:32
@@ -7200,7 +7200,8 @@ static void
 end_artificial_method_body (mdecl)
      tree mdecl;
 {
-  BLOCK_EXPR_BODY (DECL_FUNCTION_BODY (mdecl)) = exit_block ();
+  tree b = exit_block ();
+  BLOCK_EXPR_BODY (DECL_FUNCTION_BODY (mdecl)) = b;
   exit_block ();
 }
 

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: more bootstrap problems
@ 2000-12-13 20:32 Mike Stump
  0 siblings, 0 replies; 4+ messages in thread
From: Mike Stump @ 2000-12-13 20:32 UTC (permalink / raw)
  To: gcc, robertlipe

> Date: Wed, 13 Dec 2000 21:44:36 -0600
> From: Robert Lipe <robertlipe@usa.net>
> To: gcc@gcc.gnu.org

> I've given up on reporting bootstrap errors.

:-( This is bad.  If we piss off too many testers by not being
responsive to them, they will go away, and we loose out on testing.

I don't blame you.

> Shouldn't "be" be "been"?

I fixed it.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2000-12-14 11:53 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-12-13 19:11 more bootstrap problems Mike Stump
2000-12-13 19:42 ` Robert Lipe
2000-12-14 11:53 ` Alexandre Petit-Bianco
2000-12-13 20:32 Mike Stump

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).