-
Notifications
You must be signed in to change notification settings - Fork 16
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
Undefined Symbol in relocation
when building example on linux x86_64
#9
Comments
Temporary workaround:
|
this bug seems to block the git build pipeline. Should we, as a temporary workaround change the |
This is not caused by roc-lang/roc#3609 It is probably caused by the compiler-rt related changes that got pulled into this PR: roc-lang/roc#6216 Zig should be automatically bundling the compiler-rt and libc related functions that we use in the builtins. That should include Need to circle back to this when I have more time, but first steps would be to double check the zig generated llvm ir actually has these functions and if it does, double check our llvm DCE related passes and such. EDIT: If I don't circle back to this in like a week and no one else fixes it, can someone ping me? |
@bhansconnect Ping! :) |
This should fix for at least regular linux: roc-lang/roc#6515 I'm not sure what is going on with musl yet. |
This is not specific to this example, and appears to happen for all of them.
The cause of this issue is: roc-lang/roc#3609
I think this only happens with
export CARGO_BUILD_TARGET=x86_64-unknown-linux-musl
. This is required for releases with good compatibility. I was also on the more-features branch, not on main.The text was updated successfully, but these errors were encountered: