Closed theodelrieu closed 4 years ago
Did you link with libbacktrace and standard library? Could you please provide a compile and link commands that trigger the issue?
I tried to find a way to get libbacktrace for iOS (and Darwin platforms in general), but it seems upstream was not updated for a while, and the only recent patches I've seen are from a fork inside rustlang.
Do you know if there is a way to get libbacktrace working on macOS/iOS?
I've already faced this problem. A solution is to use backtrace() function from execinfo.h instead of __Unwind_Backtrace.
This should have been fixed in #70 Please reopen if #70 does not solve issue for you.
Many thanks for the report!
Hello,
When attempting to use the header only version of Stacktrace, I get the following linker error:
I did look in the
libSystem.tbd
and the__Unwind_Backtrace
symbol is only defined for arm64.The workaround is to define the
BOOST_STACKTRACE_USE_NOOP
macro. Is there another way to workaround the problem?