-
Notifications
You must be signed in to change notification settings - Fork 17.9k
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
all: add freebsd/riscv64 port #53466
Comments
CC @rsc |
This proposal has been added to the active column of the proposals project |
I tried to install the prometheus node_exporter and got undefined errors from I think we should update golang.org/x/sys and other x/ moduels first and leave alone the Go main develope cycle. |
I'm already updating |
The new port policy (#53383) will require two maintainers for the port. Assuming that is accepted, is there anyone else who would be willing to be a second maintainer for freebsd/riscv64? |
Assuming nobody else volunteers, I'll be willing to be a second maintainer for the freebsd/riscv64 (can we have more than two?). I think more people will be interested when this port is closer to be merged. |
I want to be the third maintainer since the freebsd/riscv64 stage0 is up and ready. |
Change https://go.dev/cl/416834 mentions this issue: |
For golang/go#53466 Change-Id: If5a4dc674cb1856ac580fb87d8030d50fa7c95dd Reviewed-on: https://go-review.googlesource.com/c/sys/+/416834 Reviewed-by: Benny Siegert <bsiegert@gmail.com> TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Bryan Mills <bcmills@google.com> Run-TryBot: Meng Zhuo <mzh@golangcn.org> Reviewed-by: Yuval Pavel Zholkover <paulzhol@gmail.com> Reviewed-by: Dmitri Goutnik <dgoutnik@gmail.com>
Thanks to @MikaelUrankar, @dmgk, and @mengzhuo for volunteering to be maintainers. |
Based on the discussion above, this proposal seems like a likely accept. |
No change in consensus, so accepted. 🎉 |
Change https://go.dev/cl/418814 mentions this issue: |
CC @golang/release. |
For golang/go#53466 Change-Id: Ibbeab43923bdd6b455a28c627832e676b401b4f4 Reviewed-on: https://go-review.googlesource.com/c/net/+/418814 TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Ian Lance Taylor <iant@google.com> Reviewed-by: Dmitri Goutnik <dgoutnik@gmail.com> Reviewed-by: Dmitri Shuralyov <dmitshur@google.com> Run-TryBot: Meng Zhuo <mzh@golangcn.org>
Change https://go.dev/cl/443036 mentions this issue: |
If no external linker was passed with -extld, link currently assumes that it is "gcc" which is not correct for platforms that use clang toolchain. Return "clang" for platforms that use it, this fixes dir tests on freebsd/riscv64. For #53466 Change-Id: Ie3bce1b9581839d0b3b2129908355cd30ae9a713 Reviewed-on: https://go-review.googlesource.com/c/go/+/432756 Run-TryBot: Cherry Mui <cherryyz@google.com> Reviewed-by: Cherry Mui <cherryyz@google.com> Reviewed-by: Joel Sing <joel@sing.id.au> Reviewed-by: Mikaël Urankar <mikael.urankar@gmail.com> TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Joedian Reid <joedian@golang.org>
Change https://go.dev/cl/443496 mentions this issue: |
I've droped CC env and it looks at Go repo after 15e2669, however there are some breaks in sub repos: benchmarks, crypto, debug, website need to update sys text: |
Could this be due to the |
Scratch that, it looks specific to risc-v? starting from http://golang.org/cl/442796: |
re: sys updates, I happen to be working on that this week. |
NOTE: This builder will be unavailable due to kernel panic, I will try to reboot it everyday if it's down. |
@mengzhuo Thanks for reporting this. We may need to update the builder to 13.1-STABLE later when this panic is fixed. |
Use rdtime to retrieve the timecounter, same as the FreeBSD libc. Updates #53466 Change-Id: I48816e9100036f1ef483e4d3afcf10db0d3b85f8 Reviewed-on: https://go-review.googlesource.com/c/go/+/443036 Reviewed-by: Meng Zhuo <mzh@golangcn.org> Reviewed-by: Dmitri Goutnik <dgoutnik@gmail.com> TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: David Chase <drchase@google.com> Reviewed-by: Than McIntosh <thanm@google.com> Reviewed-by: Yuval Pavel Zholkover <paulzhol@gmail.com> Run-TryBot: Meng Zhuo <mzh@golangcn.org>
Change https://go.dev/cl/446515 mentions this issue: |
Change https://go.dev/cl/446516 mentions this issue: |
This CL update golang.org/x/sys to 0.1.0 for FreeBSD/riscv64 porting For golang/go#53466 Change-Id: I6cbfced0c9e1abef735ea3d8ea5ae1b9971c2e45 Reviewed-on: https://go-review.googlesource.com/c/benchmarks/+/446516 Reviewed-by: Michael Pratt <mpratt@google.com> Reviewed-by: Ian Lance Taylor <iant@google.com> TryBot-Result: Gopher Robot <gobot@golang.org> Run-TryBot: Meng Zhuo <mzh@golangcn.org>
This CL update golang.org/x/sys to 0.1.0 for FreeBSD/riscv64 porting For golang/go#53466 Change-Id: I56c920d17c0d6a08cf89c927fa840c55a59d6e83 Reviewed-on: https://go-review.googlesource.com/c/debug/+/446515 Auto-Submit: Ian Lance Taylor <iant@google.com> Run-TryBot: Meng Zhuo <mzh@golangcn.org> TryBot-Result: Gopher Robot <gobot@golang.org> Run-TryBot: Ian Lance Taylor <iant@google.com> Reviewed-by: Bryan Mills <bcmills@google.com> Reviewed-by: Ian Lance Taylor <iant@google.com>
If no external linker was passed with -extld, link currently assumes that it is "gcc" which is not correct for platforms that use clang toolchain. Return "clang" for platforms that use it, this fixes dir tests on freebsd/riscv64. For golang#53466 Change-Id: Ie3bce1b9581839d0b3b2129908355cd30ae9a713 Reviewed-on: https://go-review.googlesource.com/c/go/+/432756 Run-TryBot: Cherry Mui <cherryyz@google.com> Reviewed-by: Cherry Mui <cherryyz@google.com> Reviewed-by: Joel Sing <joel@sing.id.au> Reviewed-by: Mikaël Urankar <mikael.urankar@gmail.com> TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Joedian Reid <joedian@golang.org>
Use rdtime to retrieve the timecounter, same as the FreeBSD libc. Updates golang#53466 Change-Id: I48816e9100036f1ef483e4d3afcf10db0d3b85f8 Reviewed-on: https://go-review.googlesource.com/c/go/+/443036 Reviewed-by: Meng Zhuo <mzh@golangcn.org> Reviewed-by: Dmitri Goutnik <dgoutnik@gmail.com> TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: David Chase <drchase@google.com> Reviewed-by: Than McIntosh <thanm@google.com> Reviewed-by: Yuval Pavel Zholkover <paulzhol@gmail.com> Run-TryBot: Meng Zhuo <mzh@golangcn.org>
The FreeBSD riscv64 builder passed all tests after CL432756 merged. We can drop known issue now. For golang/go#53466 Change-Id: Ia9f63b2eb780fbb39fbaf684045b7f8b46101a93 Reviewed-on: https://go-review.googlesource.com/c/build/+/443496 Reviewed-by: Dmitri Shuralyov <dmitshur@google.com> Reviewed-by: Dmitri Goutnik <dgoutnik@gmail.com> Run-TryBot: Meng Zhuo <mzh@golangcn.org> TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org> Reviewed-by: Cherry Mui <cherryyz@google.com>
For golang/go#53466 Change-Id: Ibbeab43923bdd6b455a28c627832e676b401b4f4 Reviewed-on: https://go-review.googlesource.com/c/net/+/418814 TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Ian Lance Taylor <iant@google.com> Reviewed-by: Dmitri Goutnik <dgoutnik@gmail.com> Reviewed-by: Dmitri Shuralyov <dmitshur@google.com> Run-TryBot: Meng Zhuo <mzh@golangcn.org>
Change https://go.dev/cl/452355 mentions this issue: |
Change https://go.dev/cl/456575 mentions this issue: |
…ux-riscv64-unmatched Fixes golang/go#56273. Updates golang/go#53466. Change-Id: I6e796006f8f7120ae05d5e62cdbc7cdd9d146f7e Reviewed-on: https://go-review.googlesource.com/c/build/+/456575 Auto-Submit: Bryan Mills <bcmills@google.com> TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Michael Pratt <mpratt@google.com> Run-TryBot: Bryan Mills <bcmills@google.com>
The proposal is approved, the port is listed in Is there more that should be done here before closing this issue, or shall we do that now? (New issues can be opened to track specific known work to improve the port.) |
I think this issue can be closed. Thanks everyone for working on it. |
This issue is intended to serve both as a proposal and to track the progress of adding the freebsd/riscv64 port.
The majority of porting work is done, there's an out-of-tree port at https://github.com/MikaelUrankar/go/tree/freebsd_riscv64 which builds and passes all
run.bash
tests, including cgo (tested under QEMU and on Unmatched).@mengzhuo has graciously agreed to setup and maintain the freebsd/riscv64 builder (on SiFive Unmatched) and @MikaelUrankar has agreed to be the port maintainer.
cc @golang/freebsd @golang/riscv64 @mengzhuo @MikaelUrankar
The text was updated successfully, but these errors were encountered: