Re: odd endianness toolchains for crosstool
From: Rob Landley
Date: Thu Apr 28 2022 - 02:38:58 EST
On 4/24/22 20:39, Jason A. Donenfeld wrote:
> Hey Arnd,
>
> I'm again experimenting with switching to your crosstool toolchains for
> WireGuard's CI. I've hit a few snags in the process:
>
> - For powerpc, gcc needs to be built with `--enable-secureplt
> --with-long-double-64` in order for musl to run.
> - Need powerpc64le compiler (-mabi=elfv2).
> - Need mipsel compiler.
> - Need aarch64_be compiler.
> - Need armeb compiler.
> - Need mips64el compiler.
https://landley.net/toybox/faq.html#cross2
https://landley.net/toybox/downloads/binaries/toolchains/latest/
They're all musl based. I use them to build little bootable systems under qemu
with a 300 line bash script:
https://landley.net/toybox/faq.html#mkroot
https://landley.net/toybox/downloads/binaries/mkroot/latest/
Ala:
https://github.com/landley/toybox/blob/master/scripts/mkroot.sh
Rob