-
Notifications
You must be signed in to change notification settings - Fork 26
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
Unable to build package when using static linux SDK.
To Reproduce
Steps to reproduce the behavior:
- Clone swift-subprocess
- install swift static sdk.
- run
swift build --swift-sdk aarch64-swift-linux-musl
Expected behavior
Should build please.
Environment (please complete the following information):
➜ swift-subprocess git:(main) ✗ uname -a
Linux fedora 6.14.8-400.asahi.fc42.aarch64+16k #1 SMP PREEMPT_DYNAMIC Fri May 30 20:27:54 UTC 2025 aarch64 GNU/Linux
➜ swift-subprocess git:(main) ✗
➜ swift-subprocess git:(main) ✗ swiftly --version
1.0.1
➜ swift-subprocess git:(main) ✗ swift --version
Swift version 6.1 (swift-6.1-RELEASE)
Target: aarch64-unknown-linux-gnu
➜ swift-subprocess git:(main) ✗ swift sdk list
swift-6.1.2-RELEASE_static-linux-0.0.1
➜ swift-subprocess git:(main) ✗
Additional context
/home/zane/Downloads/swift-subprocess/Sources/Subprocess/Platforms/Subprocess+Linux.swift:358:28: error: missing argument for parameter 'bitPattern' in call
356 | var thread: pthread_t?
357 | #else
358 | var thread = pthread_t()
| `- error: missing argument for parameter 'bitPattern' in call
359 | #endif
360 | _ = pthread_create(
Swift.OpaquePointer.init:2:8: note: 'init(bitPattern:)' declared here
1 | struct OpaquePointer {
2 | public init?(bitPattern: Int)}
| `- note: 'init(bitPattern:)' declared here
3 |
/home/zane/Downloads/swift-subprocess/Sources/Subprocess/Platforms/Subprocess+Linux.swift:358:28: error: missing argument for parameter 'bitPattern' in call
356 | var thread: pthread_t?
357 | #else
358 | var thread = pthread_t()
| `- error: missing argument for parameter 'bitPattern' in call
359 | #endif
360 | _ = pthread_create(
Swift.OpaquePointer.init:2:8: note: 'init(bitPattern:)' declared here
1 | struct OpaquePointer {
2 | public init?(bitPattern: Int)}
| `- note: 'init(bitPattern:)' declared here
3 |
/home/zane/Downloads/swift-subprocess/Sources/Subprocess/Platforms/Subprocess+Linux.swift:358:28: error: missing argument for parameter 'bitPattern' in call
356 | var thread: pthread_t?
357 | #else
358 | var thread = pthread_t()
| `- error: missing argument for parameter 'bitPattern' in call
359 | #endif
360 | _ = pthread_create(
Swift.OpaquePointer.init:2:8: note: 'init(bitPattern:)' declared here
1 | struct OpaquePointer {
2 | public init?(bitPattern: Int)}
| `- note: 'init(bitPattern:)' declared here
3 |
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working