Re: [PATCH] arm64: vdso: Add --eh-frame-hdr to ldflags

2020-05-07 Thread Will Deacon
On Thu, 7 May 2020 11:40:49 +0100, Vincenzo Frascino wrote: > LLVM's unwinder depends on the .eh_frame_hdr being present for > unwinding. However, when compiling Linux with GCC, the section > is not present in the vdso library object and when compiling > with Clang, it is present, but it has zero l

[PATCH] arm64: vdso: Add --eh-frame-hdr to ldflags

2020-05-07 Thread Vincenzo Frascino
LLVM's unwinder depends on the .eh_frame_hdr being present for unwinding. However, when compiling Linux with GCC, the section is not present in the vdso library object and when compiling with Clang, it is present, but it has zero length. With GCC the problem was not spotted because libgcc unwinder