[GHC] #11147: GHC 7.10.3 does not compile on NixOS (was: Linker errors related to response files change)
GHC
ghc-devs at haskell.org
Tue Dec 15 14:22:31 UTC 2015
#11147: GHC 7.10.3 does not compile on NixOS
----------------------------------------+----------------------------------
Reporter: waern | Owner:
Type: bug | Status: infoneeded
Priority: normal | Milestone: 8.0.1
Component: Build System | Version: 7.10.3
Resolution: | Keywords:
Operating System: Linux | Architecture: x86
Type of failure: Building GHC failed | Test Case:
Blocked By: | Blocking:
Related Tickets: | Differential Rev(s):
Wiki Page: |
----------------------------------------+----------------------------------
Changes (by simons):
* version: 7.11 => 7.10.3
Old description:
> Hi,
>
> Building GHC HEAD in Nix on Linux currently fails with linker errors. See
> https://github.com/NixOS/nixpkgs/issues/10752
>
> The problem goes away if one reverts GHC commit
> 296bc70b5ff6c853f2782e9ec5aa47a52110345e.
>
> I don't know what the issue is, and I can't be 100% sure it's really a
> GHC problem and not a Nix one, but I thought it best to record this here.
New description:
Building GHC 7.10.3 in Nix on Linux currently fails with linker errors.
https://github.com/NixOS/nixpkgs/issues/10752 has further details.
The problem goes away if one reverts GHC commit
296bc70b5ff6c853f2782e9ec5aa47a52110345e.
I don't know what the issue is, and I can't be 100% sure it's really a GHC
problem and not a Nix one, but I thought it best to record this here.
--
Comment:
It seems like ./configure detects the presence of librt, so features that
depend on it are enabled, but the library is never actually linked. This
issue is rather serious for us, because it prevents us from updating to
GHC 7.10.3 on NixOS, i.e. we can no longer support upcoming versions of
LTS Haskell without a fix for this problem. Any suggestions how to fix or
work aroung this phenomenon are very welcome.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/11147#comment:6>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list