openwrt/toolchain/gcc
Stijn Tintel 6e2556963d toolchain/gcc: use ELFv2 ABI on ppc64 with musl
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 ELFv2 ABI.

See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93157 for more info.

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
Reviewed-by: Rui Salvaterra <rsalvaterra@gmail.com>
2021-12-21 21:35:29 +02:00
..
files do not use the wrapper scripts for exportable toolchains internally. on some systems the wrapper scripts are broken, and their use should be opt-in 2009-11-19 17:23:31 +00:00
final toolchain: gcc: enable sanitizers for glibc toolchain 2019-10-24 11:40:00 +00:00
initial toolchain/gcc: parallelize make install 2017-02-09 14:49:34 +01:00
minimal toolchain: skip gcc/minimal for musl 2016-07-07 15:13:40 +02:00
patches toolchain/gcc: refresh gcc-11.2.0 patch 2021-12-17 15:10:22 +01:00
common.mk toolchain/gcc: use ELFv2 ABI on ppc64 with musl 2021-12-21 21:35:29 +02:00
Config.in toolchain/gcc: switch to version 11 by default 2021-09-21 22:07:36 -10:00
Config.version toolchain/gcc: switch to version 11 by default 2021-09-21 22:07:36 -10:00
exclude-testsuite toolchain: add gcc 7.1.0 support 2017-05-25 19:01:07 +02:00