From a1a8064169aeda79e3266a2db9cce25e361a86dc Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Mon, 20 Mar 2017 18:10:36 +0100 Subject: remove RPC implementation The included RPC implementation is ipv4 only. Other C library projects have either deprecated the internal RPC implementation (GNU C Library) or never implemented such functionality (musl C Library). The latest rpcbind release (0.2.4) checks for libtirpc and does not allow to be build with uClibc-ng RPC without patching. The common use case for RPC nowadays is to use rpcbind together with nfs-utils to provide NFS server or client support to a system. The included RPC implementation does create issues with duplicate symbol failures when statically compiling with RPC enabled. --- extra/Configs/Config.in | 30 ------------------------------ 1 file changed, 30 deletions(-) (limited to 'extra/Configs') diff --git a/extra/Configs/Config.in b/extra/Configs/Config.in index 850bd7d13..b329f88b7 100644 --- a/extra/Configs/Config.in +++ b/extra/Configs/Config.in @@ -1250,36 +1250,6 @@ config UCLIBC_HAS_IPV6 Most people should answer N. -config UCLIBC_HAS_RPC - bool "Remote Procedure Call (RPC) support" - # RPC+socket-ipvX doesn't currently work. - depends on UCLIBC_HAS_IPV4 || UCLIBC_HAS_IPV6 - help - If you want to include RPC support, enable this. RPC is rarely used - for anything except for the NFS filesystem. Unless you plan to use - NFS, you can probably leave this set to N and save some space. - - If you need to use NFS then you should answer Y. - -config UCLIBC_HAS_FULL_RPC - bool "Full RPC support" - depends on UCLIBC_HAS_RPC - default y if !HAVE_SHARED - help - Normally we enable just enough RPC support for things like rshd and - nfs mounts to work. If you find you need the rest of the RPC stuff, - then enable this option. Most people can safely answer N. - -config UCLIBC_HAS_REENTRANT_RPC - bool "Reentrant RPC support" - depends on UCLIBC_HAS_RPC - default y if !HAVE_SHARED - help - Most packages utilize the normal (non-reentrant) RPC functions, but - some (like exportfs from nfs-utils) need these reentrant versions. - - Most people can safely answer N. - config UCLIBC_USE_NETLINK bool "Use netlink to query interfaces" depends on UCLIBC_HAS_SOCKET -- cgit v1.2.3