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: unresolved inter-package jump message on ppc64le building godoc #19764
Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (
The failure starts at commit 295307a (CL https://go-review.googlesource.com/c/38139/). It now makes a direct call to
We probably need to special-case wrappers in the trampoline pass. I'll make a fix.
Dupok symbols may be defined in multiple packages. Its associated package is chosen sort of arbitrarily (the first containing package that the linker loads). Canonicalize its package to the package with which it will be laid down in text, which is the first package in dependency order that defines the symbol. So later passes (for example, trampoline insertion pass) know that the dupok symbol is laid down along with the package. Fixes golang#19764. Change-Id: I7cbc7474ff3016d5069c8b7be04af934abab8bc3 Reviewed-on: https://go-review.googlesource.com/39150 Run-TryBot: Cherry Zhang <firstname.lastname@example.org> TryBot-Result: Gobot Gobot <email@example.com> Reviewed-by: Lynn Boger <firstname.lastname@example.org> Reviewed-by: David Chase <email@example.com>