ian@polari.UUCP (ian searle) (12/21/90)
HELP!, I am having trouble running "make tests" from libg++-1.37.0. I have compiled g++ with gcc-1.37.1 and Chip's SCO UNIX native as and ld patches. "make src" from libg++-1.37.0 seems to work OK, but the "make tests" bombs out with a bus error. I don't yet know enough about g++ to make ANY sort og gues, can anybody help?. ********************************* *** Output from "make tests" **** ********************************* g++ -DUSG -I/usr/ian/lib/libg++-1.37.0/g++-include -g -O -fstrength-reduce -felide-constructors -fschedule-insns -fdelayed-branch -fsave-memoized -Wall -c twrapper.cc twrapper.cc: In method class Integer MemoizedInteger::()MemoizedInteger (int, auto class Integer (class MemoizedInteger ::*)(class Integer ), class Integer): twrapper.cc:229: warning: control reaches end of non-void function twrapper.cc: In method class Integer MemoizedInteger::()MemoizedInteger (int, auto class Integer (class MemoizedInteger ::*)(class Integer ,class Integer ), class Integer, class Integer): twrapper.cc:234: warning: cannot pass objects of type `Integer' through `...' twrapper.cc:246: warning: control reaches end of non-void function twrapper.cc: In method class Integer MemoizedInteger::factorial (class Integer): twrapper.cc:257: warning: control reaches end of non-void function twrapper.cc: In method class Integer MemoizedInteger::fibonacci (class Integer): twrapper.cc:276: warning: control reaches end of non-void function g++ twrapper.o -o twrapper -L/usr/ian/lib/libg++-1.37.0/src -lg++ -lm -lPW g++: Program ld got fatal signal 10. gmake[1]: *** [twrapper] Error 1 gmake: *** [tests] Error 1 ********************************************** **** re-issued g++ command again with -v on*** ********************************************** /usr/ian/lib/libg++-1.37.0/tests> g++ -v twrapper.o -o twrapper -L/usr/ian/lib/libg++-1.37.0/src -lg++ -lm -lPW g++ version 1.37.1 (based on GCC 1.37) ld -r -o /usr/tmp/cca00797.R /lib/crt1.o -L/usr/ian/lib/libg++-1.37.0/src twrapper.o -lg++ -lm -lPW /usr/local/lib/gcc-gnulib -lc /lib/crtn.o /usr/local/lib/gcc-gnulib /usr/local/lib/gcc-collect -o /usr/tmp/cca00797.S /usr/tmp/cca00797.R as /usr/tmp/cca00797.S -o /usr/tmp/cca00797.O ld -o twrapper /usr/tmp/cca00797.R /usr/tmp/cca00797.O g++: Program ld got fatal signal 10. Sorry for the earlier goofed up posting. ian