I'm trying to build experimental versions of the gcc suite, see http://gcc.gnu.org, on a sun4m, ie SS20, machine.
I have two such ones, one dual SuperSparc-II and one quad ROSS. On both systems I get the following error: stage1/xgcc -Bstage1/ -B/usr/sparc-linux/bin/ -c -g -O2 -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long -DHAVE_CONFIG_H -I. -I. -I/opt/gcc+binutils/gcc/gcc -I/opt/gcc+binutils/gcc/gcc/. -I/opt/gcc+binutils/gcc/gcc/config -I/opt/gcc+binutils/gcc/gcc/../include /opt/gcc+binutils/gcc/gcc/cppfiles.c -o cppfiles.o stage1/xgcc -Bstage1/ -B/usr/sparc-linux/bin/ -c -g -O2 -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long -DHAVE_CONFIG_H -I. -I. -I/opt/gcc+binutils/gcc/gcc -I/opt/gcc+binutils/gcc/gcc/. -I/opt/gcc+binutils/gcc/gcc/config -I/opt/gcc+binutils/gcc/gcc/../include /opt/gcc+binutils/gcc/gcc/cpptrad.c -o cpptrad.o stage1/xgcc -Bstage1/ -B/usr/sparc-linux/bin/ -c -g -O2 -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long -DHAVE_CONFIG_H -I. -I. -I/opt/gcc+binutils/gcc/gcc -I/opt/gcc+binutils/gcc/gcc/. -I/opt/gcc+binutils/gcc/gcc/config -I/opt/gcc+binutils/gcc/gcc/../include /opt/gcc+binutils/gcc/gcc/cpphash.c -o cpphash.o stage1/xgcc -Bstage1/ -B/usr/sparc-linux/bin/ -c -g -O2 -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long -DHAVE_CONFIG_H -I. -I. -I/opt/gcc+binutils/gcc/gcc -I/opt/gcc+binutils/gcc/gcc/. -I/opt/gcc+binutils/gcc/gcc/config -I/opt/gcc+binutils/gcc/gcc/../include /opt/gcc+binutils/gcc/gcc/cpperror.c -o cpperror.o /opt/gcc+binutils/gcc/gcc/cppfiles.c:1168: error: parse error before '%' token /opt/gcc+binutils/gcc/gcc/cppfiles.c:1378: error: syntax error at '#' token /opt/gcc+binutils/gcc/gcc/cppfiles.c:1383: error: syntax error at '#' token /opt/gcc+binutils/gcc/gcc/cppfiles.c:1383: error: syntax error at '#' token /opt/gcc+binutils/gcc/gcc/cppfiles.c:1386: error: syntax error at '#' token /opt/gcc+binutils/gcc/gcc/cppfiles.c:1386: error: syntax error at '#' token /opt/gcc+binutils/gcc/gcc/cppfiles.c:1451:25: warning: null character(s) ignored /opt/gcc+binutils/gcc/gcc/cppfiles.c:1451: confused by earlier errors, bailing out make[2]: *** [cppfiles.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: Leaving directory `/opt/gcc+binutils/objdir/gcc' make[1]: *** [stage2_build] Error 2 make[1]: Leaving directory `/opt/gcc+binutils/objdir/gcc' make: *** [bootstrap-lean] Error 2 The thing is that the file cppfiles.c ends on line no 1168, an empty line... This was on a Debian 3.0 (Woody) quad ROSS sun4m system with these packages: binutils 2.12.90.0.1-4 dejagnu 1.4.2-1.1 gcc 2:2.95.4-14 (Debian prerelease) gcc-2.95 1:2.95.4-7 (Debian prerelease) gnat 3.14p-3 self compiled 2.4.19-rc3 SMP kernel running during build and test Any ideas what is going on? Cheers, /ChJ

