[Bug backends/23902] varlocs dwarf_cfi_addrframe: unknown error

mark at klomp dot org sourceware-bugzilla@sourceware.org
Fri Nov 23 09:09:00 GMT 2018


https://sourceware.org/bugzilla/show_bug.cgi?id=23902

--- Comment #3 from Mark Wielaard <mark at klomp dot org> ---
(In reply to Kurt Roeckx from comment #2)
> At least on mips I'm seeing an .eh_frame and .eh_frame_hdr section. It also
> has some mips specific sections.

Assuming they have "normal" types then that part should work because it is
(mostly, except for register mapping) arch independent.

> But note that various of the other tests say "Unwinding not supported for
> this architecture". Is this just a test that also should get skipped?

If it would return that error maybe. But the varlocs test doesn't rely on
unwinding. There is something odd going on because it gives "Unknown Error",
which is not explicitly set anywhere in the code, but is generated when
__libelf_seterrno () is called with an unknown error code (which itself is a
bug). So something doubly odd is going on.

> PS: All arches except amd64 have "Unwinding not supported for this
> architecture" in run-backtrace-data.sh, which I find a bit surprising.

Yes, that is surprising, run-backtrace-data.sh really should just say that it
is only supported on x86_64/amd64. Currently it "abuses" the "Unwinding not
supported for this architecture" message to get a SKIP on any other arch.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Elfutils-devel mailing list