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
How about we make cmd/go print "perhaps unsupported platform?" message if
some core std packages (runtime, syscall and net?) have build errors?
Then we don't nees to maintain a list of supported platforms.
or we can detect whether there exists runtime/defs_$GOOS_$GOARCH.go file to
see if the platform is supported.
(I'm a little sad about the recent duplication of the list of cgo-enabled
platforms in cmd/dist. I even want to suggest that we make cmd/dist
generate the list for go/build)
I have another proposal.
We store the list of supported platforms in cmd/dist, and have it generate
a list of supported platforms for cmd/go and a list of cgo enabled
platforms for go/build.
Activity
minux commentedon Aug 23, 2015
rakyll commentedon Oct 13, 2015
It won't help the users if the error message is uncertain, they will end up in the issue tracker or the mailing list to ask about the case.
Maintaining a single source of truth for the supported combinations are rather easy and explicit.
minux commentedon Oct 13, 2015
rsc commentedon Jan 14, 2016
Not critical for Go 1.6.
gopherbot commentedon May 6, 2016
CL https://golang.org/cl/22838 mentions this issue.
a13xb commentedon Jul 12, 2016
Funny enough, we relied on the old behaviour.
We use
go
tool to build for Linux/MIPS target usinggccgo
(which does support MIPS), and works fine with 1.6, but now it's blocked by this check.quentinmit commentedon Jul 12, 2016
Okay. I'll reopen the issue to take another look. @bradfitz Is this WAI or do we need to change or revert the check?
ianlancetaylor commentedon Jul 12, 2016
Yes, I think we do need to fix this. We should not issue the error for
-compiler=gccgo
.bradfitz commentedon Jul 12, 2016
On it.
gopherbot commentedon Jul 12, 2016
CL https://golang.org/cl/24864 mentions this issue.
a13xb commentedon Jul 13, 2016
Incredible turnaround time on this one, thanks!