<div dir="ltr">It seems to keep failing on all sub-directories of utils/. I manually changed <div><br></div><div>utils/*_dist-install_DEP_EXTRA_LIBS = rt util dl gmp m rt dl pthread </div><div><br></div><div>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. <div><div><div><div><br></div></div></div></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Mar 31, 2016 at 12:02 PM, Rahul Muttineni <span dir="ltr"><<a href="mailto:rahulmutt@gmail.com" target="_blank">rahulmutt@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Hi GHC Devs,</div><div><br></div>Refer <a href="https://github.com/NixOS/nixpkgs/issues/14333" target="_blank">https://github.com/NixOS/nixpkgs/issues/14333</a> 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? <div><div><div><br></div>Thanks,<br><div>Rahul Muttineni</div>
</div></div></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature">Rahul Muttineni</div>
</div>