A weird thing has been happening to me recently, and I'm not sure how to debug it.
I'll run go install cmd/compile to install a modified compiler. (In this instance, the modifications were envvar-guarded logging, so it was not a broken compiler.)
Then I'll execute the compiler. To rule out any go tool problems or the like, I am running the compiler directly using an absolute path: /Users/josh/go/tip/pkg/tool/darwin_amd64/compile -S x.go. And the compiler hangs.