toolchain/buildroot: glibc does not always have native RPC
PATCH 1/1 toolchain/buildroot: glibc does not always have native RPC
Starting with glibc-2.32, the RPC code has been removed from glibc [0], and it is not possible anymore to enable it, even with the --enable-obsolete-rpc configure option (which was also removed).
riscv32 and arc both use a glibc 2.32+ so do not forecfully enable native RPC for them.
Signed-off-by Yann E. MORIN <[email protected]>
Cc Thomas Petazzoni <[email protected]>
--- toolchain/toolchain-buildroot/Config.in | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)
toolchain/toolchain-buildroot/Config.in +3 -2
@@ -59,8 +59,9 @@ config BR2_TOOLCHAIN_BUILDROOT_GLIBC depends on !BR2_powerpc_SPE depends on BR2_RISCV_ISA_RVA || !BR2_riscv select BR2_TOOLCHAIN_USES_GLIBC - # our glibc.mk enables RPC support - select BR2_TOOLCHAIN_HAS_NATIVE_RPC + # our glibc.mk enables RPC support, except for riscv32 and arc + # that don't have it anymore (glibc 2.32+) + select BR2_TOOLCHAIN_HAS_NATIVE_RPC if !BR2_RISCV_32 && !BR2_arc help This option selects glibc as the C library for the cross-compilation toolchain.
Signature · 1 line
2.25.1
Thomas Petazzoni
AppliedPATCH 1/1 toolchain/buildroot: glibc does not always have native RPC
Quoted 5 lines · On Tue, 29 Dec 2020 22:10:30 +0100 "Yann E. MORIN" <[email protected]>…
Starting with glibc-2.32, the RPC code has been removed from glibc [0], and it is not possible anymore to enable it, even with the --enable-obsolete-rpc configure option (which was also removed).
Quoted 8 lines
riscv32 and arc both use a glibc 2.32+ so do not forecfully enable native RPC for them.
Signed-off-by Yann E. MORIN <[email protected]>Cc Thomas Petazzoni <[email protected]>--- toolchain/toolchain-buildroot/Config.in | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)
Applied to master, thanks.
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com