From: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH v2 3/6] support/gnuconfig: update to 2019-05-28
Date: Fri, 31 May 2019 14:57:34 +0200 [thread overview]
Message-ID: <20190531145734.280f09b8@windsurf> (raw)
In-Reply-To: <87y32o2jel.fsf@dell.be.48ers.dk>
Hello,
On Thu, 30 May 2019 14:53:22 +0200
Peter Korsgaard <peter@korsgaard.com> wrote:
> Did you get any further with moving all of this to package/gnuconfig and
> downloading it, or is that for later?
So, I tried to do this:
https://github.com/tpetazzoni/buildroot/commits/gnuconfig
It's not that simple/straightforward though:
- host-gnuconfig needs host-tar because host-gnuconfig fetches from
Git so we create/extract a tarball. But host-tar is an autotools
package, so it ends up depending on host-gnuconfig, creating a
circular dependency.
As discussed on IRC, I see three options to solve this:
(1) Do not overwrite config.guess/config.sub for host packages. This
will be an issue if we have some very old package that has an old
config.guess/config.sub, and someone tries to build on a fairly
"new" architecture, say ARM64.
(2) Same as (1), but only for host-tar. Host-tar has some reasonably
frequent releases, so hopefully the problem described in (1) doesn't
happen.
(3) Change the gnuconfig package so that it doesn't fetch from Git,
but directly using wget the two individual files it needs.
- removing --build=$(GNU_HOST_NAME) from all autotools packages
doesn't really work well. For example Python 2.x at least then fails
to build with: "configure: error: Cross compiling required
--host=HOST-TUPLE and --build=ARCH". We could of course live with
--build=$(GNU_HOST_NAME), with GNU_HOST_NAME being a recursively
expanded variable, like my patch series does for libnspr and moarvm.
Overall, I am no longer so sure of the benefits vs. complexity
trade-off here. The above issues can be resolved for sure, but is it
worth it, compared to just having those two files in our tree ?
Best regards,
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
next prev parent reply other threads:[~2019-05-31 12:57 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-05-28 20:34 [Buildroot] [PATCH v2 0/6] gnuconfig and csky updates Thomas Petazzoni
2019-05-28 20:34 ` [Buildroot] [PATCH v2 1/6] package/lmbench: use UPDATE_CONFIG_HOOK instead of CONFIG_UPDATE Thomas Petazzoni
2019-05-30 10:33 ` Peter Korsgaard
2019-05-28 20:34 ` [Buildroot] [PATCH v2 2/6] support/gnuconfig: update README.buildroot with reality Thomas Petazzoni
2019-05-30 10:34 ` Peter Korsgaard
2019-05-28 20:34 ` [Buildroot] [PATCH v2 3/6] support/gnuconfig: update to 2019-05-28 Thomas Petazzoni
2019-05-30 10:36 ` Peter Korsgaard
2019-05-30 12:38 ` Thomas Petazzoni
2019-05-30 12:53 ` Peter Korsgaard
2019-05-31 12:57 ` Thomas Petazzoni [this message]
2019-05-31 21:02 ` Peter Korsgaard
2019-05-31 20:04 ` Yann E. MORIN
2019-05-31 21:02 ` Thomas Petazzoni
2019-05-28 20:34 ` [Buildroot] [PATCH v2 4/6] toolchain/toolchain-external/toolchain-external-csky: new package Thomas Petazzoni
2019-05-29 5:48 ` Guo Ren
2019-05-29 6:49 ` Thomas Petazzoni
2019-05-28 20:34 ` [Buildroot] [PATCH v2 5/6] configs/csky_gx6605s: use the C-SKY external toolchain package Thomas Petazzoni
2019-05-28 20:34 ` [Buildroot] [PATCH v2 6/6] support/config-fragments/autobuild: add testing for the C-SKY architecture Thomas Petazzoni
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=20190531145734.280f09b8@windsurf \
--to=thomas.petazzoni@bootlin.com \
--cc=buildroot@busybox.net \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox