GNU make requires too much memory building libjava.  On my system the virtual
memory size got up to 251M.  Since I only have 256M of RAM, make proceeded to
thrash.  I waited 45 minutes before killing it.

I am running i686-pc-linux-gnu, Fedora Core 4.

make hung at this point in the build:

make[4]: Entering directory
`/home/ian/gcc/bootstrap/i686-pc-linux-gnu/libjava/classpath/lib'
true
top_builddir=.. top_srcdir=../../../../../gcc/libjava/classpath /bin/sh
./gen-classlist.sh standard
Adding java source files from srcdir '../../../../../gcc/libjava/classpath'.
Adding java source files from VM directory /home/ian/gcc/gcc/libjava
/home/ian/gcc/bootstrap/i686-pc-linux-gnu/libjava
Adding generated files in builddir '..'.
make -f ../../../../../gcc/libjava/classpath/lib/Makefile.gcj \
  GCJ='/home/ian/gcc/bootstrap/gcc/gcj
-B/home/ian/gcc/bootstrap/i686-pc-linux-gnu/libjava/
-B/home/ian/gcc/bootstrap/gcc/' \
 
compile_classpath='..:/home/ian/gcc/gcc/libjava:/home/ian/gcc/bootstrap/i686-pc-linux-gnu/libjava:../../../../../gcc/libjava/classpath:../../../../../gcc/libjava/classpath/external/w3c_dom:../../../../../gcc/libjava/classpath/external/sax:.:'
\
  top_srcdir=../../../../../gcc/libjava/classpath

-- 
           Summary: Make requires too much memory building libjava
           Product: gcc
           Version: 4.1.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: libgcj
        AssignedTo: tromey at redhat dot com
        ReportedBy: ian at airs dot com
                CC: gcc-bugs at gcc dot gnu dot org,java-prs at gcc dot gnu
                    dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24154

Reply via email to