>>> host-elf2flt 2021.08 Extracting gzip -d -c /home/autobuild/autobuild/instance-14/dl/elf2flt/elf2flt-2021.08.tar.gz | tar --strip-components=1 -C /home/autobuild/autobuild/instance-14/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 8 lines). Applying 0006-elf2flt-xtensa-fix-text-relocations.patch using patch: patching file elf2flt.c Hunk #1 succeeded at 833 with fuzz 1 (offset 25 lines). >>> host-elf2flt 2021.08 Updating config.sub and config.guess for file in config.guess config.sub; do for i in $(find /home/autobuild/autobuild/instance-14/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/autobuild/autobuild/instance-14/output-1/build/host-elf2flt-2021.08/ && rm -rf config.cache; PATH="/home/autobuild/autobuild/instance-14/output-1/host/bin:/home/autobuild/autobuild/instance-14/output-1/host/sbin:/home/autobuild/make:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl" PKG_CONFIG="/home/autobuild/autobuild/instance-14/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/autobuild/autobuild/instance-14/output-1/host/lib/pkgconfig:/home/autobuild/autobuild/instance-14/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/autobuild/autobuild/instance-14/output-1/host/include" CFLAGS="-O2 -I/home/autobuild/autobuild/instance-14/output-1/host/include" CXXFLAGS="-O2 -I/home/autobuild/autobuild/instance-14/output-1/host/include" LDFLAGS="-L/home/autobuild/autobuild/instance-14/output-1/host/lib -Wl,-rpath,/home/autobuild/autobuild/instance-14/output-1/host/lib" INTLTOOL_PERL=/usr/bin/perl CFLAGS="-O2 -I/home/autobuild/autobuild/instance-14/output-1/host/include" LDFLAGS="-L/home/autobuild/autobuild/instance-14/output-1/host/lib -Wl,-rpath,/home/autobuild/autobuild/instance-14/output-1/host/lib" LIBS="-lz -ldl" CONFIG_SITE=/dev/null ./configure --prefix="/home/autobuild/autobuild/instance-14/output-1/host" --sysconfdir="/home/autobuild/autobuild/instance-14/output-1/host/etc" --localstatedir="/home/autobuild/autobuild/instance-14/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/autobuild/autobuild/instance-14/output-1/build/host-binutils-2.40/bfd/ --with-binutils-include-dir=/home/autobuild/autobuild/instance-14/output-1/build/host-binutils-2.40/include/ --with-libbfd=/home/autobuild/autobuild/instance-14/output-1/build/host-binutils-2.40/bfd/libbfd.a --with-libiberty=/home/autobuild/autobuild/instance-14/output-1/build/host-binutils-2.40/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... aarch64-unknown-linux-gnu checking host system type... aarch64-unknown-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... /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="/home/autobuild/autobuild/instance-14/output-1/host/bin:/home/autobuild/autobuild/instance-14/output-1/host/sbin:/home/autobuild/make:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl" PKG_CONFIG="/home/autobuild/autobuild/instance-14/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/autobuild/autobuild/instance-14/output-1/host/lib/pkgconfig:/home/autobuild/autobuild/instance-14/output-1/host/share/pkgconfig" /home/autobuild/make/make -j1 -C /home/autobuild/autobuild/instance-14/output-1/build/host-elf2flt-2021.08/ make[1]: Entering directory '/home/autobuild/autobuild/instance-14/output-1/build/host-elf2flt-2021.08' rm -rf bfd-headers mkdir bfd-headers for f in bfd bfd_stdint; do \ ln -sf /home/autobuild/autobuild/instance-14/output-1/build/host-binutils-2.40/bfd/$f.h bfd-headers/$f.h || exit 1; \ done for f in ansidecl diagnostics filenames hashtab libiberty symcat; do \ ln -sf /home/autobuild/autobuild/instance-14/output-1/build/host-binutils-2.40/include/$f.h bfd-headers/$f.h || exit 1; \ done ln -sf /home/autobuild/autobuild/instance-14/output-1/build/host-binutils-2.40/include/elf bfd-headers/elf touch bfd-headers/.stamp /usr/bin/gcc -MM -I/home/autobuild/autobuild/instance-14/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_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 /usr/bin/gcc -Wall -I/home/autobuild/autobuild/instance-14/output-1/build/host-binutils-2.40/include -I/home/autobuild/autobuild/instance-14/output-1/build/host-binutils-2.40/bfd -O2 -I/home/autobuild/autobuild/instance-14/output-1/host/include -I/home/autobuild/autobuild/instance-14/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_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: In function 'dump_symbols': elf2flt.c:223:38: error: expected ')' before 'BFD_VMA_FMT' 223 | printf(" NAME=%s VALUE=0x%"BFD_VMA_FMT"x\n", | ~ ^~~~~~~~~~~ | ) elf2flt.c:223:25: warning: format '%s' expects a matching 'char *' argument [-Wformat=] 223 | printf(" NAME=%s VALUE=0x%"BFD_VMA_FMT"x\n", | ~^ | | | char * elf2flt.c:223:36: warning: spurious trailing '%' in format [-Wformat=] 223 | printf(" NAME=%s VALUE=0x%"BFD_VMA_FMT"x\n", | ^ elf2flt.c: In function 'output_relocs': elf2flt.c:469:56: error: expected ')' before 'BFD_VMA_FMT' 469 | printf(" RELOCS: %s [%p]: flags=0x%x vma=0x%"BFD_VMA_FMT"x\n", | ~ ^~~~~~~~~~~ | ) elf2flt.c:469:29: warning: format '%s' expects a matching 'char *' argument [-Wformat=] 469 | printf(" RELOCS: %s [%p]: flags=0x%x vma=0x%"BFD_VMA_FMT"x\n", | ~^ | | | char * elf2flt.c:469:33: warning: format '%p' expects a matching 'void *' argument [-Wformat=] 469 | printf(" RELOCS: %s [%p]: flags=0x%x vma=0x%"BFD_VMA_FMT"x\n", | ~^ | | | void * elf2flt.c:469:46: warning: format '%x' expects a matching 'unsigned int' argument [-Wformat=] 469 | printf(" RELOCS: %s [%p]: flags=0x%x vma=0x%"BFD_VMA_FMT"x\n", | ~^ | | | unsigned int elf2flt.c:469:54: warning: spurious trailing '%' in format [-Wformat=] 469 | printf(" RELOCS: %s [%p]: flags=0x%x vma=0x%"BFD_VMA_FMT"x\n", | ^ elf2flt.c:1649:73: error: expected ')' before 'BFD_VMA_FMT' 1649 | printf(" RELOC[%d]: offset=0x%"BFD_VMA_FMT"x symbol=%s%s " | ~ ^~~~~~~~~~~ | ) elf2flt.c:1649:58: warning: format '%d' expects a matching 'int' argument [-Wformat=] 1649 | printf(" RELOC[%d]: offset=0x%"BFD_VMA_FMT"x symbol=%s%s " | ~^ | | | int elf2flt.c:1649:71: warning: spurious trailing '%' in format [-Wformat=] 1649 | printf(" RELOC[%d]: offset=0x%"BFD_VMA_FMT"x symbol=%s%s " | ^ elf2flt.c:374:37: warning: variable 'section_name' set but not used [-Wunused-but-set-variable] 374 | const char *sym_name, *section_name; | ^~~~~~~~~~~~ make[1]: *** [: elf2flt.o] Error 1 make[1]: Leaving directory '/home/autobuild/autobuild/instance-14/output-1/build/host-elf2flt-2021.08' make: *** [package/pkg-generic.mk:293: /home/autobuild/autobuild/instance-14/output-1/build/host-elf2flt-2021.08/.stamp_built] Error 2 make: Leaving directory '/home/autobuild/autobuild/instance-14/buildroot'