Invoked as: /home/buildroot/autobuild/instance-0/output-1/build/host-openocd-0.10.0/jimtcl/configure --disable-install-jim "--with-ext=eventloop array clock regexp stdlib tclcompat" --without-ext=default --disable-option-checking --prefix=/home/buildroot/autobuild/instance-0/output-1/host --sysconfdir=/home/buildroot/autobuild/instance-0/output-1/host/etc --localstatedir=/home/buildroot/autobuild/instance-0/output-1/host/var --enable-shared --disable-static --disable-gtk-doc --disable-gtk-doc-html --disable-doc --disable-docs --disable-documentation --disable-debug --with-xmlto=no --with-fop=no --disable-nls --disable-dependency-tracking --enable-ftdi --enable-stlink --enable-ti-icdi --enable-ulink --enable-usb-blaster-2 --enable-jlink --enable-osbdm --enable-opendous --enable-aice --enable-vsllink --enable-usbprog --enable-rlink --enable-armjtagew --enable-parport --enable-jtag_vpi --enable-usb-blaster --enable-amtjtagaccel --enable-gw16012 --enable-presto --enable-openjtag --enable-buspirate --enable-sysfsgpio --oldincludedir=/home/buildroot/autobuild/instance-0/output-1/host/include --includedir=/home/buildroot/autobuild/instance-0/output-1/host/include --disable-doxygen-html --with-jim-shared=no --disable-shared --enable-dummy --disable-werror CC=/usr/bin/gcc "CFLAGS=-O2 -I/home/buildroot/autobuild/instance-0/output-1/host/include" "LDFLAGS=-L/home/buildroot/autobuild/instance-0/output-1/host/lib -Wl,-rpath,/home/buildroot/autobuild/instance-0/output-1/host/lib" CPPFLAGS=-I/home/buildroot/autobuild/instance-0/output-1/host/include PKG_CONFIG=/home/buildroot/autobuild/instance-0/output-1/host/bin/pkg-config PKG_CONFIG_LIBDIR=/home/buildroot/autobuild/instance-0/output-1/host/lib/pkgconfig:/home/buildroot/autobuild/instance-0/output-1/host/share/pkgconfig CPP=/usr/bin/cpp --cache-file=/dev/null --srcdir=. Failed: /usr/bin/gcc -O2 -I/home/buildroot/autobuild/instance-0/output-1/host/include -c conftest__.c -o conftest__.o conftest__.c:1:25: fatal error: crt_externs.h: No such file or directory #include ^ compilation terminated. child process exited abnormally ============ The failed code was: #include int main(void) { return 0; } ============ Failed: /usr/bin/gcc -O2 -I/home/buildroot/autobuild/instance-0/output-1/host/include conftest__.c -o conftest__ /tmp/ccqVmkqS.o: In function `main': conftest__.c:(.text.startup+0x5): undefined reference to `sys_signame' collect2: error: ld returned 1 exit status child process exited abnormally ============ The failed code was: extern void sys_signame(void); int main(void) { sys_signame(); return 0; } ============ Failed: /usr/bin/gcc -O2 -I/home/buildroot/autobuild/instance-0/output-1/host/include -c conftest__.c -o conftest__.o conftest__.c: In function 'main': conftest__.c:3:12: error: size of array '_x' is negative static int _x[sizeof(off_t) == 4 ? 1 : -1] = { 1 }; ^~ child process exited abnormally ============ The failed code was: #include int main(void) { static int _x[sizeof(off_t) == 4 ? 1 : -1] = { 1 }; return 0; } ============ Failed: /usr/bin/gcc -O2 -I/home/buildroot/autobuild/instance-0/output-1/host/include conftest__.c -o conftest__ /tmp/ccqWiJZQ.o: In function `main': conftest__.c:(.text.startup+0x5): undefined reference to `_NSGetEnviron' collect2: error: ld returned 1 exit status child process exited abnormally ============ The failed code was: extern void _NSGetEnviron(void); int main(void) { _NSGetEnviron(); return 0; } ============ Failed: /usr/bin/gcc -O2 -I/home/buildroot/autobuild/instance-0/output-1/host/include -c conftest__.c -o conftest__.o conftest__.c: In function 'main': conftest__.c:4:1: error: too few arguments to function 'mkdir' mkdir("/dummy"); ^~~~~ In file included from conftest__.c:2:0: /usr/include/x86_64-linux-gnu/sys/stat.h:320:12: note: declared here extern int mkdir (const char *__path, __mode_t __mode) ^~~~~ child process exited abnormally ============ The failed code was: #include #include int main(void) { mkdir("/dummy"); return 0; } ============