[Buildroot] [PATCH] autofs: use libtirpc instead of internal C implementation

Waldemar Brodkorb wbx at openadk.org
Wed Mar 22 02:09:46 UTC 2017


Hi,
Thomas Petazzoni wrote,

> Hello,
> 
> On Tue, 21 Mar 2017 20:32:13 +0100, Waldemar Brodkorb wrote:
> 
> > @@ -2,8 +2,8 @@ config BR2_PACKAGE_AUTOFS
> >  	bool "autofs"
> >  	depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL
> >  	depends on BR2_USE_MMU
> > -	depends on BR2_TOOLCHAIN_HAS_NATIVE_RPC
> >  	depends on !BR2_STATIC_LIBS # dlfcn
> > +	select BR2_PACKAGE_LIBTIRPC
> 
> Why should we force people to use libtirpc ? 

Because the internal RPC implementation is mostly useless and
getting removed?

> What about instead:
> 
> 	select BR2_PACKAGE_LIBTIRPC if !BR2_TOOLCHAIN_HAS_NATIVE_RPC
> 
> and adjust the .mk file accordingly.

The idea was to entirely remove BR2_TOOLCHAIN_HAS_NATIVE_RPC in
further patches. This would involve to disable deprecated RPC in
internal Glibc and uClibc-ng toolchains. 
I think RPC support in external toolchains will disappear when
GNU C library will finally remove the code.

best regards
 Waldemar 



More information about the buildroot mailing list