cmd/go: 'build output "...." already exists and is not an object file' error after interrupted compilation #57039
Labels
GoCommand
cmd/go
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Unknown.
What did you do?
Rough steps:
git rebase
)What did you expect to see?
No error.
What did you see instead?
Upon inspection, the file starts with 4KB of
0x00
s, which definitely isn't an object file. But the block of the file at 0x1000 does match the contents of the file that's written by the compiler if I delete the "bad" file and re-run the build.The text was updated successfully, but these errors were encountered: