Note:
Thanks to Mr. Drepper the sunrpc interface was removed but third-party
application are still depending on it, thus we are reexporting the RPC
interface.
This patch was made by Andreas Schwab and was taken from fedora/master
branch.
For me it is a mysteria why one person from Redhat is first removing
code from the official glibc release and another one readding parts of
it to a Redhat maintained branch! Thank you Redhat!
Note:
This partially reverts commit cde2856ca0
because I wrongly assumed that the IDN support will be enabled by default,
which is not the case! As of glibc 2.11 only the sources of the glibc
libidn addon are included, but the addon itself is *NOT* enabled by
default. Thus I restored the old behavior besides the part for unpacking
the libidn addon sources.
Note:
We should migrate to a more modular approach here, moving to package
based configuration in '/etc/ld.so.conf.d/$pkg.conf' and including all
dedicated conf files in a generic main 'ld.so.conf' like this:
include /etc/ld.so.conf.d/*.conf
- The conditional that checked what kind of ld.so,conf has to be generated
was using $slibdir = lib64 in postmake to check if it is a 64bit build,
and because multilib support was hardcoded for 64 it injected a corresponding
ld.so.conf.
Now that we implemented multilib support by using buildloops $slibdir gets
altered to lib32 in the second loop while building 32bit libs.
This commit will change the test checking if multilib is enabled for the
target instead of using $slibdir. It also adopts the new filesystem layout
to the ld.so.conf.
We have to use an 'objdir' directory for building glibc and make its
name unique by appending $arch_target to distinguish while building
a multilib capable glibc using buildloops.
- Since we build 32bit libs of glibc by using a second buildloop
if we build a multilib target, we have to assure that we build
64 and 32bit libs in separate directories.
- This patch has to be applied if we want to build "pure" 64bit builds,
that means no multilib support!
It fixes the ldd-rewrite sed rules according to the pure64 patch for
gcc.
Note:
Currently tested for x86-64 only!