-
-
Notifications
You must be signed in to change notification settings - Fork 45
Carton 0.12.0 with SwiftWasm 5.5.0 fails with linker command #268
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Thanks for reporting this! As a temporary workaround you could check the What kind of error message are you seeing by the way? This will help me investigate the issue and fix it properly. |
Sure! The command. I see is
and the error is the same as I mentioned earlier, the same as swiftwasm/swift#3891.
I have noticed also the command output by carton when doing
while in
which would match what I saw browsing the source code in https://github.com/swiftwasm/carton/blob/04de1c22296efe925cc002b3245613faacd26162/Sources/SwiftToolchain/Toolchain.swift However, if I manually execute the command
the compilation finishes correctly, which leads me to believe you are just missing the flags when generating the bundle and dev commands. |
Thanks for the clarification, I'm waiting for CI to finish on a PR that fixes it, will tag a patch release with that shortly. |
Thanks! |
Hello, I have been running Carton 0.12.0 with SwiftWasm and my build fails with the linker command in swiftwasm/swift#3891.
I have checked the PR on #263 indicating you had added the required linker flags in carton; but looking at the code in
carton/Sources/SwiftToolchain/Toolchain.swift
Line 258 in 04de1c2
and
carton/Sources/SwiftToolchain/Toolchain.swift
Line 307 in 04de1c2
I believe you have only added them for
carton test
and notcarton build
command? Would that be correct?Is there a way to manually input those flags via command line?
Thanks!
The text was updated successfully, but these errors were encountered: