Skip to contentSkip to conversation

rustc: enable on powerpc64le architecture

PATCH New Sam Bobroff 3 participants 3 messages May 16, 2018 – May 19, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 rustc: enable on powerpc64le architecture

Rust supports powerpc64le to the same level as powerpc64, so allow it.

---
Hi Buildroot,

I've tested this on a powerpc64le Power8 machine using the pre-built toolchain (it is available for this arch), and it works fine. Also, thanks to Eric Le Bihan for the inital work!

Cheers,
Sam.

 package/rustc/Config.in.host | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
package/rustc/Config.in.host +1 -1
index 1c79eededc..84a8e0f90b 100644
@@ -7,7 +7,7 @@ config BR2_PACKAGE_HOST_RUSTC_ARCH_SUPPORTS
 	default y if BR2_aarch64
 	default y if BR2_arm && !BR2_ARM_CPU_ARMV4 && !BR2_ARM_CPU_ARMV5 \
 	        && !(BR2_ARM_CPU_ARMV7A && BR2_ARM_EABI)
-	default y if BR2_powerpc || BR2_powerpc64
+	default y if BR2_powerpc || BR2_powerpc64 || BR2_powerpc64le
 	default y if (BR2_mips || BR2_mipsel) && !BR2_MIPS_CPU_MIPS32R6
 	default y if (BR2_mips64 || BR2_mips64el) && !BR2_MIPS_CPU_MIPS64R6 \
 		&& BR2_MIPS_NABI64
Signature · 1 line
2.16.1.74.g9b0b1f47b
#1 lore raw

PATCH 1/1 rustc: enable on powerpc64le architecture

Hi!

Quoted 9 lines · Sam Bobroff

Rust supports powerpc64le to the same level as powerpc64, so allow it.

---
Hi Buildroot,

I've tested this on a powerpc64le Power8 machine using the pre-built toolchain (it is available for this arch), and it works fine. Also, thanks to Eric Le Bihan for the inital work!

Tested OK with pre-built and full rustc variants using qemu_ppc64le_pseries_defconfig.

Regards,

--
ELB

#2 lore raw

PATCH 1/1 rustc: enable on powerpc64le architecture

In reply to Sam Bobroff

Hello,

Quoted 5 lines · Sam Bobroff

Rust supports powerpc64le to the same level as powerpc64, so allow it.

---
Hi Buildroot,

Applied to next, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin (formerly Free Electrons)
Embedded Linux and Kernel engineering
https://bootlin.com