Cannot build 19990517 snapshot on LinuxPPC

Peter Nillius nillius@nada.kth.se
Tue May 18 15:03:00 GMT 1999


Hi!

I am trying to build the 19990517 snapshot under LinuxPPC, but with
no luck.

I get segmentation fault somewhere along the way. These are the last
lines of the output:

stage1/xgcc -Bstage1/
-B/opt/egcs/egcs-19990517/powerpc-unknown-linux-gnulibc1/bin/
-DIN_GCC -DHAIFA   -DUSE_GNULIBC_1 -W -Wall -O2 -O  -DHAVE_CONFIG_H
-I. -I../../../src/egcs-19990517/gcc
-I../../../src/egcs-19990517/gcc/config
-I../../../src/egcs-19990517/gcc/../include \
  -DSTANDARD_STARTFILE_PREFIX=\"/opt/egcs/egcs-19990517/lib/\"
-DSTANDARD_EXEC_PREFIX=\"/opt/egcs/egcs-19990517/lib/gcc-lib/\"
-DDEFAULT_TARGET_VERSION=\"egcs-2.93.22\"
-DDEFAULT_TARGET_MACHINE=\"powerpc-unknown-linux-gnulibc1\"
-DTOOLDIR_BASE_PREFIX=\"/opt/egcs/egcs-19990517/\" \
  -c `echo ../../../src/egcs-19990517/gcc/gcc.c | sed 's,^\./,,'`
stage1/xgcc -Bstage1/
-B/opt/egcs/egcs-19990517/powerpc-unknown-linux-gnulibc1/bin/ -c
-DIN_GCC -DHAIFA   -DUSE_GNULIBC_1 -W -Wall -O2 -O  -DHAVE_CONFIG_H
-I. -I../../../src/egcs-19990517/gcc
-I../../../src/egcs-19990517/gcc/config
-I../../../src/egcs-19990517/gcc/../include
../../../src/egcs-19990517/gcc/gccspec.c
stage1/xgcc -Bstage1/
-B/opt/egcs/egcs-19990517/powerpc-unknown-linux-gnulibc1/bin/
-DIN_GCC -DHAIFA   -DUSE_GNULIBC_1 -W -Wall -O2 -O  -DHAVE_CONFIG_H
-o xgcc gcc.o gccspec.o intl.o \
  prefix.o version.o  obstack.o        ../libiberty/libiberty.a
rm -f SYSCALLS.c tmp-SYSCALLS.s
cat ../../../src/egcs-19990517/gcc/sys-types.h
../../../src/egcs-19990517/gcc/sys-protos.h > SYSCALLS.c
./xgcc -B./
-B/opt/egcs/egcs-19990517/powerpc-unknown-linux-gnulibc1/bin/
-DIN_GCC -DHAIFA   -DUSE_GNULIBC_1 -W -Wall -O2 -O -I./include
-I. -I../../../src/egcs-19990517/gcc
-I../../../src/egcs-19990517/gcc/config
-I../../../src/egcs-19990517/gcc/../include \
  -aux-info SYSCALLS.c.X -S -o tmp-SYSCALLS.s SYSCALLS.c
make[2]: *** [SYSCALLS.c.X] Segmentation fault (core dumped)
make[2]: Leaving directory `/opt/egcs/build/egcs-19990517/gcc'
make[1]: *** [bootstrap-lean] Error 2
make[1]: Leaving directory `/opt/egcs/build/egcs-19990517/gcc'
make: *** [bootstrap-lean] Error 2


I configured with:
../../src/egcs-19990517/configure --prefix /opt/egcs/egcs-19990517 
--enable-langauges=c++,java

and built with:
make CFLAGS='-O' LIBCFLAGS='-g -O2' LIBCXXFLAGS='-g -O2
-fno-implicit-templates' bootstrap-lean

Any ideas? (I couldn't build the 19990502 snapshot BTW. Different
error though.)

Cheers,
Peter




More information about the Gcc-bugs mailing list