nixpkgs/pkgs
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
..
applications Merge pull request #128879 from raboof/jetbrains-updates 2021-07-03 01:51:21 +01:00
build-support
common-updater
data Merge master into haskell-updates 2021-07-02 00:07:36 +00:00
desktops Merge pull request #128457 from musfay/xfce4-panel-profiles-init 2021-07-01 00:55:07 +02:00
development pkgsMusl.haskell.compiler.ghc8102Binary: Fix musl segfault. Fixes #118731 #129247. 2021-07-10 02:49:41 +02:00
games freeciv: 2.6.4 -> 2.6.5 2021-07-01 13:32:11 -07:00
misc Merge pull request #128776 from eduardosm/seafile 2021-07-03 01:35:39 +01:00
os-specific linuxPackages.tuxedo-keyboard: 3.0.5 -> 3.0.7 2021-07-01 13:35:44 -07:00
pkgs-lib
servers Merge pull request #128899 from Ma27/bump-grafana 2021-07-02 18:42:56 +02:00
shells Merge pull request #128732 from happysalada/oil_optional_readline 2021-06-30 23:21:03 +02:00
stdenv
test
tools Merge pull request #127863 from AndersonTorres/new-qmk 2021-07-03 00:11:41 -03:00
top-level Merge pull request #128870 from hagl/submit/pgtop 2021-07-03 01:54:11 +01:00