New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cmd/dist: linux/riscv64 listed as supported platform #28944

Open
vcabbage opened this Issue Nov 25, 2018 · 3 comments

Comments

Projects
None yet
4 participants
@vcabbage
Member

vcabbage commented Nov 25, 2018

What version of Go are you using (go version)?

$ go version
go version devel +048c9164a0 Sat Nov 24 23:55:07 2018 +0000 linux/amd64

Does this issue reproduce with the latest release?

Yes, introduced in 1.11.

What operating system and processor architecture are you using (go env)?

N/A

What did you do?

Ran go tool dist list

What did you expect to see?

Only supported GOOS/GOARCH combinations listed.

What did you see instead?

linux/riscv64 listed even though it hasn't been fully implemented.

Added in https://golang.org/cl/118618. Appears it may be needed for the development of the RISC-V port but it doesn't seem as though it should be included in go tool dist list since that's documented to "list all supported platforms".

@ALTree ALTree added this to the Go1.13 milestone Nov 25, 2018

@ALTree

This comment has been minimized.

Member

ALTree commented Nov 25, 2018

Milestoning as 1.13 since the riscv GOARCH was introduced the previous development cycle (1.11), so this dist list issue is not something that needs to be acted upon for the 1.12 release.

It's not clear if dist list is supposed to print all the reserved GOOS/GOARCH pairs (and in this case it's correct to list riscv64), or just the platforms where Go is actually working.

@tklauser

This comment has been minimized.

Member

tklauser commented Nov 26, 2018

See #27532 for the state of riscv64 support. https://golang.org/cl/118618 was already sent so the Go tooling can be used to auto-generate files for linux/riscv64 in golang.org/x/sys/unix (https://golang.org/cl/133735).

@bradfitz

This comment has been minimized.

Member

bradfitz commented Dec 13, 2018

I suppose we could have another incomplete map in dist alongside the cgo one and then filter out some ports in dist list.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment