This is the mail archive of the
java-discuss@sourceware.cygnus.com
mailing list for the Java project.
Re: libgcj build crashes
- To: gback at cs dot utah dot edu (Godmar Back)
- Subject: Re: libgcj build crashes
- From: Godmar Back <gback at cs dot utah dot edu>
- Date: Sat, 5 Feb 2000 16:33:13 -0700 (MST)
- Cc: mdw at cs dot berkeley dot edu, green at redhat dot com, gback at cs dot utah dot edu, java-discuss at sourceware dot cygnus dot com
>
> >
> >
> > I built the lates gcj and libgcj and it works fine. I guess the problems
> > I was seeing may have been in the particular snapshot of egcs that I was
> > using...
> >
>
> No kidding. Btw, the script now fails (apparently much later) with:
>
I take that back. The script still fails at the same file, although with
a different error msg now. Apparently, it doesn't stop if things go wrong.
libgcj.log shows the failure below, which is the same failure I observe when
building w/o the script.
make[2]: Entering directory `/x/gback/testgcj/2000-02-04-22.49.35/libgcj/build/i686-pc-linux-gnu/libjava'
make java/lang/ConcreteProcess.class
make[3]: Entering directory `/x/gback/testgcj/2000-02-04-22.49.35/libgcj/build/i686-pc-linux-gnu/libjava'
javac="gcj -C"; \
$javac -g -L/x/gback/testgcj/2000-02-04-22.49.35/libgcj/build/i686-pc-linux-gnu/libjava -classpath /x/gback/testgcj/2000-02-04-22.49.35/libgcj/build/i686-pc-linux-gnu/libjava:`cd ../../../libgcj/libjava && /bin/pwd` \
-d /x/gback/testgcj/2000-02-04-22.49.35/libgcj/build/i686-pc-linux-gnu/libjava java/lang/ConcreteProcess.java
Cannot allocate 4072 bytes
make[3]: *** [java/lang/ConcreteProcess.class] Error 1
make[3]: Leaving directory `/x/gback/testgcj/2000-02-04-22.49.35/libgcj/build/i686-pc-linux-gnu/libjava'
make[2]: *** [libgcj.zip] Error 2
make[2]: Leaving directory `/x/gback/testgcj/2000-02-04-22.49.35/libgcj/build/i686-pc-linux-gnu/libjava'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/x/gback/testgcj/2000-02-04-22.49.35/libgcj/build/i686-pc-linux-gnu/libjava'
make: *** [install-target-libjava] Error 2
gcj-test$
Apparently, jc1 runs out of memory (I only have 128 MB phys + 128 MB swap
on the machine I'm building.) Top shows:
31654 root 19 0 131M 97M 324 R 0 37.4 77.8 0:05 jc1
before it bails.
- Godmar