Open TONG369 opened 4 years ago
you don't need meta-musl layer anymore with newer yocto releases.
I think you are on an older release as well where gdb did not support RISCV fully, can you update to latest release or master and retry please ?
Thank you very much for replying! My current version of yocto is master. When I input MACHINE=freedom-u540 TCLIBC=musl bitbake core-image-full-cmdline-ncnn can be executed normally, while executing MACHINE=freedom-u540 TCLIBC=musl bitbake core-image-full-cmdline-ncnn-dev is wrong.Is there a conflict between gdb8.3 and musl?The execution environment of the them is the same. I don't know the reason for the error. I am looking forward to your reply!Thank you ! @kraj @incandescant @troth @jadonk
The gdb version does not match the current one on master. it was updated to 9.2. gcc is now 10.1. That looks more like dunfell.
meta-riscv has a 8.3 gdb recipe, so I wonder if meta-riscv in use is not latest master can you paste the output Build configuration that bitbake prints as the beginning of build.
hello~this is the output build configuration that bitbake prints as the beginning of build.
@kraj @incandescant @troth @jadonk @kergoth @iwamatsu
I cant associate the commit in meta-riscv to any upstream commit. can you paste top commit msg in meta-riscv perhaps that will give some hint
Thank you for your reply, I will go there and ask.
Hello~Thank you very much for your contribution to this project. At present, I have integrated the musl C library on yocto. Reference link is: https://github.com/kraj/meta-musl. I added the layer to bblayers.conf and also added TCLIBC = "musl" to local.conf I initialized the environment and then run bitbake core-image-full-cmdline-dev, I have got the output:
At first, I thought there were broken packages. First things first, try cleaning it and rebuilding: bitbake -c cleanall -f core-image-full-cmdline-ncnn-dev. But when I compile again, I still get the following output, why is this? How should it be solved? log.do_compile.310737.txt
NOTE: recipe gettext-0.19.8.1-r0: task do_populate_sysroot: Succeeded NOTE: recipe gcc-9.2.0-r0: task do_populate_sysroot: Succeeded NOTE: recipe strace-5.2-r0: task do_populate_sysroot: Succeeded NOTE: recipe sysprof-3.32.0-r0: task do_populate_sysroot: Succeeded ERROR: gdb-8.3-r0 do_compile: oe_runmake failed ERROR: gdb-8.3-r0 do_compile: Execution of '/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/temp/run.do_compile.310737' failed with exit code 1: make[1]: Entering directory '/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/build-riscv64-oe-linux-musl' make[1]: Nothing to be done for 'all-target'. make[2]: Entering directory '/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/build-riscv64-oe-linux-musl/intl' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/build-riscv64-oe-linux-musl/intl' make[2]: Entering directory '/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/build-riscv64-oe-linux-musl/etc' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/build-riscv64-oe-linux-musl/etc' make[2]: Entering directory '/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/build-riscv64-oe-linux-musl/libdecnumber' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/build-riscv64-oe-linux-musl/libdecnumber' make[2]: Entering directory '/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/build-riscv64-oe-linux-musl/libiberty' make[3]: Entering directory '/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/build-riscv64-oe-linux-musl/libiberty/testsuite' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/build-riscv64-oe-linux-musl/libiberty/testsuite' make[2]: Leaving directory '/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/build-riscv64-oe-linux-musl/libiberty' make[2]: Entering directory '/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/build-riscv64-oe-linux-musl/zlib' true "AR_FLAGS=rc" "CC_FOR_BUILD=gcc " "CFLAGS=-O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0=/usr/src/debug/gdb/8.3-r0 -fdebug-prefix-map=/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0=/usr/src/debug/gdb/8.3-r0 -fdebug-prefix-map=/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/recipe-sysroot= -fdebug-prefix-map=/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/recipe-sysroot-native= " "CXXFLAGS=-O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0=/usr/src/debug/gdb/8.3-r0 -fdebug-prefix-map=/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0=/usr/src/debug/gdb/8.3-r0 -fdebug-prefix-map=/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/recipe-sysroot= -fdebug-prefix-map=/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/recipe-sysroot-native= -fvisibility-inlines-hidden" "CFLAGS_FOR_BUILD=-isystem/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/recipe-sysroot-native/usr/include -O2 -pipe" "CFLAGS_FOR_TARGET=-O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0=/usr/src/debug/gdb/8.3-r0 -fdebug-prefix-map=/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0=/usr/src/debug/gdb/8.3-r0 -fdebug-prefix-map=/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/recipe-sysroot= -fdebug-prefix-map=/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/recipe-sysroot-native= " "INSTALL=/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/hosttools/install -c" "INSTALL_DATA=/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/hosttools/install -c -m 644" "INSTALL_PROGRAM=/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/hosttools/install -c" "INSTALL_SCRIPT=/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/hosttools/install -c" "LDFLAGS=-static-libstdc++ -static-libgcc -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -fstack-protector-strong -Wl,-z,relro,-z,now" "LIBCFLAGS=-O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0=/usr/src/debug/gdb/8.3-r0 -fdebug-prefix-map=/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0=/usr/src/debug/gdb/8.3-r0 -fdebug-prefix-map=/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/recipe-sysroot= -fdebug-prefix-map=/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/recipe-sysroot-native= " "LIBCFLAGS_FOR_TARGET=-O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0=/usr/src/debug/gdb/8.3-r0 -fdebug-prefix-map=/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0=/usr/src/debug/gdb/8.3-r0 -fdebug-prefix-map=/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/recipe-sysroot= -fdebug-prefix-map=/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/recipe-sysroot-native= " "MAKE=make" "MAKEINFO=makeinfo --split-size=5000000 --split-size=5000000 " "PICFLAG=" "PICFLAG_FOR_TARGET=" "SHELL=/bin/bash" "EXPECT=expect" "RUNTEST=runtest" "RUNTESTFLAGS=" "exec_prefix=/usr" "infodir=/usr/share/info" "libdir=/usr/lib" "prefix=/usr" "tooldir=/usr/riscv64-oe-linux-musl" "AR=riscv64-oe-linux-musl-gcc-ar" "AS=riscv64-oe-linux-musl-as " "CC=riscv64-oe-linux-musl-gcc -fstack-protector-strong -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0=/usr/src/debug/gdb/8.3-r0 -fdebug-prefix-map=/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0=/usr/src/debug/gdb/8.3-r0 -fdebug-prefix-map=/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/recipe-sysroot= -fdebug-prefix-map=/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/recipe-sysroot-native= --sysroot=/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/recipe-sysroot" "CXX=riscv64-oe-linux-musl-g++ -fstack-protector-strong -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0=/usr/src/debug/gdb/8.3-r0 -fdebug-prefix-map=/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0=/usr/src/debug/gdb/8.3-r0 -fdebug-prefix-map=/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/recipe-sysroot= -fdebug-prefix-map=/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/recipe-sysroot-native= --sysroot=/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/recipe-sysroot" "LD=riscv64-oe-linux-musl-ld --sysroot=/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/recipe-sysroot " "LIBCFLAGS=-O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0=/usr/src/debug/gdb/8.3-r0 -fdebug-prefix-map=/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0=/usr/src/debug/gdb/8.3-r0 -fdebug-prefix-map=/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/recipe-sysroot= -fdebug-prefix-map=/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/recipe-sysroot-native= " "NM=riscv64-oe-linux-musl-nm" "PICFLAG=" "RANLIB=riscv64-oe-linux-musl-gcc-ranlib" "DESTDIR=" DO=all multi-do # make make[2]: Leaving directory '/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/build-riscv64-oe-linux-musl/zlib' make[2]: Entering directory '/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/build-riscv64-oe-linux-musl/bfd' Making info in doc make[3]: Entering directory '/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/build-riscv64-oe-linux-musl/bfd/doc' make[3]: Leaving directory '/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/build-riscv64-oe-linux-musl/bfd/doc' Making info in po make[3]: Entering directory '/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/build-riscv64-oe-linux-musl/bfd/po' make[3]: Nothing to be done for 'info'. make[3]: Leaving directory '/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/build-riscv64-oe-linux-musl/bfd/po' make[3]: Entering directory '/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/build-riscv64-oe-linux-musl/bfd' make[3]: Nothing to be done for 'info-am'. make[3]: Leaving directory '/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/build-riscv64-oe-linux-musl/bfd' make all-recursive make[3]: Entering directory '/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/build-riscv64-oe-linux-musl/bfd' Making all in doc make[4]: Entering directory '/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/build-riscv64-oe-linux-musl/bfd/doc' make[4]: Leaving directory '/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/build-riscv64-oe-linux-musl/bfd/doc' Making all in po make[4]: Entering directory '/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/build-riscv64-oe-linux-musl/bfd/po' make[4]: Nothing to be done for 'all'. make[4]: Leaving directory '/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/build-riscv64-oe-linux-musl/bfd/po' make[4]: Entering directory '/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/build-riscv64-oe-linux-musl/bfd' make[4]: Leaving directory '/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/build-riscv64-oe-linux-musl/bfd' make[3]: Leaving directory '/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/build-riscv64-oe-linux-musl/bfd' make[2]: Leaving directory '/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/build-riscv64-oe-linux-musl/bfd' make[2]: Entering directory '/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/build-riscv64-oe-linux-musl/opcodes' make all-recursive make[3]: Entering directory '/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/build-riscv64-oe-linux-musl/opcodes' Making all in . make[4]: Entering directory '/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/build-riscv64-oe-linux-musl/opcodes' make[4]: Leaving directory '/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/build-riscv64-oe-linux-musl/opcodes' Making all in po make[4]: Entering directory '/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/build-riscv64-oe-linux-musl/opcodes/po' make[4]: Nothing to be done for 'all'. make[4]: Leaving directory '/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/build-riscv64-oe-linux-musl/opcodes/po' make[3]: Leaving directory '/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/build-riscv64-oe-linux-musl/opcodes' make[2]: Leaving directory '/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/build-riscv64-oe-linux-musl/opcodes' make[2]: Entering directory '/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/build-riscv64-oe-linux-musl/gdb' CONFIG_HEADERS=config.h:config.in \ CONFIG_COMMANDS="default depdir" \ CONFIG_FILES= \ CONFIG_LINKS= \ /bin/bash config.status make[3]: Entering directory '/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/build-riscv64-oe-linux-musl/gdb' make[4]: Entering directory '/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/build-riscv64-oe-linux-musl/gdb/build-gnulib' make[5]: Entering directory '/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/build-riscv64-oe-linux-musl/gdb/build-gnulib' make[6]: Entering directory '/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/build-riscv64-oe-linux-musl/gdb/build-gnulib/import' make all-recursive make[7]: Entering directory '/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/build-riscv64-oe-linux-musl/gdb/build-gnulib/import' make[8]: Entering directory '/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/build-riscv64-oe-linux-musl/gdb/build-gnulib/import' make[8]: Nothing to be done for 'all-am'. make[8]: Leaving directory '/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/build-riscv64-oe-linux-musl/gdb/build-gnulib/import' make[7]: Leaving directory '/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/build-riscv64-oe-linux-musl/gdb/build-gnulib/import' make[6]: Leaving directory '/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/build-riscv64-oe-linux-musl/gdb/build-gnulib/import' make[5]: Leaving directory '/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/build-riscv64-oe-linux-musl/gdb/build-gnulib' make[4]: Leaving directory '/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/build-riscv64-oe-linux-musl/gdb/build-gnulib' make[3]: Leaving directory '/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/build-riscv64-oe-linux-musl/gdb' config.status: creating config.h config.status: config.h is unchanged config.status: executing default commands config.status: executing depdir commands CXX riscv-linux-nat.o ../../gdb-8.3/gdb/riscv-linux-nat.c: In function 'void supply_fpregset_regnum(regcache, const prfpregset_t, int)': ../../gdb-8.3/gdb/riscv-linux-nat.c:97:36: error: 'const prfpregset_t' {aka 'const struct user_fpregs_struct'} has no member named 'd' 97 | regcache->raw_supply (i, &fpregs->d.f[i - RISCV_FIRST_FP_REGNUM]); | ^~~ ../../gdb-8.3/gdb/riscv-linux-nat.c:99:61: error: 'const prfpregset_t' {aka 'const struct user_fpregs_struct'} has no member named 'd' 99 | regcache->raw_supply (RISCV_CSR_FCSR_REGNUM, &fpregs->d.__fcsr); | ^~~ ../../gdb-8.3/gdb/riscv-linux-nat.c:103:15: error: 'const prfpregset_t' {aka 'const struct user_fpregs_struct'} has no member named 'd' 103 | &fpregs->d.f[regnum - RISCV_FIRST_FP_REGNUM]); | ^~~ ../../gdb-8.3/gdb/riscv-linux-nat.c:105:59: error: 'const prfpregset_t' {aka 'const struct user_fpregs_struct'} has no member named 'd' 105 | regcache->raw_supply (RISCV_CSR_FCSR_REGNUM, &fpregs->d.fcsr); | ^~~ ../../gdb-8.3/gdb/riscv-linux-nat.c: In function 'void fill_fpregset(const regcache, prfpregset_t, int)': ../../gdb-8.3/gdb/riscv-linux-nat.c:152:37: error: 'prfpregset_t' {aka 'struct user_fpregs_struct'} has no member named '__d' 152 | regcache->raw_collect (i, &fpregs->d.f[i - RISCV_FIRST_FP_REGNUM]); | ^~~ ../../gdb-8.3/gdb/riscv-linux-nat.c:154:62: error: 'prfpregset_t' {aka 'struct user_fpregs_struct'} has no member named 'd' 154 | regcache->raw_collect (RISCV_CSR_FCSR_REGNUM, &fpregs->d.fcsr); | ^~~ ../../gdb-8.3/gdb/riscv-linux-nat.c:158:16: error: 'prfpregset_t' {aka 'struct user_fpregs_struct'} has no member named 'd' 158 | &fpregs->d.f[regnum - RISCV_FIRST_FP_REGNUM]); | ^~~ ../../gdb-8.3/gdb/riscv-linux-nat.c:160:60: error: 'prfpregset_t' {aka 'struct user_fpregs_struct'} has no member named 'd' 160 | regcache->raw_collect (RISCV_CSR_FCSR_REGNUM, &fpregs->d.fcsr); | ^~~ Makefile:1641: recipe for target 'riscv-linux-nat.o' failed make[2]: [riscv-linux-nat.o] Error 1 make[2]: Leaving directory '/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/build-riscv64-oe-linux-musl/gdb' Makefile:8458: recipe for target 'all-gdb' failed make[1]: [all-gdb] Error 2 make[1]: Leaving directory '/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/build-riscv64-oe-linux-musl' Makefile:849: recipe for target 'all' failed make: *** [all] Error 2 WARNING: exit code 1 from a shell command.
NOTE: recipe gdb-8.3-r0: task do_compile: Failed ERROR: Task (/builds/gitlab/riscv/meta-riscv/riscv-yocto/openembedded-core/meta/recipes-devtools/gdb/gdb_8.3.bb:do_compile) failed with exit code '1' NOTE: recipe sysprof-3.32.0-r0: task do_package: Succeeded NOTE: recipe gettext-0.19.8.1-r0: task do_package: Succeeded NOTE: recipe strace-5.2-r0: task do_package: Succeeded NOTE: recipe gcc-9.2.0-r0: task do_package: Succeeded NOTE: Tasks Summary: Attempted 4985 tasks of which 4953 didn't need to be rerun and 1 failed. NOTE: Writing buildhistory NOTE: Writing buildhistory took: 2 seconds NOTE: Build completion summary: NOTE: do_populate_sysroot: 0.0% sstate reuse(0 setscene, 4 scratch) NOTE: do_package: 0.0% sstate reuse(0 setscene, 4 scratch)
Summary: 1 task failed: /builds/gitlab/riscv/meta-riscv/riscv-yocto/openembedded-core/meta/recipes-devtools/gdb/gdb_8.3.bb:do_compile Summary: There were 2 WARNING messages shown. Summary: There were 2 ERROR messages shown, returning a non-zero exit code. this is my logfile: log.do_compile.310737.txt @incandescant @troth @jadonk @kergoth @iwamatsu