From 198a940c6190da94acdbe5c7f4ba2b8c6ee98748 Mon Sep 17 00:00:00 2001 From: Sergei Trofimovich Date: Thu, 18 Aug 2022 06:36:13 +0100 Subject: [PATCH] glibc: add a few TODOs aroung libgcc_s.so hack Make it clearer why the hack is still there. --- pkgs/development/libraries/glibc/default.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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