RTEMS Tools Project - Source Builder Error Report Build: error: building mips-rtems4.11-gdb-7.7-1 Command Line: ../source-builder/sb-set-builder --log=log_mingw_all --prefix=/opt/rtems/4.11 --trace --no-install --regression --host=mingw32 4.11/rtems-all Python: 2.7.6 (default, Apr 12 2014, 02:49:52) [GCC 4.2.1 Compatible FreeBSD Clang 3.3 (tags/RELEASE_33/final 183502)] git://git.rtems.org/rtems-source-builder.git/origin/65d94573a54884eb7338513e9356408548255ef7 FreeBSD sync.rtems.org 10.0-STABLE FreeBSD 10.0-STABLE #0 ed891fe(stable/10): Fri Apr 25 18:18:40 UTC 2014 amar@build1.rtems.org:/usr/obj/usr/src/sys/build1 amd64 Tail of the build log: checking for posix_madvise... no checking for waitpid... no checking for lstat... no checking for ptrace64... no checking for nl_langinfo and CODESET... no checking for ANSI C header files... (cached) yes checking for working alloca.h... (cached) no checking for alloca... (cached) yes checking for nl_langinfo and CODESET... (cached) no checking linux/perf_event.h usability... no checking linux/perf_event.h presence... no checking for linux/perf_event.h... no checking locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking for memory.h... (cached) yes checking signal.h usability... yes checking signal.h presence... yes checking for signal.h... yes checking for sys/resource.h... (cached) no checking sys/socket.h usability... no checking sys/socket.h presence... no checking for sys/socket.h... no checking for sys/syscall.h... (cached) no checking sys/un.h usability... no checking sys/un.h presence... no checking for sys/un.h... no checking sys/wait.h usability... no checking sys/wait.h presence... no checking for sys/wait.h... no checking for thread_db.h... (cached) no checking wait.h usability... no checking wait.h presence... no checking for wait.h... no checking for fdwalk... no checking for getrlimit... (cached) no checking for pipe... (cached) no checking for pipe2... no checking for socketpair... (cached) no checking whether strerror is declared... yes checking whether strstr is declared... yes checking whether ptrace is declared... no checking return type of ptrace... (cached) int checking types of arguments for ptrace... (cached) int,int,long,long checking whether setpgrp takes no argument... no checking for sigsetjmp... no checking for GNU regex... no checking for struct thread.td_pcb... no checking for struct lwp... no checking for struct reg in machine/reg.h... no checking for struct reg.r_fs... no checking for struct reg.r_gs... no checking for struct user_regs_struct.fs_base... no checking for struct user_regs_struct.gs_base... no checking for PTRACE_GETREGS... no checking for PTRACE_GETFPXREGS... no checking for PT_GETDBREGS... no checking for PT_GETXMMREGS... no checking for long long support in compiler... yes checking for long long support in printf... no checking for decfloat support in printf... no checking for long double support in compiler... yes checking for long double support in printf... no checking for long double support in scanf... no checking for the dynamic export flag... -rdynamic checking whether ADDR_NO_RANDOMIZE is declared... no checking compiler warning flags... -Wall -Wdeclaration-after-statement -Wpointer-arith -Wpointer-sign -Wno-unused -Wunused-value -Wunused-function -Wno-switch -Wno-char-subscripts -Wmissing-prototypes -Wdeclaration-after-statement -Wempty-body -Wmissing-parameter-type -Wold-style-declaration -Wold-style-definition -Wno-format checking for cygwin... no checking for ELF support in BFD... yes checking for Mach-O support in BFD... no checking for SOM support in BFD... no checking whether to use lzma... auto checking for liblzma... no checking for X... libraries /usr/local/lib, headers /usr/local/include enable_sim = yes enableval = yes checking whether to use babeltrace... auto checking for libbabeltrace... no configure: WARNING: babeltrace is missing or unusable; GDB is unable to read CTF data. configure: updating cache ./config.cache configure: creating ./config.status config.status: creating jit-reader.h config.status: creating gcore config.status: creating Makefile config.status: creating gdb-gdb.gdb config.status: creating doc/Makefile config.status: creating data-directory/Makefile config.status: creating config.h config.status: executing depdir commands mkdir .deps config.status: executing default commands === configuring in testsuite (/mnt/data0/chrisj/rtems/rsb/rtems-source-builder.master/rtems/build/mips-rtems4.11-gdb-7.7-1/build-cxc/gdb/testsuite) configure: running /bin/sh ../../../gdb-7.7/gdb/testsuite/configure --disable-option-checking '--prefix=/opt/rtems/4.11' '--with-system-zlib' '--verbose' '--disable-nls' '--without-included-gettext' '--disable-win32-registry' '--disable-werror' '--enable-sim' '--without-zlib' '--with-expat' '--bindir=/opt/rtems/4.11/bin' '--exec-prefix=/opt/rtems/4.11' '--includedir=/opt/rtems/4.11/include' '--libdir=/opt/rtems/4.11/lib' '--mandir=/opt/rtems/4.11/share/man' '--infodir=/opt/rtems/4.11/share/info' '--program-transform-name=s&^&mips-rtems4.11-&' '--build=x86_64-freebsd10.0' '--host=mingw32' '--target=mips-rtems4.11' 'build_alias=x86_64-freebsd10.0' 'host_alias=mingw32' 'target_alias=mips-rtems4.11' 'CC=mingw32-gcc -O2 -pipe -L/mnt/data0/chrisj/rtems/rsb/rtems-source-builder.master/rtems/build/tmp/sb-chrisj/4.11/rtems-mips.bset/opt/rtems/4.11/lib' 'CFLAGS=-O2 -pipe -D__USE_MINGW_ACCESS' 'LDFLAGS=-static-libstdc++ -static-libgcc -L/mnt/data0/chrisj/rtems/rsb/rtems-source-builder.master/rtems/build/tmp/sb-chrisj/4.11/rtems-mips.bset/opt/rtems/4.11/lib -Wl,--stack,12582912' 'MAKEINFO=makeinfo --split-size=5000000' 'YACC=bison -y' --cache-file=.././config.cache --srcdir=../../../gdb-7.7/gdb/testsuite configure: loading cache .././config.cache checking build system type... (cached) x86_64-pc-freebsd10.0 checking host system type... (cached) i686-pc-mingw32 checking target system type... (cached) mips-unknown-rtems4.11 checking for make... (cached) gmake checking whether gmake sets $(MAKE)... (cached) yes checking for mingw32-gcc... (cached) mingw32-gcc -O2 -pipe -L/mnt/data0/chrisj/rtems/rsb/rtems-source-builder.master/rtems/build/tmp/sb-chrisj/4.11/rtems-mips.bset/opt/rtems/4.11/lib checking for C compiler default output file name... a.exe checking whether the C compiler works... yes checking whether we are cross compiling... yes checking for suffix of executables... .exe checking for suffix of object files... (cached) o checking whether we are using the GNU C compiler... (cached) yes checking whether mingw32-gcc -O2 -pipe -L/mnt/data0/chrisj/rtems/rsb/rtems-source-builder.master/rtems/build/tmp/sb-chrisj/4.11/rtems-mips.bset/opt/rtems/4.11/lib accepts -g... (cached) yes checking for mingw32-gcc -O2 -pipe -L/mnt/data0/chrisj/rtems/rsb/rtems-source-builder.master/rtems/build/tmp/sb-chrisj/4.11/rtems-mips.bset/opt/rtems/4.11/lib option to accept ISO C89... (cached) none needed checking how to run the C preprocessor... (cached) mingw32-gcc -O2 -pipe -L/mnt/data0/chrisj/rtems/rsb/rtems-source-builder.master/rtems/build/tmp/sb-chrisj/4.11/rtems-mips.bset/opt/rtems/4.11/lib -E checking for grep that handles long lines and -e... (cached) /usr/bin/grep checking for egrep... (cached) /usr/bin/grep -E checking for ANSI C header files... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking pthread.h usability... no checking pthread.h presence... no checking for pthread.h... no configure: updating cache .././config.cache configure: creating ./config.status config.status: creating Makefile config.status: creating gdb.ada/Makefile config.status: creating gdb.arch/Makefile config.status: creating gdb.asm/Makefile config.status: creating gdb.base/Makefile config.status: creating gdb.btrace/Makefile config.status: creating gdb.cell/Makefile config.status: creating gdb.cp/Makefile config.status: creating gdb.disasm/Makefile config.status: creating gdb.dwarf2/Makefile config.status: creating gdb.fortran/Makefile config.status: creating gdb.go/Makefile config.status: creating gdb.server/Makefile config.status: creating gdb.java/Makefile config.status: creating gdb.hp/Makefile config.status: creating gdb.hp/gdb.objdbg/Makefile config.status: creating gdb.hp/gdb.base-hp/Makefile config.status: creating gdb.hp/gdb.aCC/Makefile config.status: creating gdb.hp/gdb.compat/Makefile config.status: creating gdb.hp/gdb.defects/Makefile config.status: creating gdb.linespec/Makefile config.status: creating gdb.mi/Makefile config.status: creating gdb.modula2/Makefile config.status: creating gdb.multi/Makefile config.status: creating gdb.objc/Makefile config.status: creating gdb.opencl/Makefile config.status: creating gdb.opt/Makefile config.status: creating gdb.pascal/Makefile config.status: creating gdb.perf/Makefile config.status: creating gdb.python/Makefile config.status: creating gdb.reverse/Makefile config.status: creating gdb.stabs/Makefile config.status: creating gdb.threads/Makefile config.status: creating gdb.trace/Makefile config.status: creating gdb.xml/Makefile gmake[2]: Entering directory `/mnt/data0/chrisj/rtems/rsb/rtems-source-builder.master/rtems/build/mips-rtems4.11-gdb-7.7-1/build-cxc/sim' gmake[3]: Entering directory `/mnt/data0/chrisj/rtems/rsb/rtems-source-builder.master/rtems/build/mips-rtems4.11-gdb-7.7-1/build-cxc/sim/mips' rm -f tmp-hw.h /usr/bin/cc -O2 -pipe -fbracket-depth=1024 -I/mnt/data0/chrisj/rtems/rsb/rtems-source-builder.master/rtems/build/tmp/sb-chrisj/4.11/rtems-mips.bset/opt/rtems/4.11/include ../../../gdb-7.7/sim/mips/../common/gentmap.c -o gentmap -g -O -I. -I../../../gdb-7.7/sim/mips -I../common -I../../../gdb-7.7/sim/mips/../common -I../../include -I../../../gdb-7.7/sim/mips/../..//include -I../../bfd -I../../../gdb-7.7/sim/mips/../..//bfd -I../../opcodes -I../../../gdb-7.7/sim/mips/../..//opcodes echo "/* generated by Makefile */" > tmp-hw.h /bin/sh ../../../gdb-7.7/sim/mips/../common/create-version.sh ../../../gdb-7.7/sim/mips/.. mingw32 mips-rtems4.11 version.c sim_hw=""; \ for hw in $sim_hw ; do \ echo "extern const struct hw_descriptor dv_${hw}_descriptor[];" ; \ done >> tmp-hw.h cd ../igen && gmake gmake[4]: Entering directory `/mnt/data0/chrisj/rtems/rsb/rtems-source-builder.master/rtems/build/mips-rtems4.11-gdb-7.7-1/build-cxc/sim/igen' gcc -O2 -pipe -fbracket-depth=1024 -I/mnt/data0/chrisj/rtems/rsb/rtems-source-builder.master/rtems/build/tmp/sb-chrisj/4.11/rtems-mips.bset/opt/rtems/4.11/include -Wall -Wdeclaration-after-statement -Wpointer-arith -Wno-pointer-sign -Wno-unused -Wunused-value -Wunused-function -Wno-switch -Wno-char-subscripts -Wmissing-prototypes -Wformat-nonliteral -I. -I../../../gdb-7.7/sim/igen -I../../../gdb-7.7/sim/igen/../../include -c ../../../gdb-7.7/sim/igen/igen.c gmake[4]: gcc: Command not found gmake[4]: *** [igen.o] Error 127 gmake[4]: Leaving directory `/mnt/data0/chrisj/rtems/rsb/rtems-source-builder.master/rtems/build/mips-rtems4.11-gdb-7.7-1/build-cxc/sim/igen' ../../../gdb-7.7/sim/mips/../common/gentmap.c:119:7: warning: implicitly declaring library function 'strcmp' with type 'int (const char *, const char *)' if (strcmp (argv[1], "-h") == 0) echo "const struct hw_descriptor *hw_descriptors[] = {" >> tmp-hw.h ^ ../../../gdb-7.7/sim/mips/../common/gentmap.c:119:7: note: please include the header or explicitly provide a declaration for 'strcmp' gmake[3]: *** [../igen/igen] Error 2 gmake[3]: *** Waiting for unfinished jobs.... sim_hw=""; \ for hw in $sim_hw ; do \ echo " dv_${hw}_descriptor," ; \ done >> tmp-hw.h echo " NULL," >> tmp-hw.h echo "};" >> tmp-hw.h mv tmp-hw.h hw-config.h 1 warning generated. gmake[3]: Leaving directory `/mnt/data0/chrisj/rtems/rsb/rtems-source-builder.master/rtems/build/mips-rtems4.11-gdb-7.7-1/build-cxc/sim/mips' gmake[2]: *** [all] Error 1 gmake[2]: Leaving directory `/mnt/data0/chrisj/rtems/rsb/rtems-source-builder.master/rtems/build/mips-rtems4.11-gdb-7.7-1/build-cxc/sim' gmake[1]: *** [all-sim] Error 2 gmake[1]: Leaving directory `/mnt/data0/chrisj/rtems/rsb/rtems-source-builder.master/rtems/build/mips-rtems4.11-gdb-7.7-1/build-cxc' gmake: *** [all] Error 2 shell cmd failed: /bin/sh -ex /mnt/data0/chrisj/rtems/rsb/rtems-source-builder.master/rtems/build/mips-rtems4.11-gdb-7.7-1/doit error: building mips-rtems4.11-gdb-7.7-1