package/glibc, toolchain/toolchain-buildroot: disable native RPC in glibc toolchains
authorThomas Petazzoni <thomas.petazzoni@bootlin.com>
Tue, 29 Dec 2020 22:12:49 +0000 (23:12 +0100)
committerYann E. MORIN <yann.morin.1998@free.fr>
Tue, 29 Dec 2020 22:28:57 +0000 (23:28 +0100)
Support for obsolete RPC was dropped in glibc 2.14 (2011-05-31), then
reinstated and marked obsolete in glibc 2.16 (2012-06-30), and finally
dropped for good in 2.32 (2020-08-04), which we are about to start
using.

In preparation for that, drop the usage of obsolete RPC support in
glibc.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
[yann.morin.1998@free.fr: add a bit of history]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
package/glibc/glibc.mk
toolchain/toolchain-buildroot/Config.in

index 4721177d834f1581169de2ffbad79fa5d7f1e0b0..d51dce89f5f47f05038a30ba6b924541b3166a3f 100644 (file)
@@ -137,7 +137,6 @@ define GLIBC_CONFIGURE_CMDS
                --disable-profile \
                --disable-werror \
                --without-gd \
-               --enable-obsolete-rpc \
                --enable-kernel=$(call qstrip,$(BR2_TOOLCHAIN_HEADERS_AT_LEAST)) \
                --with-headers=$(STAGING_DIR)/usr/include)
        $(GLIBC_ADD_MISSING_STUB_H)
index f6f1bcc75d184eda889f55c230bd2e2625d30a70..4004c0edf857d863cd2657b8988e90ad81e895aa 100644 (file)
@@ -60,9 +60,6 @@ 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, 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.