diff mbox series

toolchain/glibc: Restrict ppc64le support to power8

Message ID 20220518034225.373194-1-joel@jms.id.au
State Accepted
Headers show
Series toolchain/glibc: Restrict ppc64le support to power8 | expand

Commit Message

Joel Stanley May 18, 2022, 3:42 a.m. UTC
Glibc restricts ppc64le support to Power8 (or later):

 https://sourceware.org/git/?p=glibc.git;a=commit;h=a27d2c19355a15569dfcdd5da741b57acf1a106a

The autobuilder has been attempting combiations of BR2_powerpc64le,
BR2_TOOLCHAIN_USES_GLIBC and

BR2_powerpc_970:

 http://autobuild.buildroot.net/results/89eae4c6e28658444ca5bc67caa2644358de97b7

BR2_powerpc_power6:

 http://autobuild.buildroot.net/results/bee990c9c34d391cfc4a351a30abc1a0a53a2415

BR2_powerpc_620:

 http://autobuild.buildroot.net/results/a0557172757d3bba2b5fc6244c7b9b17ef6be0db

When Power9, Power10, etc support is added to buildroot we may require a
BR2_PPC64LE_AT_LEAST_POWER8 or similar.

Signed-off-by: Joel Stanley <joel@jms.id.au>
---
I don't think we can boot a ppc64le kernel on these machines either,
which means we could instead set depends on !BR2_powerpc64le in
arch/Config.in.powerpc for pre-power8.

(A power7 can boot a ppc64le kernel, but outside of the lab it wasn't
really a thing).

Signed-off-by: Joel Stanley <joel@jms.id.au>
---
 toolchain/toolchain-buildroot/Config.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Arnout Vandecappelle May 18, 2022, 7:19 p.m. UTC | #1
On 18/05/2022 05:42, Joel Stanley wrote:
> Glibc restricts ppc64le support to Power8 (or later):
> 
>   https://sourceware.org/git/?p=glibc.git;a=commit;h=a27d2c19355a15569dfcdd5da741b57acf1a106a
> 
> The autobuilder has been attempting combiations of BR2_powerpc64le,
> BR2_TOOLCHAIN_USES_GLIBC and
> 
> BR2_powerpc_970:
> 
>   http://autobuild.buildroot.net/results/89eae4c6e28658444ca5bc67caa2644358de97b7
> 
> BR2_powerpc_power6:
> 
>   http://autobuild.buildroot.net/results/bee990c9c34d391cfc4a351a30abc1a0a53a2415
> 
> BR2_powerpc_620:
> 
>   http://autobuild.buildroot.net/results/a0557172757d3bba2b5fc6244c7b9b17ef6be0db
> 
> When Power9, Power10, etc support is added to buildroot we may require a
> BR2_PPC64LE_AT_LEAST_POWER8 or similar.
> 
> Signed-off-by: Joel Stanley <joel@jms.id.au>

  Applied to master, thanks.

  Regards,
  Arnout

> ---
> I don't think we can boot a ppc64le kernel on these machines either,
> which means we could instead set depends on !BR2_powerpc64le in
> arch/Config.in.powerpc for pre-power8.
> 
> (A power7 can boot a ppc64le kernel, but outside of the lab it wasn't
> really a thing).
> 
> Signed-off-by: Joel Stanley <joel@jms.id.au>
> ---
>   toolchain/toolchain-buildroot/Config.in | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/toolchain/toolchain-buildroot/Config.in b/toolchain/toolchain-buildroot/Config.in
> index 8d9cf4cc68b5..559c2546225f 100644
> --- a/toolchain/toolchain-buildroot/Config.in
> +++ b/toolchain/toolchain-buildroot/Config.in
> @@ -46,7 +46,7 @@ config BR2_TOOLCHAIN_BUILDROOT_GLIBC
>   	depends on BR2_arm         || BR2_armeb      || BR2_aarch64 || \
>   		   BR2_aarch64_be  || BR2_i386       || BR2_mips    || \
>   		   BR2_mipsel      || BR2_mips64     || BR2_mips64el|| \
> -		   BR2_powerpc     || BR2_powerpc64  || BR2_powerpc64le || \
> +		   BR2_powerpc     || BR2_powerpc64  || BR2_powerpc_power8 || \
>   		   BR2_riscv       || BR2_s390x      || BR2_sh          || \
>   		   BR2_sparc64     || BR2_x86_64     || BR2_microblaze  || \
>   		   BR2_nios2       || (BR2_arc && BR2_ARC_ATOMIC_EXT)   || \
Peter Korsgaard June 1, 2022, 4:10 p.m. UTC | #2
>>>>> "Joel" == Joel Stanley <joel@jms.id.au> writes:

 > Glibc restricts ppc64le support to Power8 (or later):
 >  https://sourceware.org/git/?p=glibc.git;a=commit;h=a27d2c19355a15569dfcdd5da741b57acf1a106a

 > The autobuilder has been attempting combiations of BR2_powerpc64le,
 > BR2_TOOLCHAIN_USES_GLIBC and

 > BR2_powerpc_970:

 >  http://autobuild.buildroot.net/results/89eae4c6e28658444ca5bc67caa2644358de97b7

 > BR2_powerpc_power6:

 >  http://autobuild.buildroot.net/results/bee990c9c34d391cfc4a351a30abc1a0a53a2415

 > BR2_powerpc_620:

 >  http://autobuild.buildroot.net/results/a0557172757d3bba2b5fc6244c7b9b17ef6be0db

 > When Power9, Power10, etc support is added to buildroot we may require a
 > BR2_PPC64LE_AT_LEAST_POWER8 or similar.

 > Signed-off-by: Joel Stanley <joel@jms.id.au>
 > ---
 > I don't think we can boot a ppc64le kernel on these machines either,
 > which means we could instead set depends on !BR2_powerpc64le in
 > arch/Config.in.powerpc for pre-power8.

 > (A power7 can boot a ppc64le kernel, but outside of the lab it wasn't
 > really a thing).

 > Signed-off-by: Joel Stanley <joel@jms.id.au>

Committed to 2022.02.x, thanks.
diff mbox series

Patch

diff --git a/toolchain/toolchain-buildroot/Config.in b/toolchain/toolchain-buildroot/Config.in
index 8d9cf4cc68b5..559c2546225f 100644
--- a/toolchain/toolchain-buildroot/Config.in
+++ b/toolchain/toolchain-buildroot/Config.in
@@ -46,7 +46,7 @@  config BR2_TOOLCHAIN_BUILDROOT_GLIBC
 	depends on BR2_arm         || BR2_armeb      || BR2_aarch64 || \
 		   BR2_aarch64_be  || BR2_i386       || BR2_mips    || \
 		   BR2_mipsel      || BR2_mips64     || BR2_mips64el|| \
-		   BR2_powerpc     || BR2_powerpc64  || BR2_powerpc64le || \
+		   BR2_powerpc     || BR2_powerpc64  || BR2_powerpc_power8 || \
 		   BR2_riscv       || BR2_s390x      || BR2_sh          || \
 		   BR2_sparc64     || BR2_x86_64     || BR2_microblaze  || \
 		   BR2_nios2       || (BR2_arc && BR2_ARC_ATOMIC_EXT)   || \