-
Notifications
You must be signed in to change notification settings - Fork 20
Open
Labels
kind/administrationCI, repo automation, other admin tasks.CI, repo automation, other admin tasks.status/blockedWaiting for another issue.Waiting for another issue.
Description
Summary
Building swift-configuration 1.0.0 with the Swift Static Linux SDK appears to cause the Swift 6.2.x compiler to crash. This was discovered after upgrading a project to Swift 6.2 and Hummingbird 2.18.x (which introduced a dependency on swift-configuration). Not sure if anyone else has witnessed and/ or reported this (did not find any reports).
Environment
| Component | Version |
|---|---|
| swift-configuration | 1.0.0 |
| Swiftly | 1.0.0 |
| Swift | 6.2.2 (swift-6.2.2-RELEASE) |
| Static Linux SDK | swift-6.2.2-release_static-linux-0.0.1 |
| macOS | Tahoe 26.2 |
| Selected Xcode | 26.2.0 |
Note: Static Linux SDK 6.2.0 and 6.2.1 experience the same crash.
Build Command
The command below can be executed against a package that depends on swift-configuration or building swift-configuration directly.
swiftly run swift build -c release --swift-sdk aarch64-swift-linux-musl
[1/1] Planning build
Building for production...
error: compile command failed due to signal 6 (use -v to see invocation)
SIL verification failed: inconsistent stack heights entering basic block: state.Stack == foundState.Stack || isUnreachable()
...
In function:
// FileProvider.init<A>(snapshotType:parsingOptions:filePath:allowMissing:fileSystem:)
// Isolation: caller_isolation_inheriting
...
Other notes
- The build succeeds when targeting the Xcode 26.2 Swift toolchain.
- The crash occurs in both debug (-c debug) and release (-c release) configurations.
- The crash occurs on both target architectures: aarch64-swift-linux-musl and x86_64-swift-linux-musl
InukVT
Metadata
Metadata
Assignees
Labels
kind/administrationCI, repo automation, other admin tasks.CI, repo automation, other admin tasks.status/blockedWaiting for another issue.Waiting for another issue.