>>> host-elf2flt 2021.08 Downloading wget --passive-ftp -nd -t 3 -O '/nvmedata/autobuild/instance-25/output-1/build/.elf2flt-2021.08.tar.gz.MLr0jw/output' 'https://github.com/uclinux-dev/elf2flt/archive/v2021.08/elf2flt-2021.08.tar.gz' --2022-08-14 05:41:18-- https://github.com/uclinux-dev/elf2flt/archive/v2021.08/elf2flt-2021.08.tar.gz Resolving github.com (github.com)... 140.82.114.3 Connecting to github.com (github.com)|140.82.114.3|:443... connected. HTTP request sent, awaiting response... 302 Found Location: https://codeload.github.com/uclinux-dev/elf2flt/tar.gz/refs/tags/v2021.08 [following] --2022-08-14 05:41:18-- https://codeload.github.com/uclinux-dev/elf2flt/tar.gz/refs/tags/v2021.08 Resolving codeload.github.com (codeload.github.com)... 140.82.112.10 Connecting to codeload.github.com (codeload.github.com)|140.82.112.10|:443... connected. HTTP request sent, awaiting response... 200 OK Length: unspecified [application/x-gzip] Saving to: '/nvmedata/autobuild/instance-25/output-1/build/.elf2flt-2021.08.tar.gz.MLr0jw/output' 0K .......... .......... .......... .......... .......... 483K 50K .......... .......... .......... .......... .......... 994K 100K .......... ... 109M=0.2s 2022-08-14 05:41:19 (739 KB/s) - '/nvmedata/autobuild/instance-25/output-1/build/.elf2flt-2021.08.tar.gz.MLr0jw/output' saved [116389] elf2flt-2021.08.tar.gz: OK (sha256: 6637432ed58dee2d42d09e3b9a902a0dd3b9975acba0c0b24ef9e4e9253159a9) >>> host-elf2flt 2021.08 Extracting mkdir -p /nvmedata/autobuild/instance-25/output-1/per-package/host-elf2flt/host mkdir -p /nvmedata/autobuild/instance-25/output-1/per-package/host-elf2flt/target gzip -d -c /nvmedata/autobuild/instance-25/dl/elf2flt/elf2flt-2021.08.tar.gz | tar --strip-components=1 -C /nvmedata/autobuild/instance-25/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 /nvmedata/autobuild/instance-25/output-1/build/host-elf2flt-2021.08 -name $file); do cp support/gnuconfig/$file $i; done; done >>> host-elf2flt 2021.08 Configuring mkdir -p /nvmedata/autobuild/instance-25/output-1/per-package/host-elf2flt/host rsync -a --link-dest=/nvmedata/autobuild/instance-25/output-1/per-package/host-autoconf/host/ /nvmedata/autobuild/instance-25/output-1/per-package/host-autoconf/host/ /nvmedata/autobuild/instance-25/output-1/per-package/host-elf2flt/host rsync -a --link-dest=/nvmedata/autobuild/instance-25/output-1/per-package/host-automake/host/ /nvmedata/autobuild/instance-25/output-1/per-package/host-automake/host/ /nvmedata/autobuild/instance-25/output-1/per-package/host-elf2flt/host rsync -a --link-dest=/nvmedata/autobuild/instance-25/output-1/per-package/host-binutils/host/ /nvmedata/autobuild/instance-25/output-1/per-package/host-binutils/host/ /nvmedata/autobuild/instance-25/output-1/per-package/host-elf2flt/host rsync -a --link-dest=/nvmedata/autobuild/instance-25/output-1/per-package/host-ccache/host/ /nvmedata/autobuild/instance-25/output-1/per-package/host-ccache/host/ /nvmedata/autobuild/instance-25/output-1/per-package/host-elf2flt/host rsync -a --link-dest=/nvmedata/autobuild/instance-25/output-1/per-package/host-libtool/host/ /nvmedata/autobuild/instance-25/output-1/per-package/host-libtool/host/ /nvmedata/autobuild/instance-25/output-1/per-package/host-elf2flt/host rsync -a --link-dest=/nvmedata/autobuild/instance-25/output-1/per-package/host-skeleton/host/ /nvmedata/autobuild/instance-25/output-1/per-package/host-skeleton/host/ /nvmedata/autobuild/instance-25/output-1/per-package/host-elf2flt/host rsync -a --link-dest=/nvmedata/autobuild/instance-25/output-1/per-package/host-zlib/host/ /nvmedata/autobuild/instance-25/output-1/per-package/host-zlib/host/ /nvmedata/autobuild/instance-25/output-1/per-package/host-elf2flt/host mkdir -p /nvmedata/autobuild/instance-25/output-1/per-package/host-elf2flt/target rsync -a --link-dest=/nvmedata/autobuild/instance-25/output-1/per-package/host-autoconf/target/ /nvmedata/autobuild/instance-25/output-1/per-package/host-autoconf/target/ /nvmedata/autobuild/instance-25/output-1/per-package/host-elf2flt/target rsync -a --link-dest=/nvmedata/autobuild/instance-25/output-1/per-package/host-automake/target/ /nvmedata/autobuild/instance-25/output-1/per-package/host-automake/target/ /nvmedata/autobuild/instance-25/output-1/per-package/host-elf2flt/target rsync -a --link-dest=/nvmedata/autobuild/instance-25/output-1/per-package/host-binutils/target/ /nvmedata/autobuild/instance-25/output-1/per-package/host-binutils/target/ /nvmedata/autobuild/instance-25/output-1/per-package/host-elf2flt/target rsync -a --link-dest=/nvmedata/autobuild/instance-25/output-1/per-package/host-ccache/target/ /nvmedata/autobuild/instance-25/output-1/per-package/host-ccache/target/ /nvmedata/autobuild/instance-25/output-1/per-package/host-elf2flt/target rsync -a --link-dest=/nvmedata/autobuild/instance-25/output-1/per-package/host-libtool/target/ /nvmedata/autobuild/instance-25/output-1/per-package/host-libtool/target/ /nvmedata/autobuild/instance-25/output-1/per-package/host-elf2flt/target rsync -a --link-dest=/nvmedata/autobuild/instance-25/output-1/per-package/host-skeleton/target/ /nvmedata/autobuild/instance-25/output-1/per-package/host-skeleton/target/ /nvmedata/autobuild/instance-25/output-1/per-package/host-elf2flt/target rsync -a --link-dest=/nvmedata/autobuild/instance-25/output-1/per-package/host-zlib/target/ /nvmedata/autobuild/instance-25/output-1/per-package/host-zlib/target/ /nvmedata/autobuild/instance-25/output-1/per-package/host-elf2flt/target >>> 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 /nvmedata/autobuild/instance-25/output-1/build/host-elf2flt-2021.08/ && rm -rf config.cache; PATH="/nvmedata/autobuild/instance-25/output-1/per-package/host-elf2flt/host/bin:/nvmedata/autobuild/instance-25/output-1/per-package/host-elf2flt/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin" PKG_CONFIG="/nvmedata/autobuild/instance-25/output-1/per-package/host-elf2flt/host/bin/pkg-config" PKG_CONFIG_SYSROOT_DIR="/" PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=1 PKG_CONFIG_ALLOW_SYSTEM_LIBS=1 PKG_CONFIG_LIBDIR="/nvmedata/autobuild/instance-25/output-1/per-package/host-elf2flt/host/lib/pkgconfig:/nvmedata/autobuild/instance-25/output-1/per-package/host-elf2flt/host/share/pkgconfig" AR="/usr/bin/ar" AS="/usr/bin/as" LD="/usr/bin/ld" NM="/usr/bin/nm" CC="/nvmedata/autobuild/instance-25/output-1/per-package/host-elf2flt/host/bin/ccache /usr/bin/gcc" GCC="/nvmedata/autobuild/instance-25/output-1/per-package/host-elf2flt/host/bin/ccache /usr/bin/gcc" CXX="/nvmedata/autobuild/instance-25/output-1/per-package/host-elf2flt/host/bin/ccache /usr/bin/g++" CPP="/usr/bin/cpp" OBJCOPY="/usr/bin/objcopy" RANLIB="/usr/bin/ranlib" CPPFLAGS="-I/nvmedata/autobuild/instance-25/output-1/per-package/host-elf2flt/host/include" CFLAGS="-O2 -I/nvmedata/autobuild/instance-25/output-1/per-package/host-elf2flt/host/include" CXXFLAGS="-O2 -I/nvmedata/autobuild/instance-25/output-1/per-package/host-elf2flt/host/include" LDFLAGS="-L/nvmedata/autobuild/instance-25/output-1/per-package/host-elf2flt/host/lib -Wl,-rpath,/nvmedata/autobuild/instance-25/output-1/per-package/host-elf2flt/host/lib" INTLTOOL_PERL=/usr/bin/perl CFLAGS="-O2 -I/nvmedata/autobuild/instance-25/output-1/per-package/host-elf2flt/host/include" LDFLAGS="-L/nvmedata/autobuild/instance-25/output-1/per-package/host-elf2flt/host/lib -Wl,-rpath,/nvmedata/autobuild/instance-25/output-1/per-package/host-elf2flt/host/lib" LIBS="-lz -ldl" CONFIG_SITE=/dev/null ./configure --prefix="/nvmedata/autobuild/instance-25/output-1/per-package/host-elf2flt/host" --sysconfdir="/nvmedata/autobuild/instance-25/output-1/per-package/host-elf2flt/host/etc" --localstatedir="/nvmedata/autobuild/instance-25/output-1/per-package/host-elf2flt/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=/nvmedata/autobuild/instance-25/output-1/build/host-binutils-2.36.1/bfd/ --with-binutils-include-dir=/nvmedata/autobuild/instance-25/output-1/build/host-binutils-2.36.1/include/ --with-libbfd=/nvmedata/autobuild/instance-25/output-1/build/host-binutils-2.36.1/bfd/libbfd.a --with-libiberty=/nvmedata/autobuild/instance-25/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... /nvmedata/autobuild/instance-25/output-1/per-package/host-elf2flt/host/bin/ccache /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 /nvmedata/autobuild/instance-25/output-1/per-package/host-elf2flt/host/bin/ccache /usr/bin/gcc accepts -g... yes checking for /nvmedata/autobuild/instance-25/output-1/per-package/host-elf2flt/host/bin/ccache /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... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for fcntl.h... yes checking for unistd.h... (cached) yes checking for bfd.h... yes 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="/nvmedata/autobuild/instance-25/output-1/per-package/host-elf2flt/host/bin:/nvmedata/autobuild/instance-25/output-1/per-package/host-elf2flt/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin" PKG_CONFIG="/nvmedata/autobuild/instance-25/output-1/per-package/host-elf2flt/host/bin/pkg-config" PKG_CONFIG_SYSROOT_DIR="/" PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=1 PKG_CONFIG_ALLOW_SYSTEM_LIBS=1 PKG_CONFIG_LIBDIR="/nvmedata/autobuild/instance-25/output-1/per-package/host-elf2flt/host/lib/pkgconfig:/nvmedata/autobuild/instance-25/output-1/per-package/host-elf2flt/host/share/pkgconfig" /usr/bin/make -C /nvmedata/autobuild/instance-25/output-1/build/host-elf2flt-2021.08/ make[1]: Entering directory '/nvmedata/autobuild/instance-25/output-1/build/host-elf2flt-2021.08' rm -rf bfd-headers mkdir bfd-headers for f in bfd bfd_stdint; do \ ln -sf /nvmedata/autobuild/instance-25/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 /nvmedata/autobuild/instance-25/output-1/build/host-binutils-2.36.1/include/$f.h bfd-headers/$f.h || exit 1; \ done ln -sf /nvmedata/autobuild/instance-25/output-1/build/host-binutils-2.36.1/include/elf bfd-headers/elf touch bfd-headers/.stamp /nvmedata/autobuild/instance-25/output-1/per-package/host-elf2flt/host/bin/ccache /usr/bin/gcc -MM -I/nvmedata/autobuild/instance-25/output-1/per-package/host-elf2flt/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_BFD_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 /nvmedata/autobuild/instance-25/output-1/per-package/host-elf2flt/host/bin/ccache /usr/bin/gcc -Wall -I/nvmedata/autobuild/instance-25/output-1/build/host-binutils-2.36.1/include -I/nvmedata/autobuild/instance-25/output-1/build/host-binutils-2.36.1/bfd -O2 -I/nvmedata/autobuild/instance-25/output-1/per-package/host-elf2flt/host/include -I/nvmedata/autobuild/instance-25/output-1/per-package/host-elf2flt/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_BFD_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 elf2flt.c:349:8: error: unknown type name 'bool' 349 | 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) 356 | return false; | ^~~~~ elf2flt.c:95:1: note: 'false' is defined in header ''; did you forget to '#include '? 94 | #include "compress.h" +++ |+#include 95 | elf2flt.c:356:14: note: each undeclared identifier is reported only once for each function it appears in 356 | return false; | ^~~~~ elf2flt.c:358:12: error: 'true' undeclared (first use in this function) 358 | return true; | ^~~~ elf2flt.c:358:12: note: 'true' is defined in header ''; did you forget to '#include '? elf2flt.c:361:1: warning: control reaches end of non-void function [-Wreturn-type] 361 | } | ^ make[1]: *** [: elf2flt.o] Error 1 make[1]: Leaving directory '/nvmedata/autobuild/instance-25/output-1/build/host-elf2flt-2021.08' make: *** [package/pkg-generic.mk:293: /nvmedata/autobuild/instance-25/output-1/build/host-elf2flt-2021.08/.stamp_built] Error 2 make: Leaving directory '/nvmedata/autobuild/instance-25/buildroot'