https://bugs.winehq.org/show_bug.cgi?id=50625
--- Comment #21 from Martin Storsjö martin@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/971989687f9cf46d9d7f95df593657..., 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/a4014f33775321b4106a1134b89020... seem to fail (haven't yet debugged why)