Skip to content

Commit

Permalink
ghc: mention why ld.gold is disabled for musl libc
Browse files Browse the repository at this point in the history
(cherry picked from commit 08a9d51)
  • Loading branch information
adamse authored and nh2 committed Jul 23, 2020
1 parent e8e92a8 commit aea667b
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkgs/development/compilers/ghc/8.10.1.nix
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,8 @@ let

targetCC = builtins.head toolsForTarget;

# ld.gold is disabled for musl libc due to https://sourceware.org/bugzilla/show_bug.cgi?id=23856
# see #84670 and #49071 for more background.
useLdGold = targetPlatform.isLinux && !(targetPlatform.useLLVM or false) && !targetPlatform.isMusl;

in
Expand Down
2 changes: 2 additions & 0 deletions pkgs/development/compilers/ghc/8.4.4.nix
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,8 @@ let

targetCC = builtins.head toolsForTarget;

# ld.gold is disabled for musl libc due to https://sourceware.org/bugzilla/show_bug.cgi?id=23856
# see #84670 and #49071 for more background.
useLdGold = targetPlatform.isLinux && !(targetPlatform.useLLVM or false) && !targetPlatform.isMusl;

in
Expand Down
2 changes: 2 additions & 0 deletions pkgs/development/compilers/ghc/8.6.5.nix
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,8 @@ let

targetCC = builtins.head toolsForTarget;

# ld.gold is disabled for musl libc due to https://sourceware.org/bugzilla/show_bug.cgi?id=23856
# see #84670 and #49071 for more background.
useLdGold = targetPlatform.isLinux && !(targetPlatform.useLLVM or false) && !targetPlatform.isMusl;

in
Expand Down
2 changes: 2 additions & 0 deletions pkgs/development/compilers/ghc/8.8.1.nix
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,8 @@ let

targetCC = builtins.head toolsForTarget;

# ld.gold is disabled for musl libc due to https://sourceware.org/bugzilla/show_bug.cgi?id=23856
# see #84670 and #49071 for more background.
useLdGold = targetPlatform.isLinux && !(targetPlatform.useLLVM or false) && !targetPlatform.isMusl;

in
Expand Down
2 changes: 2 additions & 0 deletions pkgs/development/compilers/ghc/8.8.2.nix
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,8 @@ let

targetCC = builtins.head toolsForTarget;

# ld.gold is disabled for musl libc due to https://sourceware.org/bugzilla/show_bug.cgi?id=23856
# see #84670 and #49071 for more background.
useLdGold = targetPlatform.isLinux && !(targetPlatform.useLLVM or false) && !targetPlatform.isMusl;

in
Expand Down
2 changes: 2 additions & 0 deletions pkgs/development/compilers/ghc/8.8.3.nix
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,8 @@ let

targetCC = builtins.head toolsForTarget;

# ld.gold is disabled for musl libc due to https://sourceware.org/bugzilla/show_bug.cgi?id=23856
# see #84670 and #49071 for more background.
useLdGold = targetPlatform.isLinux && !(targetPlatform.useLLVM or false) && !targetPlatform.isMusl;

in
Expand Down
2 changes: 2 additions & 0 deletions pkgs/development/compilers/ghc/head.nix
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,8 @@ let

targetCC = builtins.head toolsForTarget;

# ld.gold is disabled for musl libc due to https://sourceware.org/bugzilla/show_bug.cgi?id=23856
# see #84670 and #49071 for more background.
useLdGold = targetPlatform.isLinux && !(targetPlatform.useLLVM or false) && !targetPlatform.isMusl;

in
Expand Down

0 comments on commit aea667b

Please sign in to comment.