[Bug 50625] Unhandled exception with try/catch

WineHQ Bugzilla wine-bugs at winehq.org
Wed Dec 1 03:13:47 CST 2021


https://bugs.winehq.org/show_bug.cgi?id=50625

--- Comment #21 from Martin Storsjö <martin at martin.st> ---
Oh, and for the record, a couple known gotchas:

- Unwinding only works in ELF builds, it doesn't work in PE/mingw builds (as
LLVM can't generate the necessary unwind info for windows)

- If the ELF parts are built with Clang instead of GCC, one has to apply this
fix to libunwind,
https://github.com/libunwind/libunwind/commit/971989687f9cf46d9d7f95df593657e455d96493,
or add "-gdwarf-2" to CFLAGS (e.g. as CFLAGS="-g -gdwarf-2 -O2")

- Because ARM primarily uses a different unwind info format (.ARM.extab
sections instead of .eh_frame), libunwind seems to rely on parsing the
.debug_frame sections, thus unwinding doesn't work if the wine .so files are
stripped

- Latest git versions of libunwind since
https://github.com/libunwind/libunwind/commit/a4014f33775321b4106a1134b89020a7774902dd
seem to fail (haven't yet debugged why)

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.


More information about the wine-bugs mailing list