cmd/go: exits with errors when -n used with -gcflags=all=... #29346
Labels
FrozenDueToAge
GoCommand
cmd/go
NeedsFix
The path to resolution is known, but the work has not been done.
release-blocker
Milestone
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
No.
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
What did you expect to see?
Full list of commands and exit with status 0.
What did you see instead?
Full output is below. Exit status was 1. The error buried in the output is:
This is happening because
(gcToolchain) symabis
callsioutil.ReadFile
on a file produced by the assembler. The assembler is never run because of-n
so this fails.The text was updated successfully, but these errors were encountered: