jeremyfaller
changed the title
cmd/link Linker fail quickly when external link mode is not supported
cmd/link Linker should fail quickly when external link mode is not supported
Sep 18, 2019
jeremyfaller
changed the title
cmd/link Linker should fail quickly when external link mode is not supported
cmd/link Llinker should fail quickly when external link mode is not supported
Sep 18, 2019
jeremyfaller
changed the title
cmd/link Llinker should fail quickly when external link mode is not supported
cmd/link linker should fail quickly when external link mode is not supported
Sep 18, 2019
agnivade
changed the title
cmd/link linker should fail quickly when external link mode is not supported
cmd/link: linker should fail quickly when external link mode is not supported
Sep 19, 2019
External linking is supported on ppc64le, but not on ppc64. If we try to link externally we see this:
go build -ldflags '-linkmode=external' hello.go
# command-line-arguments
/home/boger/golang/base/go/pkg/tool/linux_ppc64/link: external linking not supported for linux/ppc64
Thanks, @laboger. The problem was discovered with darwin/32-bit (which for recent versions of darwin don't support external linking), and was filed as a generic bug. Thanks for checking PPC.
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
yes
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
While investigating Issue 33808 I discovered that external linking doesn't work in 32bit darwin.
What did you expect to see?
Linker should fail quickly when trying to do an external link.
What did you see instead?
Linker calls external linker, external linker fails.
CC @cherrymui
The text was updated successfully, but these errors were encountered: