Elfutils 0.176 and riscv

Mark Wielaard mark@klomp.org
Sat Feb 16 19:22:00 GMT 2019

On Sat, Feb 16, 2019 at 06:09:06PM +0100, Kurt Roeckx wrote:
> On Debian's riscv64 port, this is a log of the build:
> https://buildd.debian.org/status/fetch.php?pkg=elfutils&arch=riscv64&ver=0.176-1&stamp=1550335976&raw=0

You are missing .eh_frame CFI. Without that backtraces
will be unreliable. Make sure that gcc for riscv64 has
-fasynchronous-unwind-tables on by default and these
failures should disappear. It is the default on Fedora
riscv64 and there we see zero-fail.

Apart from that you might want to make sure your glibc has
the following patch:



More information about the Elfutils-devel mailing list