cmd/link: in package .syso not working in Go 1.12 #29253
Closed
Comments
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Current go master (Go 1.12) broke the use of in-package syso files (broken by https://golang.org/cl/146297) with names shorter than 12 byte (because
the limitation on filename length, even though race detector relies on syso,
it is not broken by the CL.)
As a short reproduction, run the following shell script under
$GOPATH/src
:Because Go 1.12 cmd/link no longer passes the bundled syso to the external linker,
the final
go run
will fail to build the executable due to missingf
symbol.This is a Go 1.12 regression, so labelling it as release-broker.
The text was updated successfully, but these errors were encountered: