From: Thomas Petazzoni via buildroot <buildroot@buildroot.org>
To: Joel Stanley <joel@jms.id.au>
Cc: "Yann E. MORIN" <yann.morin.1998@free.fr>,
Buildroot Mailing List <buildroot@buildroot.org>
Subject: Re: [Buildroot] [RFC] package/go: switch to gcc go instead of go-bootstrap
Date: Thu, 26 May 2022 15:46:52 +0200 [thread overview]
Message-ID: <20220526154652.030eeb4f@windsurf> (raw)
In-Reply-To: <CACPK8Xe2LB_LNd0zVneLKd+eNmZBqvKX4cuZgqgTpkQPBmyR=g@mail.gmail.com>
Hello,
On Thu, 26 May 2022 02:17:19 +0000
Joel Stanley <joel@jms.id.au> wrote:
> > The problem I see with this is that many external toolchains do not
> > provide Go support. While this will probably evolve over time, this is
> > not something that we can reasonably require right now.
>
> I use arm64 and ppc64le hosts for my buildrooting as they are the
> fastest machines I have access to. Neither are supported by
> go-bootstrap, so moving to gcc-go looks like a win for me.
Indeed.
> Likewise, we don't have prebuilt toolchains for those host CPUs so the
> question of external toolchains is not a factor.
>
> I appreciate that my situation is unusual.
As Yann Morin suggested in another e-mail, maybe we need to support
both situations:
* Building Go in 3 stages when using an external toolchain that
doesn't have Go support. This would mean building Go 1.4 with the C
compiler, then building Go 1.16 with Go 1.4, and finally building Go
latest with Go 1.16.
* Building Go in 2 stages with gcc-go when using an internal toolchain
(in which we can enable Go support) or an external toolchain that
has Go support.
Best regards,
Thomas
--
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
next prev parent reply other threads:[~2022-05-26 13:47 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-05-25 21:07 [Buildroot] [RFC] package/go: switch to gcc go instead of go-bootstrap Christian Stewart via buildroot
2022-05-25 21:43 ` Thomas Petazzoni via buildroot
2022-05-26 2:17 ` Joel Stanley
2022-05-26 13:46 ` Thomas Petazzoni via buildroot [this message]
2022-05-27 0:30 ` Christian Stewart via buildroot
2022-05-26 7:43 ` Yann E. MORIN
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220526154652.030eeb4f@windsurf \
--to=buildroot@buildroot.org \
--cc=joel@jms.id.au \
--cc=thomas.petazzoni@bootlin.com \
--cc=yann.morin.1998@free.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.