Skip to content

Disable libunwind exceptions on release builds #10132

@selsta

Description

@selsta

IMHO, it is not really reasonable to just ignore these. The RandomX hugepages request alone dumps the stack every 5 minutes. That's enough to make the log file unreadable. The icing on the cake is that when build type is Release (the default), there are no debug symbols, so these stack traces are not even intelligible.

I propose that libunwind simply be disabled when build type is Release. The official binary releases already ship without it, so this would be consistent with those.

Originally posted by @ndorf in #8790

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