From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96075323306608.tru64-unix-managers.marc@archive.invalid> From: "Johan Nyberg, TSL, Uppsala." Date: Mon, 18 Sep 1995 12:09:00 +0000 To: tru64-unix-managers Subject: Problem compiling gcc-2.7.0 on OSF/1 3.2 X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96075323306608 Hi, I have tried to install gcc-2.7.0 on our DEC alpha running OSF/1 3.2. I have followed the instructions in the file INSTALL but I got several error messages and warnings. Finally, when the `make compare' failed, I decided to ask for help from You. Below I have included a shortened log of the installation. Any help or comments are appreciated. +----------------------------------------------------------------------------+ ! Johan Nyberg, The Svedberg Laboratory, Uppsala ! ! ! University, BOX 533, S-75121, Uppsala, Sweden ! Theod orSve d ! ! Tel : +46-18-183047 Fax : +46-18-183833 ! b e r ! ! Johan.Nyberg@tsl.uu.se 21694::TSL::NYBERG ! g Nobel P ! ! http://www.tsl.uu.se/tsl/ns/jn-home.html ! r i z ! ! Home: Hoejdvaegen 31B, S-75653 Uppsala ! e Winne r1926 ! ! Home tel: +46-18-324314 ! ! +----------------------------------------------------------------------------+ ----------- Start log from installation of gcc-2.7.0 on OSF/1 3.2 -------------- # ./configure --with-stabs ... # make LANGUAGES=c ... Various warnings and error messages from fixproto are normal if [ -d include ] ; then true; else mkdir include; fi if [ -f include/fixed ] ; then true; else : This line works around a 'make' bug in BSDI 1.1.; FIXPROTO_DEFINES=""; export FIXPROTO_DEFINES; /bin/sh ./fixproto include include /usr/include; touch include/fixed; fi fixproto: populating `include' fix-header: fixing curses.h (No *.h files in /usr.local/common/src/gcc-2.7.0/include/root) (No *.h files in /usr.local/common/src/gcc-2.7.0/include/root/usr) (No *.h files in /usr.local/common/src/gcc-2.7.0/include/root/usr/sys) (No *.h files in /usr.local/common/src/gcc-2.7.0/include/root/usr/sys/include) (No *.h files in /usr.local/common/src/gcc-2.7.0/include/root/usr/sys/include/arch) (No *.h files in /usr.local/common/src/gcc-2.7.0/include/root/usr/sys/include/dec) (No *.h files in /usr.local/common/src/gcc-2.7.0/include/root/usr/sys/include/io) (No *.h files in /usr.local/common/src/gcc-2.7.0/include/root/usr/sys/include/io/dec) (No *.h files in /usr.local/common/src/gcc-2.7.0/include/root/usr/sys/include/mach) (No *.h files in /usr.local/common/src/gcc-2.7.0/include/dec) (No *.h files in /usr.local/common/src/gcc-2.7.0/include/io) (No *.h files in /usr.local/common/src/gcc-2.7.0/include/mach) (No *.h files in /usr.local/common/src/gcc-2.7.0/include/io/dec) mkdir: cannot create /usr.local/common/src/gcc-2.7.0/include/././mach/machine. /usr.local/common/src/gcc-2.7.0/include/././mach/machine: File exists mkdir: cannot create /usr.local/common/src/gcc-2.7.0/include/././mach/machine. /usr.local/common/src/gcc-2.7.0/include/././mach/machine: File exists mkdir: cannot create /usr.local/common/src/gcc-2.7.0/include/././mach/machine. /usr.local/common/src/gcc-2.7.0/include/././mach/machine: File exists mkdir: cannot create /usr.local/common/src/gcc-2.7.0/include/././mach/machine. /usr.local/common/src/gcc-2.7.0/include/././mach/machine: File exists mkdir: cannot create /usr.local/common/src/gcc-2.7.0/include/././mach/machine. /usr.local/common/src/gcc-2.7.0/include/././mach/machine: File exists mkdir: cannot create /usr.local/common/src/gcc-2.7.0/include/././mach/machine. /usr.local/common/src/gcc-2.7.0/include/././mach/machine: File exists fix-header: fixing errno.h touch stmp-fixproto ... # make stage1 ... mv: rename stamp-proto to stage1/stamp-proto: No such file or directory mv: rename gcc-cross to stage1/gcc-cross: No such file or directory mv: rename cc1obj to stage1/cc1obj: No such file or directory mv: rename protoize to stage1/protoize: No such file or directory mv: rename unprotoize to stage1/unprotoize: No such file or directory mv: rename *.greg to stage1/*.greg: No such file or directory mv: rename *.lreg to stage1/*.lreg: No such file or directory mv: rename *.combine to stage1/*.combine: No such file or directory mv: rename *.flow to stage1/*.flow: No such file or directory mv: rename *.cse to stage1/*.cse: No such file or directory mv: rename *.jump to stage1/*.jump: No such file or directory mv: rename *.rtl to stage1/*.rtl: No such file or directory mv: rename *.tree to stage1/*.tree: No such file or directory mv: rename *.loop to stage1/*.loop: No such file or directory mv: rename *.dbr to stage1/*.dbr: No such file or directory mv: rename *.jump2 to stage1/*.jump2: No such file or directory mv: rename *.sched to stage1/*.sched: No such file or directory mv: rename *.cse2 to stage1/*.cse2: No such file or directory mv: rename *.sched2 to stage1/*.sched2: No such file or directory mv: rename *.stack to stage1/*.stack: No such file or directory mv: rename *.[si] to stage1/*.[si]: No such file or directory mv: rename g++-cross to stage1/g++-cross: No such file or directory mv: rename cc1plus to stage1/cc1plus: No such file or directory *** Exit 1 (ignored) ... mv cp/*.o stage1/cp mv: rename cp/*.o to stage1/cp/*.o: No such file or directory *** Exit 1 (ignored) ... make CC="stage1/xgcc -Bstage1/" CFLAGS="-g -O" ... stage1/xgcc -Bstage1/ -DIN_GCC -g -O -o cccp cccp.o cexp.o version.o obstack.o ` case "stage1/xgcc -Bstage1/" in "cc") echo "" ;; esac ` -lmld /usr/bin/ld: Warning: Linking some objects which contain exception information sections and some which do not. This may cause fatal runtime exception handling problems (last obj encountered without exceptions was version.o). ... ####### I got 12 warnings like the one above during stage1 ... stage1/xgcc -Bstage1/ -c -DIN_GCC -g -O -I. -I. -I./config ./getopt.c ./getopt.c: In function `_getopt_internal': ./getopt.c:497: warning: type mismatch in implicit declaration for built-in function `strlen' stage1/xgcc -Bstage1/ -c -DIN_GCC -g -O -I. -I. -I./config ./getopt1.c ... ####### I got one warning like the one above during stage1 ... # make stage2 ... mv *.o insn-flags.h insn-config.h insn-codes.h insn-output.c insn-recog.c insn -emit.c insn-extract.c insn-peep.c insn-attr.h insn-attrtab.c insn-opinit.c s tamp-flags stamp-config stamp-codes stamp-output stamp-recog stamp-emit stamp-extract stamp-peep stamp-attr stamp- attrtab stamp-opinit stamp-proto genemit genoutput genrecog genextract genfla gs gencodes genconfig genpeep genattrtab genattr genopinit bc-arity.h bc-opcode.h bc-opname.h stamp-bcarity stamp-bcop code stamp-bcopname bi-arity bi-opcode bi-opname xgcc cc1 cpp mips-tfile mips -tdump gcc-cross cccp cc1obj enquire protoize unprotoize specs collect2 ld underscore.c *.greg *.lreg *.combine *. flow *.cse *.jump *.rtl *.tree *.loop *.dbr *.jump2 *.sched *.cse2 *.sched2 *. stack *.[si] g++ g++-cross cc1plus stage2 mv: rename gcc-cross to stage2/gcc-cross: No such file or directory mv: rename *.greg to stage2/*.greg: No such file or directory mv: rename *.lreg to stage2/*.lreg: No such file or directory mv: rename *.combine to stage2/*.combine: No such file or directory mv: rename *.flow to stage2/*.flow: No such file or directory mv: rename *.cse to stage2/*.cse: No such file or directory mv: rename *.jump to stage2/*.jump: No such file or directory mv: rename *.rtl to stage2/*.rtl: No such file or directory mv: rename *.tree to stage2/*.tree: No such file or directory mv: rename *.loop to stage2/*.loop: No such file or directory mv: rename *.dbr to stage2/*.dbr: No such file or directory mv: rename *.jump2 to stage2/*.jump2: No such file or directory mv: rename *.sched to stage2/*.sched: No such file or directory mv: rename *.cse2 to stage2/*.cse2: No such file or directory mv: rename *.sched2 to stage2/*.sched2: No such file or directory mv: rename *.stack to stage2/*.stack: No such file or directory mv: rename *.[si] to stage2/*.[si]: No such file or directory mv: rename g++-cross to stage2/g++-cross: No such file or directory *** Exit 1 (ignored) ... # make CC="stage2/xgcc -Bstage2/" CFLAGS="-g -O2" ... stage2/xgcc -Bstage2/ -DIN_GCC -g -O2 -o cccp cccp.o cexp.o version.o obs tack.o ` case "stage2/xgcc -Bstage2/" in "cc") echo "" ;; esac ` -lmld /usr/bin/ld: Warning: Linking some objects which contain exception information sections and some which do not. This may cause fatal runtime exception handling problems (last obj encountered without exceptions was version.o). ... ####### I got 12 warnings like the one above during stage2 ... stage2/xgcc -Bstage2/ -c -DIN_GCC -g -O2 -I. -I. -I./config ./getopt.c ./getopt.c: In function `_getopt_internal': ./getopt.c:497: warning: type mismatch in implicit declaration for built-in fun ction `strlen' stage2/xgcc -Bstage2/ -c -DIN_GCC -g -O2 -I. -I. -I./config ./getopt1.c ... ####### I got one warning like the one above during stage2 ... # make compare for file in *.o; do tail +16c ./$file > tmp-foo1; tail +16c stage2/$file > tmp -foo2 2>/dev/null && (cmp tmp-foo1 tmp-foo2 || echo $file differs); done tmp-foo1 tmp-foo2 differ: char 18, line 1 alpha.o differs tmp-foo1 tmp-foo2 differ: char 18, line 1 bc-emit.o differs ... ####### Some 120+ *.o files differs! ... # ----------- End log from installation of gcc-2.7.0 on OSF/1 3.2 ---------------- +----------------------------------------------------------------------------+ ! Johan Nyberg, The Svedberg Laboratory, Uppsala ! ! ! University, BOX 533, S-75121, Uppsala, Sweden ! Theod orSve d ! ! Tel : +46-18-183047 Fax : +46-18-183833 ! b e r ! ! Johan.Nyberg@tsl.uu.se 21694::TSL::NYBERG ! g Nobel P ! ! http://www.tsl.uu.se/tsl/ns/jn-home.html ! r i z ! ! Home: Hoejdvaegen 31B, S-75653 Uppsala ! e Winne r1926 ! ! Home tel: +46-18-324314 ! ! +----------------------------------------------------------------------------+