From: Romain Naour <romain.naour@gmail.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH v2 23/23] toolchain-external: introduce and use external toolchain infra
Date: Tue, 1 Nov 2016 18:42:22 +0100 [thread overview]
Message-ID: <db5e7d52-3abe-a74b-ee86-06d60a9491d9@gmail.com> (raw)
In-Reply-To: <20161101142314.7248d448@free-electrons.com>
Hi Thomas,
Le 01/11/2016 ? 14:23, Thomas Petazzoni a ?crit :
> Hello,
>
> On Sun, 30 Oct 2016 19:38:20 +0100, Romain Naour wrote:
>>> +source "toolchain/toolchain-external/toolchain-external-blackfin-uclinux/Config.in"
>>> +source "toolchain/toolchain-external/toolchain-external-arago-armv5te/Config.in"
>>> +source "toolchain/toolchain-external/toolchain-external-arago-armv7a/Config.in"
>>> +source "toolchain/toolchain-external/toolchain-external-codescape-mti-mips/Config.in"
>>> +source "toolchain/toolchain-external/toolchain-external-codescape-img-mips/Config.in"
>>> +source "toolchain/toolchain-external/toolchain-external-linaro-aarch64/Config.in"
>>> +source "toolchain/toolchain-external/toolchain-external-linaro-arm/Config.in"
>>> +source "toolchain/toolchain-external/toolchain-external-linaro-armeb/Config.in"
>>> +source "toolchain/toolchain-external/toolchain-external-musl-cross/Config.in"
>>> +source "toolchain/toolchain-external/toolchain-external-codesourcery-aarch64/Config.in"
>>> +source "toolchain/toolchain-external/toolchain-external-codesourcery-amd64/Config.in"
>>> +source "toolchain/toolchain-external/toolchain-external-codesourcery-arm/Config.in"
>>> +source "toolchain/toolchain-external/toolchain-external-codesourcery-mips/Config.in"
>>> +source "toolchain/toolchain-external/toolchain-external-codesourcery-niosII/Config.in"
>>> +source "toolchain/toolchain-external/toolchain-external-codesourcery-sh/Config.in"
>>> +source "toolchain/toolchain-external/toolchain-external-codesourcery-x86/Config.in"
>>
>> The codesourcery toolchains were named sourcery in a previous version of this
>> series, but now it's not sorted alphabetically.
>> Also, for ARM the default toochain choice is arago which is an very old
>> toolchain (2011), do we want to keep the default ARM choice to linaro or
>> codesourcery toolchain ?
>
> You're talking about Arago vs. Sourcery, and you conclude with a
> question about Linaro vs. Sourcery, so I'm confused.
There are two problem in this patch:
1) The alphabetical order (Sourcery toolchains) which is fixed easily.
2) With toolchains sorted alphabetically, the current default choice is changed
silently with the introduction of the external toolchain infra.
>
> So:
>
> - The Linaro toolchain is EABIhf, the Sourcery toolchain is EABI, so
> there is never a choice between Linaro and Sourcery for a given
> target configuration.
Ok for this one but my concern was about Sourcery over Arago ARM toolchains and
Sourcery over Codescape MIPS toolchains. Notice that Linaro provide an EABI
toolchains [1], if someone add this toolchain in Buildroot we will have a choice
between Linaro and Sourcery toolchains.
My understanding is: currently we have a list of "preferred" toolchains with a
fall back to custom toolchains. So even if we want to keep toolchains sorted
alphabetically here, we have to make an exception for toolchain-external-custom
package.
>
> - The Arago toolchain is indeed old, and I'd rather not use it for our
> default on ARM. Maybe we can keep an alphabetic ordering, and add a
> "default" Config.in clause in the choice...endchoice? Yes, it is
> weird to have such a default in the generic code, but I don't see
> another option.
I guess you don't really like the patch 24/24 of the last series (v3):
http://patchwork.ozlabs.org/patch/689378/
Adding a "default" in Config.in may be difficult to maintain over the time.
Thoughts ?
Best regards,
Romain
[1]
https://releases.linaro.org/components/toolchain/binaries/5.3-2016.05/arm-linux-gnueabi
>
> Thanks,
>
> Thomas
>
next prev parent reply other threads:[~2016-11-01 17:42 UTC|newest]
Thread overview: 40+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-10-29 12:08 [Buildroot] [PATCH v2 00/23] Splitting the toolchain-external package Romain Naour
2016-10-29 12:08 ` [Buildroot] [PATCH v2 01/23] toolchain-external: TOOLCHAIN_EXTERNAL_CREATE_*_LIB_SYMLINK: use arguments instead of global variables Romain Naour
2016-10-30 16:20 ` Yann E. MORIN
2016-10-29 12:08 ` [Buildroot] [PATCH v2 02/23] toolchain-external: TOOLCHAIN_EXTERNAL_INSTALL_*_LIBS: " Romain Naour
2016-10-30 16:27 ` Yann E. MORIN
2016-10-29 12:08 ` [Buildroot] [PATCH v2 03/23] toolchain-external: TOOLCHAIN_EXTERNAL_INSTALL_WRAPPER: " Romain Naour
2016-10-30 16:29 ` Yann E. MORIN
2016-10-29 12:08 ` [Buildroot] [PATCH v2 04/23] toolchain-external: TOOLCHAIN_EXTERNAL_INSTALL_TARGET_GDBSERVER: " Romain Naour
2016-10-30 16:31 ` Yann E. MORIN
2016-10-29 12:08 ` [Buildroot] [PATCH v2 05/23] toolchain-external-blackfin-uclinux: new package Romain Naour
2016-10-30 16:47 ` Yann E. MORIN
2016-10-30 17:37 ` Thomas Petazzoni
2016-10-30 18:17 ` Yann E. MORIN
2016-11-01 13:19 ` Thomas Petazzoni
2016-11-01 18:06 ` Romain Naour
2016-11-01 18:14 ` Yann E. MORIN
2016-11-02 9:48 ` Thomas Petazzoni
2016-10-30 16:50 ` Yann E. MORIN
2016-10-29 12:08 ` [Buildroot] [PATCH v2 06/23] toolchain-external-arago-armv7a: " Romain Naour
2016-10-29 12:08 ` [Buildroot] [PATCH v2 07/23] toolchain-external-arago-armv5te: " Romain Naour
2016-10-29 12:08 ` [Buildroot] [PATCH v2 08/23] toolchain-external-custom: " Romain Naour
2016-10-29 12:08 ` [Buildroot] [PATCH v2 09/23] toolchain-external-linaro-aarch64: " Romain Naour
2016-10-29 12:08 ` [Buildroot] [PATCH v2 10/23] toolchain-external-linaro-arm: " Romain Naour
2016-10-29 12:08 ` [Buildroot] [PATCH v2 11/23] toolchain-external-linaro-armeb: " Romain Naour
2016-10-29 12:08 ` [Buildroot] [PATCH v2 12/23] toolchain-external-musl-cross: " Romain Naour
2016-10-29 12:08 ` [Buildroot] [PATCH v2 13/23] toolchain-external-codesourcery-aarch64: " Romain Naour
2016-10-29 12:08 ` [Buildroot] [PATCH v2 14/23] toolchain-external-codesourcery-arm: " Romain Naour
2016-10-29 12:09 ` [Buildroot] [PATCH v2 15/23] toolchain-external-codesourcery-mips: " Romain Naour
2016-10-29 12:09 ` [Buildroot] [PATCH v2 16/23] toolchain-external-codesourcery-niosII: " Romain Naour
2016-10-29 12:09 ` [Buildroot] [PATCH v2 17/23] toolchain-external-codesourcery-sh: " Romain Naour
2016-10-29 12:09 ` [Buildroot] [PATCH v2 18/23] toolchain-external-codesourcery-x86: " Romain Naour
2016-10-29 12:09 ` [Buildroot] [PATCH v2 19/23] toolchain-external-codesourcery-amd64: " Romain Naour
2016-10-29 12:09 ` [Buildroot] [PATCH v2 20/23] toolchain-external-synopsys-arc: " Romain Naour
2016-10-29 12:09 ` [Buildroot] [PATCH v2 21/23] toolchain-external-codescape-img-mips: " Romain Naour
2016-10-29 12:09 ` [Buildroot] [PATCH v2 22/23] toolchain-external-codescape-mti-mips: " Romain Naour
2016-10-29 12:09 ` [Buildroot] [PATCH v2 23/23] toolchain-external: introduce and use external toolchain infra Romain Naour
2016-10-30 18:38 ` Romain Naour
2016-11-01 13:23 ` Thomas Petazzoni
2016-11-01 17:42 ` Romain Naour [this message]
2016-11-02 9:55 ` 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=db5e7d52-3abe-a74b-ee86-06d60a9491d9@gmail.com \
--to=romain.naour@gmail.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