nixpkgs/pkgs/development/compilers/ghc
Niklas Hambüchen da1cf8cb90 pkgsMusl.haskell.compiler.ghc8102Binary: Fix musl segfault. Fixes #118731 #129247.
This commit replaces the musl + glibc hackery in the GHC bindist
compiler by using the new musl based bindist that GHC HQ provides
(built on Alpine).
We could alternatively also use a nix-built musl boostrap compiler,
but it seems nicer to use the GHC HQ one for now.

This fixes the compiler built by
`pkgsMusl.haskell.compiler.ghc8102Binary` segfaulting (#118731)
since the commit

    5e2311d2f - musl: 1.2.1 -> 1.2.2

concretely, musl commit

    01c7920f - remove redundant pthread struct members repeated for layout purposes

which I suspect breaks some glibc/musl ABI compatibility that may have
existed accidentally until then.

The added

    lib.optional stdenv.targetPlatform.isMusl "pie";

also fixes that the packaged bindist compiler cannot create a binary
in its `installCheck` phase (and overall); see detail explanation
in #129247.
2021-07-10 02:49:41 +02:00
..
8.6.5-binary.nix ghc: add missing meta data 2021-06-01 12:46:55 +02:00
8.8.4.nix haskell.compiler.ghc884: patch for sphinx >= 4.0 2021-06-22 13:42:55 +02:00
8.10.2-binary.nix pkgsMusl.haskell.compiler.ghc8102Binary: Fix musl segfault. Fixes #118731 #129247. 2021-07-10 02:49:41 +02:00
8.10.4.nix haskell.compiler.ghc8104: patch for sphinx >= 4.0 2021-06-22 13:42:55 +02:00
9.0.1.nix pkgsMusl.haskell.compiler.ghc901: Fix evaluation with musl 2021-07-04 22:15:59 +00:00
backport-dylib-command-size-limit.patch
gcc-clang-wrapper.sh
head.nix Merge pull request #126205 from sternenseemann/ghc-linker-checks 2021-06-08 16:42:13 -04:00
issue-18549.patch
respect-ar-path.patch
sphinx-4-configuration.patch haskell.compiler.ghc8104: patch for sphinx >= 4.0 2021-06-22 13:42:55 +02:00