-
-
Notifications
You must be signed in to change notification settings - Fork 661
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
ppc64le build issue #3626
Comments
cc: @seth-priya |
cc: @clnperez |
looks like another good reason to get our CI working on ppc64le again #3336 introduced this for big endian support, so if we remove it we'd break that. i'm not sure how to make bazel build against the correct target if we overload that for both. maybe someone from the bazel team could help |
@jayconrod do you still happen to be active here? you were super helpful getting ppc64le working several years ago :) |
This seems to be at least tangentially related to #3531 where ppc64le cross-compile targets fail. That issue mentions something about CPU platforms and those same lines of code. |
Thanks @evanj . It does seem related. |
What version of rules_go are you using?
0.41.0
What version of gazelle are you using?
0.31.1
What version of Bazel are you using?
6.1.0
Does this issue reproduce with the latest releases of all the above?
Yes
What operating system and processor architecture are you using?
Linux, ppc64le
Any other potentially useful information about your toolchain?
What did you do?
Build envoyproxy/envoy master
What did you expect to see?
Our build to succeed.
What did you see instead?
Our build is failing due to an "exec format error"
Hi team,
We are building a package (for the ppc64le architecture) called envoyproxy/envoy which uses bazel and rules_go. During the build it compiles a go binary, and then later executes it. We get an "exec format error" with the last tagged version of rules_go, but if we remove the following line it builds fine:
https://github.com/bazelbuild/rules_go/blob/d2a3cf2d6b18f5be19adccc6a6806e0c3b8c410b/go/private/platforms.bzl#L33
Please also note that this used to work fine with rules_go v0.33.0
https://github.com/bazelbuild/rules_go/blob/8a362829c17b92266f5e1e79cdc1cfc38ec3f86a/go/private/platforms.bzl#L29-L34
Can you please identify and fix the issue? Thanks.
The text was updated successfully, but these errors were encountered: