This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] RISC-V: Fix elfutils testsuite unwind failures.
On Tue, Jan 22, 2019 at 5:28 AM Mark Wielaard <mark@klomp.org> wrote:
> The distro might build with -fasynchronous-unwind-tables which would
> make sure that only the CFI unwinder is used, while without it, it
> might be that there is a frame that might have to be handled by the
> fallback unwinder.
Thanks. That indeed turns out to be the problem here. I see in the
fedora glibc rpm that it is using CFLAGS="-O2 -g
-fasynchronous-unwind-tables". When I configure and build glibc that
way, the testcase behaves the way I expect. It fails without my
__thread_start patch and works with my patch.
Jim