Author: viric
Date: Thu Dec 2 22:23:15 2010
New Revision: 24959
URL: https://svn.nixos.org/websvn/nix/?rev=24959&sc=1
Log:
Fixing a problem of nscd on (only) armv5tel (soft-float).
It gets linked to libgcc_s (shared lib) unless doing the trick I thought
feasible of
telling 'configure' that the linker does not support "as-needed".
I found this reading their 'configure' script.
We don't want nscd linked to libgcc because that would make glibc dependant on
the
previous gcc. This only happens on armv5tel, for the supported platforms.
Modified:
nixpkgs/branches/stdenv-updates/pkgs/development/libraries/glibc-2.12/common.nix
Modified:
nixpkgs/branches/stdenv-updates/pkgs/development/libraries/glibc-2.12/common.nix
==============================================================================
---
nixpkgs/branches/stdenv-updates/pkgs/development/libraries/glibc-2.12/common.nix
Thu Dec 2 20:23:45 2010 (r24958)
+++
nixpkgs/branches/stdenv-updates/pkgs/development/libraries/glibc-2.12/common.nix
Thu Dec 2 22:23:15 2010 (r24959)
@@ -115,6 +115,10 @@
"--host=arm-linux-gnueabi"
"--build=arm-linux-gnueabi"
"--without-fp"
+
+ # To avoid linking with -lgcc_s (dynamic link)
+ # so the glibc does not depend on its compiler store path
+ "libc_cv_as_needed=no"
];
buildInputs = stdenv.lib.optionals (cross != null) [ gccCross ]
_______________________________________________
nix-commits mailing list
[email protected]
http://mail.cs.uu.nl/mailman/listinfo/nix-commits