Skip to content

attempt to add a flag to disable backtrace#120

Open
nyaaaaaaatalie wants to merge 1 commit intoDVMProject:masterfrom
nyaaaaaaatalie:master
Open

attempt to add a flag to disable backtrace#120
nyaaaaaaatalie wants to merge 1 commit intoDVMProject:masterfrom
nyaaaaaaatalie:master

Conversation

@nyaaaaaaatalie
Copy link
Copy Markdown
Contributor

Summary

Since OpenWRT is special and uses musl instead of gnulib, the newly introduced backtrace/Backward lib will fail to compile as execinfo.h is missing. The easiest way to fix this for right now is to add a flag to disable backtraces.

By setting ENABLE_BACKWARD=0 cmake will set the BACKWARD_SYSTEM_UNKNOWN macro which essentially turns Backward into a no-op.

Component(s)

Which part(s) of the project does this affect?

  • dvmhost
  • dvmfne
  • dvmbridge
  • dvmpatch
  • dvmcmd
  • sysview
  • tged
  • peered
  • Other (explain below)

Type of change

  • Bug fix
  • Refactor / cleanup
  • Performance improvement
  • Documentation update
  • Build / tooling change

Related issues

n/a

Closes #
Refs #

Build & test notes

Built and tested on Linux and OpenWRT

Include:

  • OS / distro
  • Compiler version
  • Any special build flags

Logs / output (if applicable)

Paste relevant output demonstrating the fix or behavior change.

Checklist

  • Change is scoped and focused
  • Existing functionality verified
  • No unrelated refactors included
  • Documentation updated if needed
  • No secrets or credentials included

Notes for maintainers

Anything reviewers should be aware of? n/a

@nyaaaaaaatalie nyaaaaaaatalie requested a review from gatekeep April 20, 2026 20:06
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.

1 participant