* 3.2 bootstrap failure building sparcv7/libjava on sparcv9-sun-solaris2.8
@ 2002-06-13 15:21 Brad Lucier
2002-06-13 20:34 ` Tom Tromey
0 siblings, 1 reply; 4+ messages in thread
From: Brad Lucier @ 2002-06-13 15:21 UTC (permalink / raw)
To: gcc, java; +Cc: Brad Lucier
After trying to bootstrap today's 3.2 CVS sources with
/bin/rm -rf * ; env CC='gcc -m64 -mcpu=ultrasparc' ../configure --prefix=/home/c/lucier/local/gcc-test sparcv9-sun-solaris2.8 ; make -j 8 STAGE1_CFLAGS='-O2 -g' bootstrap > & build.log && ( make -j 8 -k check > & check.log ; make mail-report-with-warnings.log ; ./mail-report-with-warnings.log ) &
bootstrap fails with
make[5]: Entering directory `/export/u3/lucier/programs/gcc/gcc-3.2/objdir-sparcv9/sparcv9-sun-solaris2.8/sparcv7/libjava'
/export/u3/lucier/programs/gcc/gcc-3.2/objdir-sparcv9/gcc/gcj -B/export/u3/lucier/programs/gcc/gcc-3.2/objdir-sparcv9/sparcv9-sun-solaris2.8/sparcv7/libjava/ -B/export/u3/lucier/programs/gcc/gcc-3.2/objdir-sparcv9/gcc/ --encoding=UTF-8 -C -g -classpath '' -bootclasspath /export/u3/lucier/programs/gcc/gcc-3.2/objdir-sparcv9/sparcv9-sun-solaris2.8/sparcv7/libjava:../../../../libjava \
-d /export/u3/lucier/programs/gcc/gcc-3.2/objdir-sparcv9/sparcv9-sun-solaris2.8/sparcv7/libjava ../../../../libjava/java/lang/Class.java
../../../gcc/gcjh -classpath '' -bootclasspath . ../../../../libjava/java/lang/Class
../../../../libjava/java/lang/Class: no such class
make[5]: *** [../../../../libjava/java/lang/Class.h] Error 1
make[5]: Leaving directory `/export/u3/lucier/programs/gcc/gcc-3.2/objdir-sparcv9/sparcv9-sun-solaris2.8/sparcv7/libjava'
Brad
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: 3.2 bootstrap failure building sparcv7/libjava on sparcv9-sun-solaris2.8
2002-06-13 15:21 3.2 bootstrap failure building sparcv7/libjava on sparcv9-sun-solaris2.8 Brad Lucier
@ 2002-06-13 20:34 ` Tom Tromey
2002-06-13 22:29 ` Brad Lucier
0 siblings, 1 reply; 4+ messages in thread
From: Tom Tromey @ 2002-06-13 20:34 UTC (permalink / raw)
To: Brad Lucier; +Cc: gcc, java
>>>>> "Brad" == Brad Lucier <lucier@math.purdue.edu> writes:
Brad> ../../../gcc/gcjh -classpath '' -bootclasspath . ../../../../libjava/java/lang/Class
Brad> ../../../../libjava/java/lang/Class: no such class
The real problem here is that gcjh should never be invoked on Class.
Class.h is not automatically generated, but hand maintained. I saw
this problem arise after Mark's build speed-up patch went in, but I
still haven't had a chance to investigate.
Tom
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: 3.2 bootstrap failure building sparcv7/libjava on sparcv9-sun-solaris2.8
2002-06-13 20:34 ` Tom Tromey
@ 2002-06-13 22:29 ` Brad Lucier
2002-06-23 17:09 ` Tom Tromey
0 siblings, 1 reply; 4+ messages in thread
From: Brad Lucier @ 2002-06-13 22:29 UTC (permalink / raw)
To: tromey; +Cc: Brad Lucier, gcc, java
>
> >>>>> "Brad" == Brad Lucier <lucier@math.purdue.edu> writes:
>
> Brad> ../../../gcc/gcjh -classpath '' -bootclasspath . ../../../../libjava/java/lang/Class
> Brad> ../../../../libjava/java/lang/Class: no such class
>
> The real problem here is that gcjh should never be invoked on Class.
> Class.h is not automatically generated, but hand maintained. I saw
> this problem arise after Mark's build speed-up patch went in, but I
> still haven't had a chance to investigate.
Perhaps I should have said that after the parallel build failed, I
did "make bootstrap >>& build.log" to get this clean error message.
Brad
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: 3.2 bootstrap failure building sparcv7/libjava on sparcv9-sun-solaris2.8
2002-06-13 22:29 ` Brad Lucier
@ 2002-06-23 17:09 ` Tom Tromey
0 siblings, 0 replies; 4+ messages in thread
From: Tom Tromey @ 2002-06-23 17:09 UTC (permalink / raw)
To: Brad Lucier; +Cc: gcc, java
>>>>> "Brad" == Brad Lucier <lucier@math.purdue.edu> writes:
Brad> Perhaps I should have said that after the parallel build failed,
Brad> I did "make bootstrap >>& build.log" to get this clean error
Brad> message.
I finally got around to looking at this.
I'm checking in the appended patch to the trunk and the branch.
Tom
Index: ChangeLog
from Tom Tromey <tromey@redhat.com>
* Makefile.in: Rebuilt.
* Makefile.am ($(srcdir)/java/lang/Object.h,
$(srcdir)/java/lang/Class.h): Added dummy targets.
Index: Makefile.am
===================================================================
RCS file: /cvs/gcc/gcc/libjava/Makefile.am,v
retrieving revision 1.229
diff -u -r1.229 Makefile.am
--- Makefile.am 21 Jun 2002 05:39:28 -0000 1.229
+++ Makefile.am 24 Jun 2002 00:05:48 -0000
@@ -325,7 +325,7 @@
## Headers we maintain by hand and which we want to install.
extra_headers = java/lang/Object.h java/lang/Class.h
-$(extra_headers):
+$(extra_headers) $(srcdir)/java/lang/Object.h $(srcdir)/java/lang/Class.h:
@:
## Install the headers. It is fairly ugly that we have to do this by
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2002-06-24 0:09 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-06-13 15:21 3.2 bootstrap failure building sparcv7/libjava on sparcv9-sun-solaris2.8 Brad Lucier
2002-06-13 20:34 ` Tom Tromey
2002-06-13 22:29 ` Brad Lucier
2002-06-23 17:09 ` Tom Tromey
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).