Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
cmd/link: provide meaningful error message if -linkmode=external is attempted with GOARCH=ppc64 #25079
Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (
Here are two examples of how this fails now:
This is just a warning, and a dynamic binary is built, but the binary won't run because it hasn't been built according to the ppc64 v1 ABI and the dynamic linker fails:
This message is not very useful, I believe it occurs because of this code in go/build/build.go: