nixpkgs/pkgs/development/compilers/ghc
Domen Kožar aafe3d29c1 ghc: apply a patch to fix common gold linker problem
It would otherwise result into undefined referenecs for some functions
in the base when using the gold linker:

   error: undefined reference to 'sqrt'

Fixes https://github.com/bos/double-conversion/pull/17

Previously ghc option -optl=-lm was used for packages depending on
such functions, but that could result into

   fatal error: cannot mix -r with dynamic object /nix/store/7crrmih8c52r8fbnqb933dxrsp44md93-glibc-2.25/lib/libm.so.6

in some situations like profiling builds.

Patch was prepared by Michael Bishop and Niklas Hambüchen.

Closes https://github.com/NixOS/nixpkgs/pull/27584.
2017-07-26 10:19:57 +02:00
..
6.10.2-binary.nix treewide: Use makeLibraryPath in 'patchelf --set-rpath' calls 2016-08-23 00:04:39 +03:00
6.10.4.nix Merge remote-tracking branch 'upstream/master' into hardened-stdenv 2016-04-18 13:49:22 +00:00
6.12.3.nix Bring my stdenv.lib.maintainers user name in line with my github nick. 2016-05-16 22:49:55 +02:00
7.0.4-binary.nix treewide: Use makeLibraryPath in 'patchelf --set-rpath' calls 2016-08-23 00:04:39 +03:00
7.0.4.nix ghc: add relocation patch for all versions 2016-08-26 14:57:46 +00:00
7.2.2.nix ghc: support building with integer-simple and provide package sets for it 2017-02-02 10:57:00 +01:00
7.4.2-binary.nix 7.4.2-binary: paxmark ghc binary 2016-12-19 10:55:29 +01:00
7.4.2.nix ghc: support building with integer-simple and provide package sets for it 2017-02-02 10:57:00 +01:00
7.6.3.nix ghc: support building with integer-simple and provide package sets for it 2017-02-02 10:57:00 +01:00
7.8.3.nix ghc: support building with integer-simple and provide package sets for it 2017-02-02 10:57:00 +01:00
7.8.4.nix ghc: support building with integer-simple and provide package sets for it 2017-02-02 10:57:00 +01:00
7.10.2.nix ghc: support building with integer-simple and provide package sets for it 2017-02-02 10:57:00 +01:00
7.10.3.nix Init HaLVM at 2.4.0 2017-03-10 19:31:12 -06:00
8.0.1.nix ghc: support building with integer-simple and provide package sets for it 2017-02-02 10:57:00 +01:00
8.0.2.nix ghc: apply a patch to fix common gold linker problem 2017-07-26 10:19:57 +02:00
8.2.1.nix ghc: apply a patch to fix common gold linker problem 2017-07-26 10:19:57 +02:00
D2710.patch Initial support for cross-compiling ghc 2016-11-15 16:59:09 -05:00
D2711.patch Initial support for cross-compiling ghc 2016-11-15 16:59:09 -05:00
D2712.patch Initial support for cross-compiling ghc 2016-11-15 16:59:09 -05:00
D2713.patch Initial support for cross-compiling ghc 2016-11-15 16:59:09 -05:00
fix-7.0.4-clang.patch
fix-7.2.2-clang.patch
fix-7.4.2-clang.patch
fix-7.6.3-clang.patch
gcc-clang-wrapper.sh
ghc-8.0.2-no-cpp-warnings.patch Adds ghc version to the patch file 2017-06-11 21:52:41 +02:00
ghc-gold-linker.patch ghc: apply a patch to fix common gold linker problem 2017-07-26 10:19:57 +02:00
ghc-no-madv-free.patch ghc801: disable MADV_FREE 2016-09-01 12:07:36 -05:00
head.nix misc: Remove almost all uses of stdenv.{ccCross,binutils} 2017-06-22 17:53:52 -04:00
hpc-7.8.4.patch
relocation.patch ghc: add comment to relocation patch 2016-08-26 15:19:37 +00:00