/ go Public
cmd/link: "HEADR too small" error when linking against huge static library #47312
Issues related to the Go compiler and/or runtime.
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
What version of Go are you using (
(though it also applies to at least 1.16.5, and probably goes back much further)
Does this issue reproduce with the latest release?
What operating system and processor architecture are you using (
What did you do?
I tried to link a Go program against a static WebRTC library (32MB without debug symbols). That, in combination with using the large
net/httppackage, made Go print this error:
/usr/local/go/pkg/tool/darwin_amd64/link: HEADR too small: 4408 > 4096
What did you expect to see?
I expected Go to link the binary correctly.
What did you see instead?
HEADR too smallerror.
The text was updated successfully, but these errors were encountered: