Skip to content

Use backtrace only on systems with glibc#107

Open
psh0r wants to merge 2 commits into
sahib:masterfrom
psh0r:backtrace
Open

Use backtrace only on systems with glibc#107
psh0r wants to merge 2 commits into
sahib:masterfrom
psh0r:backtrace

Conversation

@psh0r

@psh0r psh0r commented Jun 19, 2026

Copy link
Copy Markdown

Fix #98: Remove fatal errors from backtrace check

Backtrace code is guarded by #ifdef, no need to abort cmake.

Guard backtrace code with __GLIBC__ instead of __linux__

The backtrace function is a feature of glibc.
Guarding with __linux__ does not work on Linux systems, that use a different libc (e.g. musl).

psh0r added 2 commits June 19, 2026 16:59
Backtrace code is guarded by #ifdef, no need to abort cmake
The backtrace function is a feature of glibc.
Guarding with __linux__ does not work on Linux systems, that use a
different libc (e.g. musl).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix build on OpenBSD

1 participant