Files
buildroot/package
Waldemar Brodkorb 5acaac7122 package/gcc: fix powerpc toolchain issues with 64-bit capable cores
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>
2023-08-26 21:51:26 +02:00
..
2023-07-01 22:51:54 +02:00
2023-07-01 16:09:07 +02:00
2023-06-04 12:47:21 +02:00
2023-07-22 23:23:21 +02:00
2023-08-09 00:12:34 +02:00
2023-07-29 10:57:42 +02:00
2023-08-09 00:12:35 +02:00
2023-06-25 15:34:29 +02:00
2023-06-24 15:44:18 +02:00
2023-07-01 16:16:22 +02:00
2023-07-30 22:43:12 +02:00
2023-07-18 22:43:27 +02:00
2023-06-04 12:42:06 +02:00
2023-08-24 20:53:24 +02:00
2023-08-01 23:18:52 +02:00
2023-06-18 18:10:21 +02:00
2023-07-12 21:48:26 +02:00
2023-06-25 15:34:51 +02:00
2023-06-03 22:44:41 +02:00
2023-06-18 13:28:17 +02:00
2023-08-09 00:12:37 +02:00
2023-07-30 12:13:43 +02:00
2023-07-10 18:12:00 +02:00
2023-08-08 09:40:32 +02:00
2023-08-09 00:12:39 +02:00
2023-08-06 17:40:27 +02:00
2023-07-27 23:15:16 +02:00
2023-07-25 23:09:02 +02:00
2023-07-28 00:06:07 +02:00
2023-06-18 13:36:46 +02:00
2023-07-30 14:52:02 +02:00
2023-08-01 22:47:12 +02:00
2023-08-09 23:03:53 +02:00
2023-07-23 17:36:43 +02:00
2023-07-30 23:22:50 +02:00
2023-07-25 21:14:01 +02:00
2023-07-12 21:37:37 +02:00
2023-07-04 22:38:56 +02:00
2023-07-09 18:39:41 +02:00
2023-07-03 19:48:51 +02:00
2023-07-28 22:11:29 +02:00
2023-07-20 23:15:04 +02:00
2023-07-03 22:36:06 +02:00
2023-07-31 16:48:58 +02:00
2023-07-01 21:41:17 +02:00
2023-06-25 21:38:59 +02:00
2023-07-10 18:13:06 +02:00
2023-07-28 22:43:50 +02:00
2023-08-09 00:12:40 +02:00
2023-07-31 23:15:23 +02:00
2023-07-27 23:29:00 +02:00
2023-07-25 23:09:07 +02:00
2023-07-03 20:46:55 +02:00
2023-06-03 21:48:50 +02:00
2023-06-27 08:10:36 +02:00
2023-07-30 14:40:46 +02:00
2023-07-03 22:36:06 +02:00
2023-08-09 00:12:42 +02:00
2023-07-11 19:21:56 +02:00
2023-06-04 12:52:50 +02:00
2023-08-01 22:47:12 +02:00
2023-08-01 23:04:05 +02:00