[Rpm-maint] [PATCH] drop rtld(GNU_HASH) hack

Panu Matilainen pmatilai at laiskiainen.org
Wed Sep 17 07:35:44 UTC 2014

On 09/16/2014 03:55 PM, Thierry Vignaud wrote:
> Hi
> The attached patch drops the drop rtld(GNU_HASH) hack

The patch does much more than drop a couple of lines:
$ diffstat no-rtld_GNU_HASH_req.diff
  lib/tagexts.c   |   54 
  tools/elfdeps.c |    8 --------
  2 files changed, 54 insertions(+), 8 deletions(-)

That aside...

> Drop automatically generated rtld(GNU_HASH) dependencies.
> It's been provided by glibc for 7 years now and can safely be assumed
> that there's no longer any need for it, reducing ~5K packages'
> dependency in repository metadata on it during next rebuild.

... NAK, distros where GNU_HASH is not supported are still widely 
deployed (RHEL/Centos <= 5 and no doubt Suse Enterprise versions of that 
era). I guess we could add a cli-switch to allow easily disabling it, 
but then repository metadata is better trimmed and filtered in 
createrepo (it already does this for rpmlib() dependencies etc)

	- Panu -

More information about the Rpm-maint mailing list