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 <[email protected]>
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
_______________________________________________
ghc-devs mailing list
[email protected]
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs

Reply via email to