[stdlib] Unable to compile for riscv64-unknown-linux-gnu
#78349
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
cross-compilation
Area → utils: Cross-compilation of project sources
riscv
Architecture: RISC-V
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
swift-6.0.3-riscv64-compile.log
The text was updated successfully, but these errors were encountered: