Skip to content

stacktrace does not work on iOS armv7/armv7s #46

@theodelrieu

Description

@theodelrieu

Hello,

When attempting to use the header only version of Stacktrace, I get the following linker error:

Undefined symbols for architecture armv7:
"__Unwind_Backtrace", referenced from:
boost::stacktrace::detail::this_thread_frames::collect(void const**, unsigned long, unsigned long) in libmylib.a(Error.cpp.o)
ld: symbol(s) not found for architecture armv7

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions