-
Notifications
You must be signed in to change notification settings - Fork 17.9k
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
cmd/compile: relocation target ... not defined while building targets for kubernetes with go tip #44629
Comments
Looking into this. I see a relocation to the missing function in the objdump from the build cache, but the function is missing. Looking it's name, it should be also be present in the same object file?
|
Simple test case: bar/b.go:
main.go:
foo/a.go:
|
@pmur Your test case builds for me with |
@ianlancetaylor Here are the other details I should have included too
go.mod:
|
This might be a dup of #44330, which was fixed since the revision that you are testing. |
@ianlancetaylor yes, this is a duplicate. I verified my test case and kubernetes compile after cherry-picking the commit in #44330. This issue can be closed. Thank you for pointing out that issue. |
What version of Go are you using (
go version
)?What operating system and processor architecture are you using (
go env
)?Operating system: Linux
Architecture: ppc64le and amd64
What did you do?
Building targets for kubernetes using the latest golang in main branch
What did you expect to see?
Kubernetes binaries build without error
What did you see instead?
Below error:
The text was updated successfully, but these errors were encountered: