>>> host-elf2flt 2021.08 Extracting gzip -d -c /home/buildroot/autobuild/instance-1/dl/elf2flt/elf2flt-2021.08.tar.gz | tar --strip-components=1 -C /home/buildroot/autobuild/instance-1/output-1/build/host-elf2flt-2021.08 -xf - >>> host-elf2flt 2021.08 Patching Applying 0001-elf2flt-handle-binutils-2.34.patch using patch: patching file configure.ac patching file elf2flt.c Applying 0002-elf2flt.ld-reinstate-32-byte-alignment-for-.data-sec.patch using patch: patching file elf2flt.ld.in Applying 0003-elf2flt-add-riscv-64-bits-support.patch using patch: patching file elf2flt.c Hunk #3 succeeded at 825 (offset 9 lines). patching file elf2flt.ld.in patching file ld-elf2flt.c Applying 0004-elf2flt-create-a-common-helper-function.patch using patch: patching file elf2flt.c Hunk #1 succeeded at 346 (offset 9 lines). Hunk #2 succeeded at 444 (offset 9 lines). Hunk #3 succeeded at 1908 (offset 9 lines). Hunk #4 succeeded at 1946 with fuzz 1 (offset 9 lines). Hunk #5 succeeded at 1975 with fuzz 1 (offset 9 lines). Applying 0005-elf2flt-fix-fatal-error-regression-on-m68k-xtensa-ri.patch using patch: patching file elf2flt.c Hunk #1 succeeded at 349 (offset 9 lines). >>> host-elf2flt 2021.08 Updating config.sub and config.guess for file in config.guess config.sub; do for i in $(find /home/buildroot/autobuild/instance-1/output-1/build/host-elf2flt-2021.08 -name $file); do cp support/gnuconfig/$file $i; done; done >>> host-elf2flt 2021.08 Configuring >>> host-elf2flt 2021.08 Autoreconfiguring configure.ac:203: warning: The macro `AC_HEADER_STDC' is obsolete. configure.ac:203: You should run autoupdate. ./lib/autoconf/headers.m4:704: AC_HEADER_STDC is expanded from... configure.ac:203: the top level configure.ac:239: warning: The macro `AC_TRY_COMPILE' is obsolete. configure.ac:239: You should run autoupdate. ./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from... configure.ac:239: the top level configure.ac:273: warning: AC_OUTPUT should be used without arguments. configure.ac:273: You should run autoupdate. >>> host-elf2flt 2021.08 Patching libtool (cd /home/buildroot/autobuild/instance-1/output-1/build/host-elf2flt-2021.08/ && rm -rf config.cache; PATH="/home/buildroot/autobuild/instance-1/output-1/host/bin:/home/buildroot/autobuild/instance-1/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" PKG_CONFIG="/home/buildroot/autobuild/instance-1/output-1/host/bin/pkg-config" PKG_CONFIG_SYSROOT_DIR="/" PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=1 PKG_CONFIG_ALLOW_SYSTEM_LIBS=1 PKG_CONFIG_LIBDIR="/home/buildroot/autobuild/instance-1/output-1/host/lib/pkgconfig:/home/buildroot/autobuild/instance-1/output-1/host/share/pkgconfig" AR="/usr/bin/ar" AS="/usr/bin/as" LD="/usr/bin/ld" NM="/usr/bin/nm" CC="/usr/bin/gcc" GCC="/usr/bin/gcc" CXX="/usr/bin/g++" CPP="/usr/bin/cpp" OBJCOPY="/usr/bin/objcopy" RANLIB="/usr/bin/ranlib" CPPFLAGS="-I/home/buildroot/autobuild/instance-1/output-1/host/include" CFLAGS="-O2 -I/home/buildroot/autobuild/instance-1/output-1/host/include" CXXFLAGS="-O2 -I/home/buildroot/autobuild/instance-1/output-1/host/include" LDFLAGS="-L/home/buildroot/autobuild/instance-1/output-1/host/lib -Wl,-rpath,/home/buildroot/autobuild/instance-1/output-1/host/lib" INTLTOOL_PERL=/usr/bin/perl CFLAGS="-O2 -I/home/buildroot/autobuild/instance-1/output-1/host/include" LDFLAGS="-L/home/buildroot/autobuild/instance-1/output-1/host/lib -Wl,-rpath,/home/buildroot/autobuild/instance-1/output-1/host/lib" LIBS="-lz -ldl" CONFIG_SITE=/dev/null ./configure --prefix="/home/buildroot/autobuild/instance-1/output-1/host" --sysconfdir="/home/buildroot/autobuild/instance-1/output-1/host/etc" --localstatedir="/home/buildroot/autobuild/instance-1/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 --with-bfd-include-dir=/home/buildroot/autobuild/instance-1/output-1/build/host-binutils-2.36.1/bfd/ --with-binutils-include-dir=/home/buildroot/autobuild/instance-1/output-1/build/host-binutils-2.36.1/include/ --with-libbfd=/home/buildroot/autobuild/instance-1/output-1/build/host-binutils-2.36.1/bfd/libbfd.a --with-libiberty=/home/buildroot/autobuild/instance-1/output-1/build/host-binutils-2.36.1/libiberty/libiberty.a --target=riscv64-buildroot-linux-uclibc --disable-werror ) configure: WARNING: unrecognized options: --enable-shared, --disable-static, --disable-gtk-doc, --disable-gtk-doc-html, --disable-doc, --disable-docs, --disable-documentation, --disable-debug, --with-xmlto, --with-fop, --disable-nls, --disable-dependency-tracking checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking target system type... riscv64-buildroot-linux-uclibc checking for gcc... /usr/bin/gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether the compiler supports GNU C... yes checking whether /usr/bin/gcc accepts -g... yes checking for /usr/bin/gcc option to enable C11 features... none needed checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for wchar.h... yes checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking whether _XOPEN_SOURCE should be defined... no checking for a BSD-compatible install... /usr/bin/install -c checking for deflate in -lz... yes checking for malloc in -lc... yes checking for dlopen in -ldl... yes checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for fcntl.h... yes checking for unistd.h... (cached) yes checking for bfd.h... no checking for an ANSI C-conforming const... yes checking for vprintf... yes checking for dcgettext... yes checking for getline... yes checking for libintl_dgettext... no checking for strsignal... yes configure: creating ./config.status config.status: creating ld-elf2flt.sh config.status: creating Makefile config.status: creating elf2flt.ld configure: WARNING: unrecognized options: --enable-shared, --disable-static, --disable-gtk-doc, --disable-gtk-doc-html, --disable-doc, --disable-docs, --disable-documentation, --disable-debug, --with-xmlto, --with-fop, --disable-nls, --disable-dependency-tracking >>> host-elf2flt 2021.08 Building PATH="/home/buildroot/autobuild/instance-1/output-1/host/bin:/home/buildroot/autobuild/instance-1/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" PKG_CONFIG="/home/buildroot/autobuild/instance-1/output-1/host/bin/pkg-config" PKG_CONFIG_SYSROOT_DIR="/" PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=1 PKG_CONFIG_ALLOW_SYSTEM_LIBS=1 PKG_CONFIG_LIBDIR="/home/buildroot/autobuild/instance-1/output-1/host/lib/pkgconfig:/home/buildroot/autobuild/instance-1/output-1/host/share/pkgconfig" /usr/bin/make -j4 -C /home/buildroot/autobuild/instance-1/output-1/build/host-elf2flt-2021.08/ make[1]: Entering directory '/home/buildroot/autobuild/instance-1/output-1/build/host-elf2flt-2021.08' rm -rf bfd-headers mkdir bfd-headers for f in bfd bfd_stdint; do \ ln -sf /home/buildroot/autobuild/instance-1/output-1/build/host-binutils-2.36.1/bfd/$f.h bfd-headers/$f.h || exit 1; \ done for f in ansidecl diagnostics filenames hashtab libiberty symcat; do \ ln -sf /home/buildroot/autobuild/instance-1/output-1/build/host-binutils-2.36.1/include/$f.h bfd-headers/$f.h || exit 1; \ done ln -sf /home/buildroot/autobuild/instance-1/output-1/build/host-binutils-2.36.1/include/elf bfd-headers/elf touch bfd-headers/.stamp /usr/bin/gcc -MM -I/home/buildroot/autobuild/instance-1/output-1/host/include -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DHAVE_WCHAR_H=1 -DSTDC_HEADERS=1 -D_ALL_SOURCE=1 -D_DARWIN_C_SOURCE=1 -D_GNU_SOURCE=1 -D_HPUX_ALT_XOPEN_SOCKET_API=1 -D_NETBSD_SOURCE=1 -D_OPENBSD_SOURCE=1 -D_POSIX_PTHREAD_SEMANTICS=1 -D__STDC_WANT_IEC_60559_ATTRIBS_EXT__=1 -D__STDC_WANT_IEC_60559_BFP_EXT__=1 -D__STDC_WANT_IEC_60559_DFP_EXT__=1 -D__STDC_WANT_IEC_60559_FUNCS_EXT__=1 -D__STDC_WANT_IEC_60559_TYPES_EXT__=1 -D__STDC_WANT_LIB_EXT2__=1 -D__STDC_WANT_MATH_SPEC_FUNCS__=1 -D_TANDEM_SOURCE=1 -D__EXTENSIONS__=1 -DHAVE_LIBZ=1 -DHAVE_FCNTL_H=1 -DHAVE_UNISTD_H=1 -DHAVE_VPRINTF=1 -DHAVE_DCGETTEXT=1 -DHAVE_GETLINE=1 -DHAVE_STRSIGNAL=1 -DTARGET_riscv64 -DTARGET_CPU=\"riscv64\" -DSYMBOL_PREFIX=\"\" -DBINUTILS_LDSCRIPTDIR=\"/../riscv64-buildroot-linux-uclibc/lib\" -DTARGET_ALIAS=\"riscv64-buildroot-linux-uclibc\" -DNO_GOT_CHECK=1 -DUSE_EMIT_RELOCS=1 -DEMIT_CTOR_DTOR=0 -DALWAYS_RELOC_TEXT=0 -DHAVE_BFD_XTENSA_PDIFF_RELOCS=0 -I. -Ibfd-headers ./*.c > .deps /usr/bin/gcc -Wall -I/home/buildroot/autobuild/instance-1/output-1/build/host-binutils-2.36.1/include -I/home/buildroot/autobuild/instance-1/output-1/build/host-binutils-2.36.1/bfd -O2 -I/home/buildroot/autobuild/instance-1/output-1/host/include -I/home/buildroot/autobuild/instance-1/output-1/host/include -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DHAVE_WCHAR_H=1 -DSTDC_HEADERS=1 -D_ALL_SOURCE=1 -D_DARWIN_C_SOURCE=1 -D_GNU_SOURCE=1 -D_HPUX_ALT_XOPEN_SOCKET_API=1 -D_NETBSD_SOURCE=1 -D_OPENBSD_SOURCE=1 -D_POSIX_PTHREAD_SEMANTICS=1 -D__STDC_WANT_IEC_60559_ATTRIBS_EXT__=1 -D__STDC_WANT_IEC_60559_BFP_EXT__=1 -D__STDC_WANT_IEC_60559_DFP_EXT__=1 -D__STDC_WANT_IEC_60559_FUNCS_EXT__=1 -D__STDC_WANT_IEC_60559_TYPES_EXT__=1 -D__STDC_WANT_LIB_EXT2__=1 -D__STDC_WANT_MATH_SPEC_FUNCS__=1 -D_TANDEM_SOURCE=1 -D__EXTENSIONS__=1 -DHAVE_LIBZ=1 -DHAVE_FCNTL_H=1 -DHAVE_UNISTD_H=1 -DHAVE_VPRINTF=1 -DHAVE_DCGETTEXT=1 -DHAVE_GETLINE=1 -DHAVE_STRSIGNAL=1 -DTARGET_riscv64 -DTARGET_CPU=\"riscv64\" -DSYMBOL_PREFIX=\"\" -DBINUTILS_LDSCRIPTDIR=\"/../riscv64-buildroot-linux-uclibc/lib\" -DTARGET_ALIAS=\"riscv64-buildroot-linux-uclibc\" -DNO_GOT_CHECK=1 -DUSE_EMIT_RELOCS=1 -DEMIT_CTOR_DTOR=0 -DALWAYS_RELOC_TEXT=0 -DHAVE_BFD_XTENSA_PDIFF_RELOCS=0 -I. -Ibfd-headers -c -o elf2flt.o elf2flt.c /usr/bin/gcc -Wall -I/home/buildroot/autobuild/instance-1/output-1/build/host-binutils-2.36.1/include -I/home/buildroot/autobuild/instance-1/output-1/build/host-binutils-2.36.1/bfd -O2 -I/home/buildroot/autobuild/instance-1/output-1/host/include -I/home/buildroot/autobuild/instance-1/output-1/host/include -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DHAVE_WCHAR_H=1 -DSTDC_HEADERS=1 -D_ALL_SOURCE=1 -D_DARWIN_C_SOURCE=1 -D_GNU_SOURCE=1 -D_HPUX_ALT_XOPEN_SOCKET_API=1 -D_NETBSD_SOURCE=1 -D_OPENBSD_SOURCE=1 -D_POSIX_PTHREAD_SEMANTICS=1 -D__STDC_WANT_IEC_60559_ATTRIBS_EXT__=1 -D__STDC_WANT_IEC_60559_BFP_EXT__=1 -D__STDC_WANT_IEC_60559_DFP_EXT__=1 -D__STDC_WANT_IEC_60559_FUNCS_EXT__=1 -D__STDC_WANT_IEC_60559_TYPES_EXT__=1 -D__STDC_WANT_LIB_EXT2__=1 -D__STDC_WANT_MATH_SPEC_FUNCS__=1 -D_TANDEM_SOURCE=1 -D__EXTENSIONS__=1 -DHAVE_LIBZ=1 -DHAVE_FCNTL_H=1 -DHAVE_UNISTD_H=1 -DHAVE_VPRINTF=1 -DHAVE_DCGETTEXT=1 -DHAVE_GETLINE=1 -DHAVE_STRSIGNAL=1 -DTARGET_riscv64 -DTARGET_CPU=\"riscv64\" -DSYMBOL_PREFIX=\"\" -DBINUTILS_LDSCRIPTDIR=\"/../riscv64-buildroot-linux-uclibc/lib\" -DTARGET_ALIAS=\"riscv64-buildroot-linux-uclibc\" -DNO_GOT_CHECK=1 -DUSE_EMIT_RELOCS=1 -DEMIT_CTOR_DTOR=0 -DALWAYS_RELOC_TEXT=0 -DHAVE_BFD_XTENSA_PDIFF_RELOCS=0 -I. -Ibfd-headers -c -o compress.o compress.c /usr/bin/gcc -Wall -I/home/buildroot/autobuild/instance-1/output-1/build/host-binutils-2.36.1/include -I/home/buildroot/autobuild/instance-1/output-1/build/host-binutils-2.36.1/bfd -O2 -I/home/buildroot/autobuild/instance-1/output-1/host/include -I/home/buildroot/autobuild/instance-1/output-1/host/include -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DHAVE_WCHAR_H=1 -DSTDC_HEADERS=1 -D_ALL_SOURCE=1 -D_DARWIN_C_SOURCE=1 -D_GNU_SOURCE=1 -D_HPUX_ALT_XOPEN_SOCKET_API=1 -D_NETBSD_SOURCE=1 -D_OPENBSD_SOURCE=1 -D_POSIX_PTHREAD_SEMANTICS=1 -D__STDC_WANT_IEC_60559_ATTRIBS_EXT__=1 -D__STDC_WANT_IEC_60559_BFP_EXT__=1 -D__STDC_WANT_IEC_60559_DFP_EXT__=1 -D__STDC_WANT_IEC_60559_FUNCS_EXT__=1 -D__STDC_WANT_IEC_60559_TYPES_EXT__=1 -D__STDC_WANT_LIB_EXT2__=1 -D__STDC_WANT_MATH_SPEC_FUNCS__=1 -D_TANDEM_SOURCE=1 -D__EXTENSIONS__=1 -DHAVE_LIBZ=1 -DHAVE_FCNTL_H=1 -DHAVE_UNISTD_H=1 -DHAVE_VPRINTF=1 -DHAVE_DCGETTEXT=1 -DHAVE_GETLINE=1 -DHAVE_STRSIGNAL=1 -DTARGET_riscv64 -DTARGET_CPU=\"riscv64\" -DSYMBOL_PREFIX=\"\" -DBINUTILS_LDSCRIPTDIR=\"/../riscv64-buildroot-linux-uclibc/lib\" -DTARGET_ALIAS=\"riscv64-buildroot-linux-uclibc\" -DNO_GOT_CHECK=1 -DUSE_EMIT_RELOCS=1 -DEMIT_CTOR_DTOR=0 -DALWAYS_RELOC_TEXT=0 -DHAVE_BFD_XTENSA_PDIFF_RELOCS=0 -I. -Ibfd-headers -c -o stubs.o stubs.c /usr/bin/gcc -Wall -I/home/buildroot/autobuild/instance-1/output-1/build/host-binutils-2.36.1/include -I/home/buildroot/autobuild/instance-1/output-1/build/host-binutils-2.36.1/bfd -O2 -I/home/buildroot/autobuild/instance-1/output-1/host/include -I/home/buildroot/autobuild/instance-1/output-1/host/include -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DHAVE_WCHAR_H=1 -DSTDC_HEADERS=1 -D_ALL_SOURCE=1 -D_DARWIN_C_SOURCE=1 -D_GNU_SOURCE=1 -D_HPUX_ALT_XOPEN_SOCKET_API=1 -D_NETBSD_SOURCE=1 -D_OPENBSD_SOURCE=1 -D_POSIX_PTHREAD_SEMANTICS=1 -D__STDC_WANT_IEC_60559_ATTRIBS_EXT__=1 -D__STDC_WANT_IEC_60559_BFP_EXT__=1 -D__STDC_WANT_IEC_60559_DFP_EXT__=1 -D__STDC_WANT_IEC_60559_FUNCS_EXT__=1 -D__STDC_WANT_IEC_60559_TYPES_EXT__=1 -D__STDC_WANT_LIB_EXT2__=1 -D__STDC_WANT_MATH_SPEC_FUNCS__=1 -D_TANDEM_SOURCE=1 -D__EXTENSIONS__=1 -DHAVE_LIBZ=1 -DHAVE_FCNTL_H=1 -DHAVE_UNISTD_H=1 -DHAVE_VPRINTF=1 -DHAVE_DCGETTEXT=1 -DHAVE_GETLINE=1 -DHAVE_STRSIGNAL=1 -DTARGET_riscv64 -DTARGET_CPU=\"riscv64\" -DSYMBOL_PREFIX=\"\" -DBINUTILS_LDSCRIPTDIR=\"/../riscv64-buildroot-linux-uclibc/lib\" -DTARGET_ALIAS=\"riscv64-buildroot-linux-uclibc\" -DNO_GOT_CHECK=1 -DUSE_EMIT_RELOCS=1 -DEMIT_CTOR_DTOR=0 -DALWAYS_RELOC_TEXT=0 -DHAVE_BFD_XTENSA_PDIFF_RELOCS=0 -I. -Ibfd-headers -c -o flthdr.o flthdr.c elf2flt.c:349:8: error: unknown type name 'bool' static bool ^~~~ elf2flt.c: In function 'ro_reloc_data_section_should_be_in_text': elf2flt.c:356:14: error: 'false' undeclared (first use in this function) return false; ^~~~~ elf2flt.c:356:14: note: each undeclared identifier is reported only once for each function it appears in elf2flt.c:358:12: error: 'true' undeclared (first use in this function) return true; ^~~~ elf2flt.c:361:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ : recipe for target 'elf2flt.o' failed make[1]: *** [elf2flt.o] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: Leaving directory '/home/buildroot/autobuild/instance-1/output-1/build/host-elf2flt-2021.08' package/pkg-generic.mk:290: recipe for target '/home/buildroot/autobuild/instance-1/output-1/build/host-elf2flt-2021.08/.stamp_built' failed make: *** [/home/buildroot/autobuild/instance-1/output-1/build/host-elf2flt-2021.08/.stamp_built] Error 2 make: Leaving directory '/home/buildroot/autobuild/instance-1/buildroot'