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:
https://sourceware.org/git/?p=glibc.git;a=commit;h=85bd1ddbdfdfd13cfd06f7c367519b6ed3360843

Cheers,

Mark



More information about the Elfutils-devel mailing list