This is the mail archive of the 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]

gcc-3.0.4 build problem on sparc-solaris 2.6


      I get the following error while building
gcc-3.0.4 on solaris 2.6. I tried building gcc with
both the compilers /opt/SUNWspro/bin/cc and
/usr/ucb/cc. The problem is the same. I am using the
following stages to build:

/tmp/temp/gcc-3.0.4/configure --with-gcc-as
--with-as=/usr/local/bin/as --with-gcc-ld
<<<< this is successful >>>>

make bootstrap

<<<< fails here >>>>

stage1/xgcc -Bstage1/
-B/usr/local/sparc-sun-solaris2.6/bin/  -DIN_GCC 
-DSVR4  -g -O2 -W -Wall -Wwrite-strings
-Wstrict-prototypes -Wmissing-prototypes -Wtraditional
-pedantic -Wno-long-long  -DHAVE_CONFIG_H    -I. -I.
-I/tmp/temp/gcc-3.0.4/gcc -I/tmp/temp/gcc-3.0.4/gcc/.
-I/tmp/temp/gcc-3.0.4/gcc/../include -c

cc1: Cannot allocate 131072 bytes after allocating
9838592 bytes
make[2]: *** [c-parse.o] Error 1
make[2]: Leaving directory `/tmp/temp/objdir/gcc'
make[1]: *** [stage2_build] Error 2
make[1]: Leaving directory `/tmp/temp/objdir/gcc'
make: *** [bootstrap] Error 2

       Please help.

best regards,


Do You Yahoo!?
Yahoo! Movies - coverage of the 74th Academy Awards®

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