Skip to content

[libunwind] Wrong default for LIBUNWIND_ENABLE_FRAME_APIS? #83080

Closed as not planned
@xarblu

Description

@xarblu

In short - I recently hit the following issue with >=libunwind-18.1.0_rc1 on Gentoo:
Anything using libunwind started failing with /usr/lib64/libc++abi.so.1: undefined symbol: __deregister_frame_info.
For more info the downstream bugreport is here.

Eventually I tracked it down to the newly introduced LIBUNWIND_ENABLE_FRAME_APIS defaulting to OFF (5eb44df).

What confuses me is that the commit message clearly says:

Default this to on, so as not to remove the apis from
environments that already have them.

but the actual option defaults to OFF.

(Downstream said to CC author @Sterling-Augustine and reviewer @MaskRay)

Metadata

Metadata

Assignees

No one assigned

    Labels

    cmakeBuild system in general and CMake in particularcompiler-rtinvalidResolved as invalid, i.e. not a bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions