All of lore.kernel.org
 help / color / mirror / Atom feed
From: Peter Korsgaard <peter@korsgaard.com>
To: Thomas Petazzoni via buildroot <buildroot@buildroot.org>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Subject: Re: [Buildroot] [git commit] package/gcc: fix powerpc toolchain issues with 64-bit capable cores
Date: Wed, 13 Sep 2023 21:27:45 +0200	[thread overview]
Message-ID: <87a5tp27ri.fsf@48ers.dk> (raw)
In-Reply-To: <20230826195311.4A3568642E@busybox.osuosl.org> (Thomas Petazzoni via buildroot's message of "Sat, 26 Aug 2023 21:51:26 +0200")

>>>>> "Thomas" == Thomas Petazzoni via buildroot <buildroot@buildroot.org> writes:

 > commit: https://git.buildroot.net/buildroot/commit/?id=5acaac7122945c7588cf2328d928e1d4fb6488dd
 > branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master

 > Some of the powerpc CPUs supported by Buildroot are dual mode CPUs,
 > which means 32 Bit and 64 Bit mode is supported, and for any 64-bit
 > capable CPU, GCC defaults to using 64-bit, even if the toolchain tuple
 > starts with powerpc-* (and not powerpc64-*). This causes issues when
 > building toolchains with uClibc or musl.

 > In order to resolve this, we force GCC to understand we want to
 > generate 32-bit code, using the --with-cpu-32 option.

 > See here the gcc documentation for details about --with-cpu-32:
 > https://gcc.gnu.org/install/configure.html

 > See here for a discussion on the musl mailinglist about the error:
 > https://inbox.vuxu.org/musl/20220722162900.GB1320090@port70.net/

 > Fixes:
 >  - http://autobuild.buildroot.net/results/450/4509d8cfb7d99beb4ef023f170490def1d90f92c
 >  - http://autobuild.buildroot.net/results/654/6545a464d49f9f3c6740a5208cfad7f09ec4cb8b
 >  - http://autobuild.buildroot.net/results/cf8/cf866d5320b069eb1e8b4f05e8e58de0ad2ec7b5

 > Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
 > Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>

Committed to 2023.02.x and 2023.05.x, thanks.

-- 
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

      reply	other threads:[~2023-09-13 19:27 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-08-26 19:51 [Buildroot] [git commit] package/gcc: fix powerpc toolchain issues with 64-bit capable cores Thomas Petazzoni via buildroot
2023-09-13 19:27 ` Peter Korsgaard [this message]

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=87a5tp27ri.fsf@48ers.dk \
    --to=peter@korsgaard.com \
    --cc=buildroot@buildroot.org \
    --cc=thomas.petazzoni@bootlin.com \
    /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.