NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

'build.sh tools' for netbsd-2 sources failing on NetBSD 4



An attempt to (cross-)build netbsd-2 sparc on a netbsd-4 machine fails early while building the netbsd-2 gcc:

===> build.sh command: ./build.sh -U -r -a sparc -m sparc -O /var/obj/netbsd-builds/2/sparc -T /u/netbsd-builds/2/sparc/tools tools

[...]

cc -c -O -DIN_GCC -DCROSS_COMPILE -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long -DHAVE_CONFIG_H -DGENERATOR_FILE -DNETBSD_TOOLS -I . -I. -I/public/netbsd-2/tools/gcc/../../gnu/dist/gcc/gcc -I/public/netbsd-2/tools/gcc/../../gnu/dist/gcc/gcc/. -I/public/netbsd-2/tools/gcc/../../gnu/dist/gcc/gcc/config -I/public/netbsd-2/tools/ gcc/../../gnu/dist/gcc/gcc/../include /public/netbsd-2/tools/gcc/../../gnu/dist/gcc/gcc/read-rtl.c -o read-rtl.o In file included from /public/netbsd-2/tools/gcc/../../gnu/dist/gcc/gcc/read-rtl.c:24: /public/netbsd-2/tools/gcc/../../gnu/dist/gcc/gcc/rtl.h:132: warning: type of bit-field 'code' is a GCC extension /public/netbsd-2/tools/gcc/../../gnu/dist/gcc/gcc/rtl.h:135: warning: type of bit-field 'mode' is a GCC extension /public/netbsd-2/tools/gcc/../../gnu/dist/gcc/gcc/read-rtl.c: In function 'fatal_with_file_and_line': /public/netbsd-2/tools/gcc/../../gnu/dist/gcc/gcc/read-rtl.c:53: warning: traditional C rejects ISO C style function definitions /public/netbsd-2/tools/gcc/../../gnu/dist/gcc/gcc/read-rtl.c: In function 'read_rtx': /public/netbsd-2/tools/gcc/../../gnu/dist/gcc/gcc/read-rtl.c:653: error: invalid lvalue in increment

*** Failed target:  read-rtl.o
*** Failed command: cc -c -O -DIN_GCC -DCROSS_COMPILE -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long -DHAVE_CONFIG_H -DGENERATOR_FILE -DNET BSD_TOOLS -I. -I. -I/public/netbsd-2/tools/gcc/../../gnu/dist/gcc/gcc -I/public/netbsd-2/tools/gcc/../../gnu/dist/gcc/gcc/. -I/public/netbsd-2/tools/gcc/../../gnu/dist/gcc/gcc/config -I/public/netb sd-2/tools/gcc/../../gnu/dist/gcc/gcc/../include /public/netbsd-2/tools/gcc/../../gnu/dist/gcc/gcc/read-rtl.c -o read-rtl.o
*** Error code 1

Stop.
nbmake: stopped in /var/obj/netbsd-builds/2/sparc/tools/gcc/build/gcc

*** Failed target:  all-gcc

[...]

Should I send-pr?

        hauke

--
     The ASCII Ribbon Campaign                    Hauke Fath
()     No HTML/RTF in email            Institut für Nachrichtentechnik
/\     No Word docs in email                     TU Darmstadt
     Respect for open standards              Ruf +49-6151-16-3281


Home | Main Index | Thread Index | Old Index