This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Another Java sparc-sun-solaris2.8 bootstrap failure


On Tue, Mar 26, 2002 at 05:08:29PM +0100, Gerald Pfeifer wrote:
> This sparc-sun-solaris2.8 box has 512MB of physical memory plus 1024MB of
> swap, so this seems to be an internal error.
> 
> I got this for a "plain" make bootstrap with just --enable-libgcj on the
> gcc-3.1 branch. This is a regression from GCC 3.0.
> 
> 
> /bin/ksh ./libtool --tag=CXX --mode=compile /files/pfeifer/OBJ-0326-11:41/gcc/xgcc -shared-libgcc -B/files/pfeifer/OBJ-0326-11:41/gcc/ -nostdinc++ -L/files/pfeifer/OBJ-0326-11:41/sparc-sun-solaris2.8/sparcv9/libstdc++-v3/src -L/files/pfeifer/OBJ-0326-11:41/sparc-sun-solaris2.8/sparcv9/libstdc++-v3/src/.libs -B/sw/test/gcc/SunOS/sparc-sun-solaris2.8/bin/ -B/sw/test/gcc/SunOS/sparc-sun-solaris2.8/lib/ -isystem /sw/test/gcc/SunOS/sparc-sun-solaris2.8/include  -m64 -DHAVE_CONFIG_H -I. -I/sw/test/gcc/cvs-3.1/libjava -I./include -I./gcj -I/sw/test/gcc/cvs-3.1/libjava -Iinclude -I/sw/test/gcc/cvs-3.1/libjava/include -I/sw/test/gcc/cvs-3.1/libjava/../boehm-gc/include  -DGC_SOLARIS_THREADS=1 -DGC_SOLARIS_PTHREADS=1 -DSILENT=1 -DNO_SIGNALS=1 -DNO_EXECUTE_PERMISSION=1 -DALL_INTERIOR_POINTERS=1 -DJAVA_FINALIZATION=1 -DGC_GCJ_SUPPORT=1 -DATOMIC_UNCOLLECTABLE=1   -I/sw/test/gcc/cvs-3.1/libjava/libltdl -I/sw/test/gcc/cvs-3.1/libjava/libltdl -I/sw/test/gcc/cvs-3.1/libjava/.././libjava/../gc!
> c -I/sw/test/gcc/cvs-3.1/libjava/../zlib -I/sw/test/gcc/cvs-3.1/libjava/../libffi/include -I../../libffi/include   -fno-rtti -fnon-call-exceptions -fdollars-in-identifiers -I/usr/openwin/include -W -Wall -D_GNU_SOURCE -DPREFIX="\"/sw/test/gcc/SunOS\"" -g -O2  -m64 -MD -MT gnu/gcj/io/shs.lo -MF gnu/gcj/io/shs.pp -c -o gnu/gcj/io/shs.lo /sw/test/gcc/cvs-3.1/libjava/gnu/gcj/io/shs.cc
> /files/pfeifer/OBJ-0326-11:41/gcc/xgcc -shared-libgcc -B/files/pfeifer/OBJ-0326-11:41/gcc/ -nostdinc++ -L/files/pfeifer/OBJ-0326-11:41/sparc-sun-solaris2.8/sparcv9/libstdc++-v3/src -L/files/pfeifer/OBJ-0326-11:41/sparc-sun-solaris2.8/sparcv9/libstdc++-v3/src/.libs -B/sw/test/gcc/SunOS/sparc-sun-solaris2.8/bin/ -B/sw/test/gcc/SunOS/sparc-sun-solaris2.8/lib/ -isystem /sw/test/gcc/SunOS/sparc-sun-solaris2.8/include -m64 -DHAVE_CONFIG_H -I. -I/sw/test/gcc/cvs-3.1/libjava -I./include -I./gcj -I/sw/test/gcc/cvs-3.1/libjava -Iinclude -I/sw/test/gcc/cvs-3.1/libjava/include -I/sw/test/gcc/cvs-3.1/libjava/../boehm-gc/include -DGC_SOLARIS_THREADS=1 -DGC_SOLARIS_PTHREADS=1 -DSILENT=1 -DNO_SIGNALS=1 -DNO_EXECUTE_PERMISSION=1 -DALL_INTERIOR_POINTERS=1 -DJAVA_FINALIZATION=1 -DGC_GCJ_SUPPORT=1 -DATOMIC_UNCOLLECTABLE=1 -I/sw/test/gcc/cvs-3.1/libjava/libltdl -I/sw/test/gcc/cvs-3.1/libjava/libltdl -I/sw/test/gcc/cvs-3.1/libjava/.././libjava/../gcc -I/sw/test/gcc/cvs-3.1/libjava/../zlib -I/sw/t!
> est/gcc/cvs-3.1/libjava/../libffi/include -I../../libffi/include -fno-rtti -fnon-call-exceptions -fdollars-in-identifiers -I/usr/openwin/include -W -Wall -D_GNU_SOURCE "-DPREFIX=\"/sw/test/gcc/SunOS\"" -g -O2 -m64 -MD -MT gnu/gcj/io/shs.lo -MF gnu/gcj/io/shs.pp -c /sw/test/gcc/cvs-3.1/libjava/gnu/gcj/io/shs.cc  -fPIC -DPIC -o gnu/gcj/io/.libs/shs.o
> 
> cc1plus: Cannot allocate 131072 bytes after allocating 200237056 bytes

My bet is this is because of very deep nonzero_bits recursion.
In i386->sparc64 cross I counted 12456534 nonzero_bits calls on this
single routine.

	Jakub


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]