Re: [PATCH v2 3/8] toolchain/gcc: use ELFv2 ABI on ppc64 with musl

2021-12-21 Thread Rui Salvaterra
Hi, Stijn, On Mon, 20 Dec 2021 at 19:01, Stijn Tintel wrote: > > At configuration time, gcc assumes that ppc64be targets use the ELFv1 > ABI, and ppc64le targets use the ELFv2 ABI. However, musl libc does not > support the ELFv1 ABI on ppc64 at all, regardless of the endianness. > > Therefore,

[PATCH v2 3/8] toolchain/gcc: use ELFv2 ABI on ppc64 with musl

2021-12-20 Thread Stijn Tintel
At configuration time, gcc assumes that ppc64be targets use the ELFv1 ABI, and ppc64le targets use the ELFv2 ABI. However, musl libc does not support the ELFv1 ABI on ppc64 at all, regardless of the endianness. Therefore, when building for a ppc64 arch and with musl libc, instruct gcc to use the