RTEMS Tools Project - Source Builder Error Report Build: error: building sparc-rtems4.12-gcc-7.1.0-newlib-2.5.0.20170623-x86_64-freebsd12.0-1 Command Line: ../source-builder/sb-set-builder --prefix=/storage/russellh/rtems/4.12 4.12/rtems-sparc Python: 2.7.13 (default, May 20 2017, 02:58:00) [GCC 4.2.1 Compatible FreeBSD Clang 4.0.0 (tags/RELEASE_400/final 297347)] git://git.rtems.org/rtems-source-builder.git/origin/e2952bb185c1f40027caa76cfd9e4a45b17a8886 FreeBSD prescott.highfell.local 12.0-CURRENT FreeBSD 12.0-CURRENT #66 ac2f0aa3b(trueos-stable)-dirty: Wed Jun 21 01:09:23 UTC 2017 root@gauntlet:/usr/obj/usr/src/sys/GENERIC amd64Tail of the build log:checking for fork... /usr/bin/c++ -O2 -pipe -fbracket-depth=1024 -I/storage/russellh/rtems/4.12/rsb/rtems/build/tmp/sb-russellh/4.12/rtems-sparc/storage/russellh/rtems/4.12/include -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -DHAVE_CONFIG_H -DGENERATOR_FILE -fno-PIE -L/storage/russellh/rtems/4.12/rsb/rtems/build/tmp/sb-russellh/4.12/rtems-sparc/storage/russellh/rtems/4.12/lib -o build/genmodes \ build/genmodes.o build/errors.o ../build-x86_64-freebsd12.0/libiberty/libiberty.a/usr/bin/c++ -O2 -pipe -fbracket-depth=1024 -I/storage/russellh/rtems/4.12/rsb/rtems/build/tmp/sb-russellh/4.12/rtems-sparc/storage/russellh/rtems/4.12/include -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -DHAVE_CONFIG_H -DGENERATOR_FILE -fno-PIE -L/storage/russellh/rtems/4.12/rsb/rtems/build/tmp/sb-russellh/4.12/rtems-sparc/storage/russellh/rtems/4.12/lib -o build/genconstants \ build/genconstants.o build/read-md.o build/errors.o ../build-x86_64-freebsd12.0/libiberty/libiberty.ayesbuild/genmodes -m > tmp-min-modes.c/bin/sh ../../gcc-7.1.0/gcc/../move-if-change tmp-min-modes.c min-insn-modes.cecho timestamp > s-modes-mbuild/genhooks "Target Hook" \ > tmp-target-hooks-def.hbuild/genhooks "Common Target Hook" \ > tmp-common-target-hooks-def.h/bin/sh ../../gcc-7.1.0/gcc/../move-if-change tmp-common-target-hooks-def.h \ common/common-target-hooks-def.h/bin/sh ../../gcc-7.1.0/gcc/../move-if-change tmp-target-hooks-def.h \ target-hooks-def.hecho timestamp > s-target-hooks-def-hecho timestamp > s-common-target-hooks-def-hbuild/genhooks "C Target Hook" \ > tmp-c-target-hooks-def.hbuild/genmodes > tmp-modes.c/bin/sh ../../gcc-7.1.0/gcc/../move-if-change tmp-c-target-hooks-def.h \configure: updating cache ./config.cache c-family/c-target-hooks-def.h/bin/sh ../../gcc-7.1.0/gcc/../move-if-change tmp-modes.c insn-modes.cconfigure: creating ./config.statusecho timestamp > s-c-target-hooks-def-hecho timestamp > s-modesbuild/genmddeps ../../gcc-7.1.0/gcc/common.md ../../gcc-7.1.0/gcc/config/sparc/sparc.md > tmp-mddepsbuild/genmodes -h > tmp-modes.h/bin/sh ../../gcc-7.1.0/gcc/../move-if-change tmp-modes.h insn-modes.hecho timestamp > s-modes-h/usr/bin/c++ -O2 -pipe -fbracket-depth=1024 -I/storage/russellh/rtems/4.12/rsb/rtems/build/tmp/sb-russellh/4.12/rtems-sparc/storage/russellh/rtems/4.12/include -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -DHAVE_CONFIG_H -DGENERATOR_FILE -fno-PIE -L/storage/russellh/rtems/4.12/rsb/rtems/build/tmp/sb-russellh/4.12/rtems-sparc/storage/russellh/rtems/4.12/lib -o build/gengenrtl \ build/gengenrtl.o build/errors.o ../build-x86_64-freebsd12.0/libiberty/libiberty.a/bin/sh ../../gcc-7.1.0/gcc/../move-if-change tmp-mddeps mddeps.mkecho timestamp > s-mddepsbuild/genenums ../../gcc-7.1.0/gcc/common.md ../../gcc-7.1.0/gcc/config/sparc/sparc.md \ > tmp-enums.cif [ xinfo = xinfo ]; then \ makeinfo --split-size=5000000 --split-size=5000000 --no-split -I . -I ../../gcc-7.1.0/gcc/doc \ -I ../../gcc-7.1.0/gcc/doc/include -o doc/gccint.info ../../gcc-7.1.0/gcc/doc/gccint.texi; \fi/bin/sh ../../gcc-7.1.0/gcc/../move-if-change tmp-enums.c insn-enums.cecho timestamp > s-enumsbuild/genconstants ../../gcc-7.1.0/gcc/common.md ../../gcc-7.1.0/gcc/config/sparc/sparc.md \ > tmp-constants.h/bin/sh ../../gcc-7.1.0/gcc/../move-if-change tmp-constants.h insn-constants.hecho timestamp > s-constantsbuild/gengenrtl > tmp-genrtl.h/bin/sh ../../gcc-7.1.0/gcc/../move-if-change tmp-genrtl.h genrtl.hecho timestamp > s-genrtl-h/usr/bin/c++ -O2 -pipe -fbracket-depth=1024 -I/storage/russellh/rtems/4.12/rsb/rtems/build/tmp/sb-russellh/4.12/rtems-sparc/storage/russellh/rtems/4.12/include -c -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -DHAVE_CONFIG_H -DGENERATOR_FILE -fno-PIE -I. -Ibuild -I../../gcc-7.1.0/gcc -I../../gcc-7.1.0/gcc/build -I../../gcc-7.1.0/gcc/../include -I../../gcc-7.1.0/gcc/../libcpp/include \ -o build/min-insn-modes.o min-insn-modes.cc++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated]config.status: creating Makefileconfig.status: creating cc1plugin-config.h31 warnings generated.config.status: executing depfiles commandsconfig.status: executing libtool commands19 warnings generated./usr/bin/c++ -O2 -pipe -fbracket-depth=1024 -I/storage/russellh/rtems/4.12/rsb/rtems/build/tmp/sb-russellh/4.12/rtems-sparc/storage/russellh/rtems/4.12/include -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -DHAVE_CONFIG_H -DGENERATOR_FILE -fno-PIE -L/storage/russellh/rtems/4.12/rsb/rtems/build/tmp/sb-russellh/4.12/rtems-sparc/storage/russellh/rtems/4.12/lib -o build/gengtype \ build/gengtype.o build/errors.o build/gengtype-lex.o build/gengtype-parse.o build/gengtype-state.o build/version.o ../build-x86_64-freebsd12.0/libiberty/libiberty.acp doc/gcc.1 doc/g++.1/bin/sh ../../gcc-7.1.0/gcc/../move-if-change tmp-optionlist optionlistecho timestamp > s-optionsnawk -f ../../gcc-7.1.0/gcc/opt-functions.awk -f ../../gcc-7.1.0/gcc/opt-read.awk \ -f ../../gcc-7.1.0/gcc/opth-gen.awk \ < optionlist > tmp-options.hnawk -f ../../gcc-7.1.0/gcc/opt-functions.awk -f ../../gcc-7.1.0/gcc/opt-read.awk \ -f ../../gcc-7.1.0/gcc/optc-save-gen.awk \ -v header_name="config.h system.h coretypes.h tm.h" < optionlist > options-save.cnawk -f ../../gcc-7.1.0/gcc/opt-functions.awk -f ../../gcc-7.1.0/gcc/opt-read.awk \ -f ../../gcc-7.1.0/gcc/optc-gen.awk \ -v header_name="config.h system.h coretypes.h options.h tm.h" < optionlist > options.c/bin/sh ../../gcc-7.1.0/gcc/../move-if-change tmp-options.h options.hecho timestamp > s-options-hbuild/gengtype \ -S ../../gcc-7.1.0/gcc -I gtyp-input.list -w tmp-gtype.state/usr/bin/c++ -O2 -pipe -fbracket-depth=1024 -I/storage/russellh/rtems/4.12/rsb/rtems/build/tmp/sb-russellh/4.12/rtems-sparc/storage/russellh/rtems/4.12/include -c -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -DHAVE_CONFIG_H -DGENERATOR_FILE -fno-PIE -I. -Ibuild -I../../gcc-7.1.0/gcc -I../../gcc-7.1.0/gcc/build -I../../gcc-7.1.0/gcc/../include -I../../gcc-7.1.0/gcc/../libcpp/include \ -o build/gencheck.o ../../gcc-7.1.0/gcc/gencheck.cc++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated]In file included from ../../gcc-7.1.0/gcc/gencheck.c:25:../../gcc-7.1.0/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags]class rtx_def;^../../gcc-7.1.0/gcc/coretypes.h:55:8: note: previous use is herestruct rtx_def; ^In file included from ../../gcc-7.1.0/gcc/gencheck.c:26:In file included from ./tm.h:17:./options.h:5535:3: error: redefinition of enumerator 'OPT_C' OPT_C = 117, /* -C */ ^./options.h:5532:3: note: previous definition is here OPT_C = 114, /* -C */ ^./options.h:5541:3: error: redefinition of enumerator 'OPT_d' OPT_d = 123, /* -d */ ^./options.h:5539:3: note: previous definition is here OPT_d = 121, /* -d */ ^./options.h:5542:3: error: redefinition of enumerator 'OPT_D' OPT_D = 124, /* -D */ ^./options.h:5540:3: note: previous definition is here OPT_D = 122, /* -D */ ^./options.h:5551:3: error: redefinition of enumerator 'OPT_E' OPT_E = 133, /* -E */ ^./options.h:5549:3: note: previous definition is here OPT_E = 131, /* -E */ ^./options.h:6231:3: error: redefinition of enumerator 'OPT_H' OPT_H = 813, /* -H */ ^./options.h:6229:3: note: previous definition is here OPT_H = 811, /* -H */ ^./options.h:6234:3: error: redefinition of enumerator 'OPT_I' OPT_I = 816, /* -I */ ^./options.h:6232:3: note: previous definition is here OPT_I = 814, /* -I */ ^./options.h:6251:3: error: redefinition of enumerator 'OPT_L' OPT_L = 833, /* -L */ ^./options.h:6249:3: note: previous definition is here OPT_L = 831, /* -L */ ^./options.h:6261:3: error: redefinition of enumerator 'OPT_MD' OPT_MD = 843, /* -MD */ ^./options.h:6259:3: note: previous definition is here OPT_MD = 841, /* -MD */ ^./options.h:6270:3: error: redefinition of enumerator 'OPT_M' OPT_M = 852, /* -M */ ^./options.h:6255:3: note: previous definition is here OPT_M = 837, /* -M */ ^./options.h:6279:3: error: redefinition of enumerator 'OPT_MM' OPT_MM = 861, /* -MM */ ^./options.h:6276:3: note: previous definition is here OPT_MM = 858, /* -MM */ ^./options.h:6314:3: error: redefinition of enumerator 'OPT_o' OPT_o = 896, /* -o */ ^./options.h:6311:3: note: previous definition is here OPT_o = 893, /* -o */ ^./options.h:6316:3: error: redefinition of enumerator 'OPT_o' OPT_o = 898, /* -o */ ^./options.h:6311:3: note: previous definition is here OPT_o = 893, /* -o */ ^./options.h:6323:3: error: redefinition of enumerator 'OPT_P' OPT_P = 905, /* -P */ ^./options.h:6319:3: note: previous definition is here OPT_P = 901, /* -P */ ^./options.h:6422:3: error: redefinition of enumerator 'OPT_U' OPT_U = 1004, /* -U */ ^./options.h:6420:3: note: previous definition is here OPT_U = 1002, /* -U */ ^./options.h:6426:3: error: redefinition of enumerator 'OPT_v' OPT_v = 1008, /* -v */ ^./options.h:6424:3: note: previous definition is here OPT_v = 1006, /* -v */ ^./options.h:6474:3: error: redefinition of enumerator 'OPT_w' OPT_w = 1056, /* -w */ ^./options.h:6455:3: note: previous definition is here OPT_w = 1037, /* -w */ ^1 warning and 16 errors generated.gmake[2]: *** [Makefile:2594: build/gencheck.o] Error 1gmake[2]: *** Waiting for unfinished jobs..../bin/sh ../../gcc-7.1.0/gcc/../move-if-change tmp-gtype.state gtype.statebuild/gengtype \ -r gtype.stateecho timestamp > s-gtyperm gcc.podgmake[2]: Leaving directory '/storage/russellh/rtems/4.12/rsb/rtems/build/sparc-rtems4.12-gcc-7.1.0-newlib-2.5.0.20170623-x86_64-freebsd12.0-1/build/gcc'gmake[1]: *** [Makefile:4233: all-gcc] Error 2gmake[1]: Leaving directory '/storage/russellh/rtems/4.12/rsb/rtems/build/sparc-rtems4.12-gcc-7.1.0-newlib-2.5.0.20170623-x86_64-freebsd12.0-1/build'gmake: *** [Makefile:898: all] Error 2shell cmd failed: /bin/sh -ex /storage/russellh/rtems/4.12/rsb/rtems/build/sparc-rtems4.12-gcc-7.1.0-newlib-2.5.0.20170623-x86_64-freebsd12.0-1/doiterror: building sparc-rtems4.12-gcc-7.1.0-newlib-2.5.0.20170623-x86_64-freebsd12.0-1
Comments