First reportet bug at compilation gcc 3.o

Piotr Kasztelowicz pekasz@lodz.ptkardio.pl
Mon Jun 18 03:11:00 GMT 2001


Hello

I have downloaded gcc 3.0 and aplly to boostraping it
using previously installed gcc 2.95.2 and GNUmake
on Solaris 2.6 (Sun SPARC) with --enable-threads=solaris
option.

Neverless such error has been followed.
Please help fix it if possible

----

true "AR_FLAGS=rc"  "CC_FOR_BUILD=gcc"  "CFLAGS=-g -O2"  "CXXFLAGS=-g -O2"
"CFL
AGS_FOR_BUILD="  "CFLAGS_FOR_TARGET=-g -O2"  "INSTALL=/bin/sh
/export/home/pekas
z/src/gcc-3.0/install-sh -c"  "INSTALL_DATA=/bin/sh
/export/home/pekasz/src/gcc-
3.0/install-sh -c -m 644"  "INSTALL_PROGRAM=/bin/sh
/export/home/pekasz/src/gcc-
3.0/install-sh -c"  "INSTALL_SCRIPT=/bin/sh
/export/home/pekasz/src/gcc-3.0/inst
all-sh -c"  "LDFLAGS="  "LIBCFLAGS=-g -O2"  "LIBCFLAGS_FOR_TARGET=-g -O2"
"MAKE
=make"  "MAKEINFO=makeinfo "  "PICFLAG="  "PICFLAG_FOR_TARGET="
"SHELL=/bin/sh"
  "EXPECT=expect"  "RUNTEST=runtest"  "RUNTESTFLAGS="
"exec_prefix=/usr/local"
 "infodir=/usr/local/info"  "libdir=/usr/local/lib"  "prefix=/usr/local"
"toold
ir=/usr/local/sparc-sun-solaris2.6"  "AR=ar"  "AS=as"  "CC=gcc"  "CXX=c++"
"LD=
ld"  "LIBCFLAGS=-g -O2"  "NM=nm"  "PICFLAG="  "RANLIB=true"  "DESTDIR="
DO=all m
ulti-do
Bootstrapping the compiler
make CC="gcc" libdir=/usr/local/lib LANGUAGES="c" \
        CFLAGS="-g" MAKEINFO="makeinfo" \
        MAKEINFOFLAGS=""
(cd intl && make all)
(cd po && make all)
rm -rf libbackend.a
ar rc libbackend.a diagnostic.o version.o tree.o print-tree.o
stor-layout.o fold
-const.o   function.o stmt.o except.o expr.o calls.o expmed.o explow.o
optabs.o
real.o   builtins.o intl.o varasm.o rtl.o print-rtl.o rtlanal.o emit-rtl.o
genrt
l.o    dbxout.o sdbout.o dwarfout.o dwarf2asm.o dwarf2out.o xcoffout.o
bitmap.o
     alias.o gcse.o integrate.o jump.o cse.o loop.o doloop.o unroll.o
flow.o
   combine.o varray.o regclass.o regmove.o local-alloc.o global.o reload.o
 reload1.o caller-save.o insn-peep.o reorg.o haifa-sched.o final.o recog.o
r
eg-stack.o regrename.o insn-opinit.o insn-recog.o insn-extract.o
ins
n-output.o insn-emit.o lcm.o profile.o insn-attrtab.o sparc.o    convert.o
mbcha
r.o splay-tree.o graph.o sbitmap.o resource.o    hash.o predict.o lists.o
ggc-co
mmon.o ggc-page.o stringpool.o simplify-rtx.o      ssa.o bb-reorder.o
sibcall.o
conflict.o timevar.o ifcvt.o dominance.o         dependence.o dce.o
sched-vis.o
sched-deps.o sched-rgn.o sched-ebb.o params.o
ar: could not allocate memory.
*** Error code 1
make: Fatal error: Command failed for target `libbackend.a'
Current working directory /export/home/pekasz/src/gcc-3.0/objdir/gcc
*** Error code 1
make: Fatal error: Command failed for target `stage1_build'
Current working directory /export/home/pekasz/src/gcc-3.0/objdir/gcc
*** Error code 1
make: Fatal error: Command failed for target `bootstrap'
sun:37 ~/src/gcc-3.0/objdir%

------

Best Wishes

Piotr
---
Piotr Kasztelowicz                 <Piotr.Kasztelowicz@lodz.ptkardio.pl>
[ http://www.am.torun.pl/~pekasz ]



More information about the Gcc-help mailing list