-
Notifications
You must be signed in to change notification settings - Fork 10.5k
Open
Labels
bugA deviation from expected or documented behavior. Also: expected but undesirable behavior.A deviation from expected or documented behavior. Also: expected but undesirable behavior.cross-compilationArea → utils: Cross-compilation of project sourcesArea → utils: Cross-compilation of project sourcesplatform supportriscvArchitecture: RISC-VArchitecture: RISC-Vswift 6.0unexpected errorBug: Unexpected errorBug: Unexpected error
Description
Description
The Swift Std library fails to compile for RISCV64, with the error /workspaces/buildroot/output/build/swift-6.0.3/include/swift/ABI/Metadata.h:85:50: error: 'swift_context' parameter can only be used with swiftcall or swiftasynccall calling convention
Reproduction
Compile the Swift Std Library for riscv64-unknown-linux-gnu
. I have Buildroot scripts setup to cross compile, but it should be reproducible building on host as well.
Expected behavior
The Swift Std library should compile for RISCV64
Environment
Swift version 6.0.3 (swift-6.0.3-RELEASE)
Target: x86_64-unknown-linux-gnu
Additional information
Metadata
Metadata
Assignees
Labels
bugA deviation from expected or documented behavior. Also: expected but undesirable behavior.A deviation from expected or documented behavior. Also: expected but undesirable behavior.cross-compilationArea → utils: Cross-compilation of project sourcesArea → utils: Cross-compilation of project sourcesplatform supportriscvArchitecture: RISC-VArchitecture: RISC-Vswift 6.0unexpected errorBug: Unexpected errorBug: Unexpected error