From 3ae6040295723a79a4dc1202992aaad6c388b797 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Thu, 15 Sep 2011 18:33:12 -0700 Subject: eglibc: Add recipes for 2.14 Backport Fedora patch to enable sunrpc as it was in 2.13 Fix cross-localedef-native to be able to build from eglibc 2.14 branch Tested builds/boot of angstrom/console-image on qemu for arm,mips,ppc,i386,x86_64 (From OE-Core rev: bee3699510a31158f9e2095fe8b6e4cb75ed3651) Signed-off-by: Khem Raj Signed-off-by: Richard Purdie --- .../eglibc-2.14/eglibc-rpc-export-again.patch | 69 ++++++++++++++++++++++ 1 file changed, 69 insertions(+) create mode 100644 meta/recipes-core/eglibc/eglibc-2.14/eglibc-rpc-export-again.patch (limited to 'meta/recipes-core/eglibc/eglibc-2.14/eglibc-rpc-export-again.patch') diff --git a/meta/recipes-core/eglibc/eglibc-2.14/eglibc-rpc-export-again.patch b/meta/recipes-core/eglibc/eglibc-2.14/eglibc-rpc-export-again.patch new file mode 100644 index 0000000000..24c0a33e43 --- /dev/null +++ b/meta/recipes-core/eglibc/eglibc-2.14/eglibc-rpc-export-again.patch @@ -0,0 +1,69 @@ +export the rpc symbols and headers again until we can get libtirpc sorted +out as a proper and full replacement + +patch from fedora (if redhat can't get it to work as the maintainers of all +these packages, then what chance do we have!) + +Index: libc/NEWS +=================================================================== +--- libc.orig/NEWS 2011-09-09 10:46:36.000000000 -0700 ++++ libc/NEWS 2011-09-09 10:58:21.196279725 -0700 +@@ -20,16 +20,6 @@ + 12724, 12734, 12738, 12746, 12766, 12775, 12777, 12782, 12788, 12792, + 12795, 12811, 12813, 12814, 12841 + +-* The RPC implementation in libc is obsoleted. Old programs keep working +- but new programs cannot be linked with the routines in libc anymore. +- Programs in need of RPC functionality must be linked against TI-RPC. +- The TI-RPC implementation is IPv6 enabled and there are other benefits. +- +- Visible changes of this change include (obviously) the inability to link +- programs using RPC functions without referencing the TI-RPC library and the +- removal of the RPC headers from the glibc headers. +- Implemented by Ulrich Drepper. +- + * New Linux interfaces: clock_adjtime, name_to_handle_at, open_by_handle_at, + syncfs, setns, sendmmsg + +Index: libc/include/libc-symbols.h +=================================================================== +--- libc.orig/include/libc-symbols.h 2011-09-09 10:45:34.000000000 -0700 ++++ libc/include/libc-symbols.h 2011-09-09 10:58:21.196279725 -0700 +@@ -656,7 +656,7 @@ + # define libc_hidden_proto(name, attrs...) hidden_proto (name, ##attrs) + # define libc_hidden_def(name) hidden_def (name) + # define libc_hidden_weak(name) hidden_weak (name) +-# define libc_hidden_nolink(name, version) hidden_nolink (name, libc, version) ++# define libc_hidden_nolink(name, version) hidden_def (name) + # define libc_hidden_ver(local, name) hidden_ver (local, name) + # define libc_hidden_data_def(name) hidden_data_def (name) + # define libc_hidden_data_weak(name) hidden_data_weak (name) +Index: libc/nis/Makefile +=================================================================== +--- libc.orig/nis/Makefile 2011-09-09 10:46:34.000000000 -0700 ++++ libc/nis/Makefile 2011-09-09 10:58:21.196279725 -0700 +@@ -25,9 +25,9 @@ + + aux := nis_hash + ++headers := $(wildcard rpcsvc/*.[hx]) + distribute := nss-nis.h nss-nisplus.h nis_intern.h Banner \ +- nisplus-parser.h nis_xdr.h nss \ +- $(wildcard rpcsvc/*.[hx]) ++ nisplus-parser.h nis_xdr.h nss + + # These are the databases available for the nis (and perhaps later nisplus) + # service. This must be a superset of the services in nss. +Index: libc/sunrpc/Makefile +=================================================================== +--- libc.orig/sunrpc/Makefile 2011-09-09 10:46:30.000000000 -0700 ++++ libc/sunrpc/Makefile 2011-09-09 10:59:10.726352375 -0700 +@@ -55,7 +55,7 @@ + des_crypt.h) + headers-not-in-tirpc = $(addprefix rpc/,key_prot.h rpc_des.h) \ + $(rpcsvc:%=rpcsvc/%) rpcsvc/bootparam.h +-headers = rpc/netdb.h ++headers = rpc/netdb.h $(headers-in-tirpc) $(headers-not-in-tirpc) + generated = $(rpcsvc:%.x=rpcsvc/%.h) $(rpcsvc:%.x=x%.c) $(rpcsvc:%.x=x%.stmp) \ + $(rpcsvc:%.x=rpcsvc/%.stmp) rpcgen + generated-dirs := rpcsvc -- cgit v1.2.3-54-g00ecf