On Tue, 2018-11-20 at 00:43 +0100, Kurt Roeckx wrote: > On Fri, Nov 16, 2018 at 02:00:46PM +0100, Mark Wielaard wrote: > > ELFUTILS 0.175 - http://elfutils.org/ > > > > A new release of elfutils is available at: > > ftp://sourceware.org/pub/elfutils/0.175/ > > or https://sourceware.org/elfutils/ftp/0.175/ > > I'm gettings errors on riscv64: > https://buildd.debian.org/status/fetch.php?pkg=elfutils&arch=riscv64&ver=0.175-1&stamp=1542669684&raw=0
The riscv backend is fairly new. I don't have access to a riscv setup, so cannot easily check myself. I have CCed Andreas, who wrote the port and might be able to diagnose what is going on. The first failure is for the location description of a return value, which is kind of expected since riscv doesn't have a return_value_location backend function yet. The other 3 failures are all for the self-tests doing unwinding and look like either DWARF and/or .eh_frame information is missing. FAIL: run-native-test.sh ======================== /<<PKGBUILDDIR>>/tests/funcretval: dwfl_module_return_value_location: cannot handle DWARF type description FAIL: run-backtrace-native.sh ============================= 0x2000000000 0x2000019000 /lib/riscv64-linux-gnu/ld-2.27.so 0x200001a000 0x200001c000 [vdso: 883] 0x2000022000 0x2000037000 /lib/riscv64-linux-gnu/libpthread- 2.27.so 0x200003b000 0x2000144000 /lib/riscv64-linux-gnu/libc-2.27.so 0x2aaaaaa000 0x2aaaaae000 /<<PKGBUILDDIR>>/tests/backtrace-child TID 883: # 0 0x2000030e26 raise TID 884: # 0 0x2000030e26 raise /<<PKGBUILDDIR>>/tests/backtrace: dwfl_thread_getframes: No DWARF information found /<<PKGBUILDDIR>>/tests/backtrace: dwfl_thread_getframes: No DWARF information found backtrace: backtrace.c:81: callback_verify: Assertion `seen_main' failed. ./test-subr.sh: line 84: 880 Aborted LD_LIBRARY_PATH="${built_library_path}${LD_LIBR ARY_PATH:+:}$LD_LIBRARY_PATH" $VALGRIND_CMD "$@" backtrace-child: no main FAIL run-backtrace-native.sh (exit status: 1) FAIL: run-backtrace-dwarf.sh ============================ 0x20000a3d12 raise /<<PKGBUILDDIR>>/tests/backtrace-dwarf: dwfl_thread_getframes: No DWARF information found dwarf: no main FAIL run-backtrace-dwarf.sh (exit status: 1) FAIL: run-backtrace-native-core.sh ================================== backtrace: backtrace.c:111: callback_verify: Assertion `symname && strcmp (symname, "raise") == 0' failed. ./test-subr.sh: line 84: 975 Aborted LD_LIBRARY_PATH="${built_library_path}${LD_LIBR ARY_PATH:+:}$LD_LIBRARY_PATH" $VALGRIND_CMD "$@" backtrace-child-core.965: no main rmdir: failed to remove 'test-944': Directory not empty FAIL run-backtrace-native-core.sh (exit status: 1)