[elbe-devel] [PATCH] xmldefault: Change triplets of ppc64le and i386
Torben Hohn
torben.hohn at linutronix.de
Mon Jun 15 13:54:19 CEST 2020
On Mon, Jun 01, 2020 at 12:06:23PM -0400, Olivier Dion wrote:
> According to <https://wiki.debian.org/Multiarch/Tuples>, the triplet
> for LSB PPC64 is 'powerpc64le-linux-gnu'.
>
> Note for i386 architecture:
> ----------------------------------------------------------------------
> On IA-32, the GNU triplet varies according to the precise instruction
> set being targeted: e.g., i486-linux-gnu, i586-linux-gnu
> i686-linux-gnu. Such triplets will be inconsistent over time within a
> single distribution as compiler defaults are changed, let alone
> between distributions.
> ----------------------------------------------------------------------
>
> This should fix SDK for these archs.
>
> Signed-off-by: Olivier Dion <dion at linutronix.de>
Reviewed-by: Torben Hohn <torben.hohn at linutronix.de>
> ---
> elbepack/xmldefaults.py | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/elbepack/xmldefaults.py b/elbepack/xmldefaults.py
> index b0a37019..ea2f20f8 100644
> --- a/elbepack/xmldefaults.py
> +++ b/elbepack/xmldefaults.py
> @@ -139,7 +139,7 @@ ppc64el_defaults = {
> "console": "ttyS0,115200n1",
> "machine": "none",
> "nicmodel": "virtio",
> - "triplet": "ppc64le-linux-gnu",
> + "triplet": "powerpc64le-linux-gnu",
> "sdkgccpkg": "g++-powerpc64le-linux-gnu",
> "elfcode": "64-bit PowerPC or cisco 7500",
> }
> @@ -163,7 +163,7 @@ i386_defaults = {
> "console": "ttyS0,115200n1",
> "machine": "pc",
> "nicmodel": "virtio",
> - "triplet": "i386-linux-gnu",
> + "triplet": "i686-linux-gnu",
> "sdkgccpkg": "g++-i686-linux-gnu",
> }
>
> --
> 2.26.2
>
>
> _______________________________________________
> elbe-devel mailing list
> elbe-devel at linutronix.de
> https://lists.linutronix.de/mailman/listinfo/elbe-devel
--
Torben Hohn
Linutronix GmbH | Bahnhofstrasse 3 | D-88690 Uhldingen-Mühlhofen
Phone: +49 7556 25 999 18; Fax.: +49 7556 25 999 99
Hinweise zum Datenschutz finden Sie hier (Informations on data privacy
can be found here): https://linutronix.de/kontakt/Datenschutz.php
Linutronix GmbH | Firmensitz (Registered Office): Uhldingen-Mühlhofen |
Registergericht (Registration Court): Amtsgericht Freiburg i.Br., HRB700
806 | Geschäftsführer (Managing Directors): Heinz Egger, Thomas Gleixner
More information about the elbe-devel
mailing list