* [Buildroot] [PATCH] toolchain/buildroot: glibc does not always have native RPC
@ 2020-12-29 21:10 Yann E. MORIN
2020-12-29 21:14 ` Thomas Petazzoni
0 siblings, 1 reply; 2+ messages in thread
From: Yann E. MORIN @ 2020-12-29 21:10 UTC (permalink / raw)
To: buildroot
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 <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
---
toolchain/toolchain-buildroot/Config.in | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/toolchain/toolchain-buildroot/Config.in b/toolchain/toolchain-buildroot/Config.in
index 2058ff1eb9..019495accf 100644
--- a/toolchain/toolchain-buildroot/Config.in
+++ b/toolchain/toolchain-buildroot/Config.in
@@ -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.
--
2.25.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [Buildroot] [PATCH] toolchain/buildroot: glibc does not always have native RPC
2020-12-29 21:10 [Buildroot] [PATCH] toolchain/buildroot: glibc does not always have native RPC Yann E. MORIN
@ 2020-12-29 21:14 ` Thomas Petazzoni
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni @ 2020-12-29 21:14 UTC (permalink / raw)
To: buildroot
On Tue, 29 Dec 2020 22:10:30 +0100
"Yann E. MORIN" <yann.morin.1998@free.fr> wrote:
> 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 <yann.morin.1998@free.fr>
> Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
> ---
> toolchain/toolchain-buildroot/Config.in | 5 +++--
> 1 file changed, 3 insertions(+), 2 deletions(-)
Applied to master, thanks.
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-12-29 21:14 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-12-29 21:10 [Buildroot] [PATCH] toolchain/buildroot: glibc does not always have native RPC Yann E. MORIN
2020-12-29 21:14 ` Thomas Petazzoni
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox