>>> gdb 10.1 Extracting xzcat /tmp/instance-1/dl/gdb/gdb-10.1.tar.xz | tar --strip-components=1 -C /tmp/instance-1/output-1/build/gdb-10.1 -xf - >>> gdb 10.1 Patching Applying 0001-ppc-ptrace-Define-pt_regs-uapi_pt_regs-on-GLIBC-syst.patch using patch: patching file gdb/nat/ppc-linux.h patching file gdbserver/linux-ppc-low.cc Applying 0002-sh-ptrace-Define-pt_-dsp-regs-uapi_pt_-dsp-regs-on-G.patch using patch: patching file gdbserver/linux-sh-low.cc Applying 0003-use-asm-sgidefs.h.patch using patch: patching file gdb/mips-linux-nat.c Applying 0004-gdbserver-fix-build-for-m68k.patch using patch: patching file gdbserver/linux-m68k-low.cc Applying 0005-nat-fork-inferior-include-linux-ptrace.h.patch using patch: patching file gdb/nat/fork-inferior.c >>> gdb 10.1 Updating config.sub and config.guess for file in config.guess config.sub; do for i in $(find /tmp/instance-1/output-1/build/gdb-10.1 -name $file); do cp support/gnuconfig/$file $i; done; done >>> gdb 10.1 Patching libtool patching file /tmp/instance-1/output-1/build/gdb-10.1/ltmain.sh Hunk #1 succeeded at 1225 (offset 11 lines). Hunk #2 succeeded at 2250 (offset 11 lines). Hunk #3 succeeded at 4318 (offset -114 lines). Hunk #4 succeeded at 4328 (offset -114 lines). Hunk #5 succeeded at 4610 (offset -114 lines). Hunk #6 succeeded at 4883 (offset -111 lines). Hunk #7 succeeded at 5627 (offset -111 lines). Hunk #8 succeeded at 5785 (offset -111 lines). Hunk #9 succeeded at 8269 (offset -109 lines). >>> gdb 10.1 Configuring (cd /tmp/instance-1/output-1/build/gdb-10.1/gdb/gdbserver && rm -rf config.cache && PATH="/tmp/instance-1/output-1/host/bin:/tmp/instance-1/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin" AR="/tmp/instance-1/output-1/host/bin/riscv64-linux-ar" AS="/tmp/instance-1/output-1/host/bin/riscv64-linux-as" LD="/tmp/instance-1/output-1/host/bin/riscv64-linux-ld" NM="/tmp/instance-1/output-1/host/bin/riscv64-linux-nm" CC="/tmp/instance-1/output-1/host/bin/riscv64-linux-gcc" GCC="/tmp/instance-1/output-1/host/bin/riscv64-linux-gcc" CPP="/tmp/instance-1/output-1/host/bin/riscv64-linux-cpp" CXX="/tmp/instance-1/output-1/host/bin/riscv64-linux-g++" FC="/tmp/instance-1/output-1/host/bin/riscv64-linux-gfortran" F77="/tmp/instance-1/output-1/host/bin/riscv64-linux-gfortran" RANLIB="/tmp/instance-1/output-1/host/bin/riscv64-linux-ranlib" READELF="/tmp/instance-1/output-1/host/bin/riscv64-linux-readelf" STRIP="/tmp/instance-1/output-1/host/bin/riscv64-linux-strip" OBJCOPY="/tmp/instance-1/output-1/host/bin/riscv64-linux-objcopy" OBJDUMP="/tmp/instance-1/output-1/host/bin/riscv64-linux-objdump" AR_FOR_BUILD="/usr/bin/ar" AS_FOR_BUILD="/usr/bin/as" CC_FOR_BUILD="/usr/bin/gcc" GCC_FOR_BUILD="/usr/bin/gcc" CXX_FOR_BUILD="/usr/bin/g++" LD_FOR_BUILD="/usr/bin/ld" CPPFLAGS_FOR_BUILD="-I/tmp/instance-1/output-1/host/include" CFLAGS_FOR_BUILD="-O2 -I/tmp/instance-1/output-1/host/include" CXXFLAGS_FOR_BUILD="-O2 -I/tmp/instance-1/output-1/host/include" LDFLAGS_FOR_BUILD="-L/tmp/instance-1/output-1/host/lib -Wl,-rpath,/tmp/instance-1/output-1/host/lib" FCFLAGS_FOR_BUILD="" DEFAULT_ASSEMBLER="/tmp/instance-1/output-1/host/bin/riscv64-linux-as" DEFAULT_LINKER="/tmp/instance-1/output-1/host/bin/riscv64-linux-ld" CPPFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64" CFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -static" CXXFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -static -static" LDFLAGS=" -static" FCFLAGS=" -Os -g0 -static" FFLAGS=" -Os -g0 -static" PKG_CONFIG="/tmp/instance-1/output-1/host/bin/pkg-config" STAGING_DIR="/tmp/instance-1/output-1/host/riscv64-buildroot-linux-musl/sysroot" INTLTOOL_PERL=/usr/bin/perl ac_cv_lbl_unaligned_fail=yes ac_cv_func_mmap_fixed_mapped=yes ac_cv_func_memcmp_working=yes ac_cv_have_decl_malloc=yes gl_cv_func_malloc_0_nonnull=yes ac_cv_func_malloc_0_nonnull=yes ac_cv_func_calloc_0_nonnull=yes ac_cv_func_realloc_0_nonnull=yes lt_cv_sys_lib_search_path_spec="" ac_cv_c_bigendian=no gt_cv_func_gnugettext1_libc=yes gt_cv_func_gnugettext2_libc=yes ac_cv_type_uintptr_t=yes gt_cv_func_gettext_libintl=yes ac_cv_func_dcgettext=yes gdb_cv_func_sigsetjmp=yes bash_cv_func_strcoll_broken=no bash_cv_must_reinstall_sighandlers=no bash_cv_func_sigsetjmp=present bash_cv_have_mbstate_t=yes gdb_cv_func_sigsetjmp=yes gl_cv_func_gettimeofday_clobber=no gl_cv_func_working_strerror=yes gl_cv_func_strerror_0_works=yes gdb_cv_prfpregset_t_broken=no CONFIG_SITE=/dev/null ./configure --target=riscv64-buildroot-linux-musl --host=riscv64-buildroot-linux-musl --build=x86_64-pc-linux-gnu --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --localstatedir=/var --program-prefix="" --disable-gtk-doc --disable-gtk-doc-html --disable-doc --disable-docs --disable-documentation --with-xmlto=no --with-fop=no --disable-dependency-tracking --enable-ipv6 --disable-nls --enable-static --disable-shared --without-uiout --disable-gdbtk --without-x --disable-sim --disable-binutils --disable-install-libbfd --disable-ld --disable-gas --disable-gprof --without-included-gettext --disable-werror --enable-static --without-mpfr --disable-gdb --without-curses --enable-gdbserver --disable-inprocess-agent --disable-tui --without-python --with-expat --with-libexpat-prefix=/tmp/instance-1/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr --without-lzma --with-zlib ) /bin/bash: line 0: cd: /tmp/instance-1/output-1/build/gdb-10.1/gdb/gdbserver: No such file or directory make: *** [package/pkg-generic.mk:260: /tmp/instance-1/output-1/build/gdb-10.1/.stamp_configured] Error 1 make: Leaving directory '/tmp/instance-1/buildroot'