You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The file built with the go build were stripped through binutils.
The stripped file runs on linux, but not on windows.
I'd like to keep the debug files separate to reduce the size.
What did you expect to see?
It should work on Windows PC.
What did you see instead?
The text was updated successfully, but these errors were encountered:
This doesn't seem like a cmd/go bug at all. If you're using binutils to modify a binary that runs, and it produces a binary that doesn't run, you should open an issue against binutils.
If you build a binary using the Go toolchain, and then you break that binary using a third-party tool, that's not the fault of the Go toolchain. 🙃
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?
See https://github.com/jclab-joseph/issue-go-windows-strip-not-working
The file built with the
go build
were stripped through binutils.The stripped file runs on linux, but not on windows.
I'd like to keep the debug files separate to reduce the size.
What did you expect to see?
It should work on Windows PC.
What did you see instead?
The text was updated successfully, but these errors were encountered: