Backtracing module does not build for Linux armv7 #79477
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
triage needed
This issue needs more specific labels
Description
When I try to compile Swift for linux-armv7 with
-DSWIFT_ENABLE_BACKTRACING=ON
, it fails to build:If I apply the fix that is used for Android for
__linux__
as well, it compiles fine. However, the backtracing module was moved into the runtime module, so if I enable-DSWIFT_ENABLE_RUNTIME_MODULE=ON
, I get more errors:I would like to have an opportunity to fix this up and hopefully find a solution for
linux-armv7
that does not affect Darwin armv7 targets, like the Apple Watch (I think).@al45tair
Reproduction
This is the output given by the swiftlang/swift cmake invocation:
Expected behavior
The backtracing module should compile for linux-armv7.
Environment
Swift version 6.2-dev (LLVM a1d5a03ff545308, Swift d0e4f84)
Target: aarch64-unknown-linux-gnu
Build config: +assertions
Additional information
Almost everything else compiles just fine for linux-armv7 with virtually no patching required. All that is missing is the backtracing functionality that does not compile, but may be relatively simple to patch.
The text was updated successfully, but these errors were encountered: