nix build haskell.compiler.ghcHEAD

Rahul Muttineni rahulmutt at gmail.com
Thu Mar 31 07:06:01 UTC 2016


It seems to keep failing on all sub-directories of utils/. I manually
changed

utils/*_dist-install_DEP_EXTRA_LIBS = rt util dl gmp m rt dl pthread

and the stage2 compiler built successfully after that. Has anyone else
faced this problem building the utils/* in commit 1757dd8? If so, I'll
submit a patch that adds on the 'pthread' to DEP_EXTRA_LIBS in the utils/
directory.


On Thu, Mar 31, 2016 at 12:02 PM, Rahul Muttineni <rahulmutt at gmail.com>
wrote:

> Hi GHC Devs,
>
> Refer https://github.com/NixOS/nixpkgs/issues/14333 for a problem I was
> having when building with nix. The interesting part is that if I add an
> extra flag -optl-lpthread manually, the error goes away and the build
> succeeds. My question is why the build system didn't add the -optl-lpthread
> flag when libpthread was a requirement for that particular build?
>
> Thanks,
> Rahul Muttineni
>



-- 
Rahul Muttineni
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-devs/attachments/20160331/add3657a/attachment.html>


More information about the ghc-devs mailing list