Elfutils 0.176 and riscv

Florian Weimer fweimer@redhat.com
Sun Feb 17 17:42:00 GMT 2019

* Mark Wielaard:

> 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.

And keep in mind that you have to patch GCC for
-fasynchronous-unwind-tables on other architectures, too.  Unwinding
information is not optional on GNU.


More information about the Elfutils-devel mailing list