about summary refs log tree commit diff
path: root/pkgs/development/libraries/glibc/default.nix
diff options
context:
space:
mode:
authorSergei Trofimovich <slyich@gmail.com>2022-08-18 06:54:06 +0100
committerGitHub <noreply@github.com>2022-08-18 06:54:06 +0100
commit55328741511aee080912eafd94c1db82332d6c8a (patch)
treee4a26fcc2280a5c88560086bce5e776be12ac523 /pkgs/development/libraries/glibc/default.nix
parent04e45b881cc610e58c055f783ed2cce536be812a (diff)
parent198a940c6190da94acdbe5c7f4ba2b8c6ee98748 (diff)
Merge pull request #187225 from trofi/glibc-document-libgcc_s-hack
glibc: add a few TODOs aroung libgcc_s.so hack
Diffstat (limited to 'pkgs/development/libraries/glibc/default.nix')
-rw-r--r--pkgs/development/libraries/glibc/default.nix6
1 files changed, 5 insertions, 1 deletions
diff --git a/pkgs/development/libraries/glibc/default.nix b/pkgs/development/libraries/glibc/default.nix
index ba782321559dd..f941f7be769d8 100644
--- a/pkgs/development/libraries/glibc/default.nix
+++ b/pkgs/development/libraries/glibc/default.nix
@@ -64,8 +64,12 @@ callPackage ./common.nix { inherit stdenv; } {
     # store path than that determined when built (as a source for the
     # bootstrap-tools tarball)
     # Building from a proper gcc staying in the path where it was installed,
-    # libgcc_s will not be at {gcc}/lib, and gcc's libgcc will be found without
+    # libgcc_s will now be at {gcc}/lib, and gcc's libgcc will be found without
     # any special hack.
+    # TODO: remove this hack. Things that rely on this hack today:
+    # - dejagnu: during linux bootstrap tcl SIGSEGVs
+    # - clang-wrapper in cross-compilation
+    # Last attempt: https://github.com/NixOS/nixpkgs/pull/36948
     preInstall = ''
       if [ -f ${stdenv.cc.cc}/lib/libgcc_s.so.1 ]; then
           mkdir -p $out/lib