On Tue, Nov 10, 2020 at 10:06 AM Hugo Cornelis <hugo.corne...@essensium.com> wrote: > > Hi Mirza, > > On Thu, Nov 5, 2020 at 3:18 PM 'Mirza Krak' via golang-nuts > <golang-nuts@googlegroups.com> wrote: >> >> On Tuesday, October 20, 2020 at 9:52:17 AM UTC+2 hugo.c...@essensium.com >> wrote: >>> >>> 1. Build the gccgo cross-toolchain with Buildroot: Buildroot currently >>> builds a toolchain by first building a gcc-initial, then proceeding to >>> build a gcc-final. We had to insert a new gcc compilation stage before >>> gcc-final can build the gccgo cross-compiler. This additional gcc >>> compilation stage makes go-tools available in the native environment that >>> are required for building the gccgo cross-compiler tools when gcc-final is >>> built. If I understand well this may be an important part of the solution >>> to your problem. >>> >>> 2. Patch the Buildroot environment to invoke gccgo as the compiler, rather >>> than gc, for compiling Go applications. We are planning to upstream this >>> and the previous step to Buildroot in the coming months. >> >> >> Are these Buildroot changes available in a public repo? I have some interest >> in this, and was planning on doing something very similar in Buildroot, but >> if someone has already done, I would rather base any work on top of that. >> >> Best Regards, >> Mirza > > > These patches are not yet available in a public repository and they will need > more work before they can be upstreamed. We hope to upstream our patches to > Buildroot before the end of the year.
I am currently involved with a project with similar timelines, or the goal would be to have something upstream before the 2021.02 Buildroot release which would be an LTS and the plan is to start working on this soon. And as I mentioned, I would rather collaborate then re-doing work that is already done. My interest is primarily to compile for ppc64 e5500 so I hope to avoid the sys/unix issues that exist for ppc32. > I can check if it is possible to make these changes already available on > Github. Would be great! Best Regards, Mirza -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/CADHdJwBcDpKmwbJuB9zQbiV3KrUFdiHkVpkVhjoW%3D0iaCxti9w%40mail.gmail.com.