From 4309788df022c89765cd7f6b178f4ce7a08db600 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Llu=C3=ADs=20Batlle=20i=20Rossell?= Date: Tue, 19 Oct 2010 21:20:00 +0000 Subject: [PATCH] Adding a comment on the status of the nscd patch in glibc svn path=/nixpkgs/branches/stdenv-updates/; revision=24371 --- pkgs/development/libraries/glibc-2.12/common.nix | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/pkgs/development/libraries/glibc-2.12/common.nix b/pkgs/development/libraries/glibc-2.12/common.nix index dfffafe6edd..7157248c1d8 100644 --- a/pkgs/development/libraries/glibc-2.12/common.nix +++ b/pkgs/development/libraries/glibc-2.12/common.nix @@ -76,6 +76,15 @@ stdenv.mkDerivation ({ ./nix-locale-archive.patch /* A fix for a glibc nscd linking bug, reported upstream already.*/ + /* Currently this fix works only for i686; as it only affects + the building of glibc from a final nixpkgs stdenv, we don't care much + on whether it works or not. The patch does not affect building + from the bootstrap-tools gcc because it does not have libssp at all. + TODO: Link ssp to nscd dynamically, and set the proper rpath to + nscd, although linking dynamically will make this libc + dynamically linked with gcc's libssp, and gcc's libssp is dynamically + linked with stdenv.glibc's libc. This does not look very correct. + */ ./nscd-ssp-linking.patch /* Workaround for a glibc bug reported upstraem already */