Bootstrap on sparc64-portbld-freebsd5.3 fails with the following error: .././..//gcc-4.0-20050226/gcc/libgcc2.c:1623: error: size of array 'compile_type_assert' is negative
That line is: /* Verify that MTYPE matches up with CEXT. */ extern void *compile_type_assert[sizeof(INFINITY) == sizeof(MTYPE) ? 1 : -1]; The last lines in the build log read: ./xgcc -B./ -B/usr/local/sparc64-portbld-freebsd5.3/bin/ -isystem /usr/local/sparc64-portbld-freebsd5.3/include -isystem /usr/local/sparc64-portbld-freebsd5.3/sys-include -L/tmp/a/ports/lang/gcc40/work/build/gcc/../ld -O2 -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -isystem ./include -fPIC -pthread -g -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -I. -I. -I.././..//gcc-4.0-20050226/gcc -I.././..//gcc-4.0-20050226/gcc/. -I.././..//gcc-4.0-20050226/gcc/../include -I.././..//gcc-4.0-20050226/gcc/../libcpp/include -DL_powitf2 -c .././..//gcc-4.0-20050226/gcc/libgcc2.c -o libgcc/./_powitf2.o ./xgcc -B./ -B/usr/local/sparc64-portbld-freebsd5.3/bin/ -isystem /usr/local/sparc64-portbld-freebsd5.3/include -isystem /usr/local/sparc64-portbld-freebsd5.3/sys-include -L/tmp/a/ports/lang/gcc40/work/build/gcc/../ld -O2 -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -isystem ./include -fPIC -pthread -g -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -I. -I. -I.././..//gcc-4.0-20050226/gcc -I.././..//gcc-4.0-20050226/gcc/. -I.././..//gcc-4.0-20050226/gcc/../include -I.././..//gcc-4.0-20050226/gcc/../libcpp/include -DL_mulsc3 -c .././..//gcc-4.0-20050226/gcc/libgcc2.c -o libgcc/./_mulsc3.o ./xgcc -B./ -B/usr/local/sparc64-portbld-freebsd5.3/bin/ -isystem /usr/local/sparc64-portbld-freebsd5.3/include -isystem /usr/local/sparc64-portbld-freebsd5.3/sys-include -L/tmp/a/ports/lang/gcc40/work/build/gcc/../ld -O2 -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -isystem ./include -fPIC -pthread -g -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -I. -I. -I.././..//gcc-4.0-20050226/gcc -I.././..//gcc-4.0-20050226/gcc/. -I.././..//gcc-4.0-20050226/gcc/../include -I.././..//gcc-4.0-20050226/gcc/../libcpp/include -DL_muldc3 -c .././..//gcc-4.0-20050226/gcc/libgcc2.c -o libgcc/./_muldc3.o .././..//gcc-4.0-20050226/gcc/libgcc2.c:1623: error: size of array 'compile_type_assert' is negative gmake[3]: *** [libgcc/./_muldc3.o] Error 1 gmake[3]: Leaving directory `/tmp/a/ports/lang/gcc40/work/build/gcc' gmake[2]: *** [libgcc.a] Error 2 gmake[2]: Leaving directory `/tmp/a/ports/lang/gcc40/work/build/gcc' gmake[1]: *** [stage1_build] Error 2 gmake[1]: Leaving directory `/tmp/a/ports/lang/gcc40/work/build/gcc' gmake: *** [bootstrap-lean] Error 2 *** Error code 2 -- Summary: sparc64-portbld-freebsd5.3: libgcc2.c:1623: error: size of array 'compile_type_assert' is negative Product: gcc Version: 4.0.1 Status: UNCONFIRMED Severity: critical Priority: P2 Component: bootstrap AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: gerald at pfeifer dot com CC: gcc-bugs at gcc dot gnu dot org,kan at FreeBSD dot ORG GCC host triplet: sparc64-portbld-freebsd5.3 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20633