This is the mail archive of the gcc@gcc.gnu.org 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]

cannot bootstrap neither gcc-2.8.0-971206 nor egcs-971207 on sparc-sun-sunos4.1.3


Hi there!

I've been unable to bootstrap the latest snapshots of gcc and egcs on
sparc-sun-sunos4.1.3, configured --with-gnu-as --enable-shared, using
GNU as and GNU ld from binutils 2.8.1 as assembler and linker, with
BOOT_CFLAGS="-O4 -g", using egcs-1.0 as the stage1 compiler.  I don't
know whether this is a bug in egcs-1.0 or in the current snapshots of
both packages.  The error I get is exactly the same for both builds:

stage1/xgcc -Bstage1/  -DIN_GCC    -O4 -g  -DHAVE_CONFIG_H  -o genattr \
 genattr.o rtl.o ` case "obstack.o" in ?*) echo obstack.o ;; esac ` ` case "stage1/xgcc -Bstage1/"@"" in "cc"@?*) echo  ;; esac ` ` case "" in ?*) echo  ;; esac `
./genattr /n/temp1/gcctest/bin/../src/ss/gcc/config/sparc/sparc.md > tmp-attr.h
/bin/sh: 9857 Memory fault - core dumped
make[2]: *** [stamp-attr] Error 139
make[2]: Leaving directory `/tmp_mnt/n/temp1/tmp/gcctest/src/atibaia/ss/gcc'
make[1]: *** [bootstrap] Error 2
make[1]: Leaving directory `/tmp_mnt/n/temp1/tmp/gcctest/src/atibaia/ss/gcc'
make: *** [bootstrap] Error 2

genattr crashes in the initialization code, with a stack trace like
this (I removed the buggy program before I decided to post this
message, so I quote from memory):

??? (invalid address)
memcpy
__main
main

-- 
Alexandre Oliva
mailto:oliva@dcc.unicamp.br mailto:aoliva@acm.org
http://www.dcc.unicamp.br/~oliva
Universidade Estadual de Campinas, SP, Brasil


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