-
Notifications
You must be signed in to change notification settings - Fork 45
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
ARM external linker must be gold (issue #15696), but is not: zig ld 0.11.0 #122
Comments
Tested with
and with 2.34. Debug output:
|
Which Go/Zig version do you use with this? Can this be reproduced with tests of |
@motiejus which test I should run? |
The point is we need to be able to reproduce the failure. Your report does not include a test case, so let's come up with one. We have a bunch of tests in |
I can only confirm that error is in multi architecture image transformation written just like https://github.com/bazel-contrib/rules_oci/blob/main/examples/multi_arch/BUILD.bazel#L19-L26 |
I've just added a test to reproduce this failure in #129 |
@lbcjbb Thank you. Much appreciated. |
56c4e1e should fix this issue now. |
I think this is due to a hack in Go linker. Either this or this will fix it. I would prefer patching Go linker with one of these patches and report the success or failure on golang/go#22040, instead of putting another hack on hermetic_cc_toolchain to cheat Go linker. |
After upgrade on https://github.com/uber/hermetic_cc_toolchain/releases/tag/v2.1.2
On linux/amd64 VM I get error when trying to build go_binary.
golang/go#15696
Rolled back to the 2.0.0 to workaround this issue.
The text was updated successfully, but these errors were encountered: