<div dir="ltr"><br><div class="gmail_quote">---------- Forwarded message ----------<br>From: <b class="gmail_sendername">Douglas Wilson</b> <span dir="ltr"><<a href="mailto:douglas.wilson@gmail.com">douglas.wilson@gmail.com</a>></span><br>Date: Fri, Jan 19, 2018 at 5:23 PM<br>Subject: Re: compiling GHC: undefined references<br>To: Németh Boldizsár <<a href="mailto:nboldi@elte.hu">nboldi@elte.hu</a>><br><br><br><div dir="ltr"><div>Hi Boldizsár,</div><div><br></div><div>I infer from the path names that you are on windows? It's likely that you have not correctly configured your machine, since this commit passed validation on windows here:</div><div><a href="https://phabricator.haskell.org/B19134" target="_blank">https://phabricator.haskell.<wbr>org/B19134</a></div><div><br></div><div class="gmail_extra">Can you double check that you have followed the instructions here:</div><div class="gmail_extra"><a href="https://ghc.haskell.org/trac/ghc/wiki/Building/Preparation/Windows" target="_blank">https://ghc.haskell.org/trac/<wbr>ghc/wiki/Building/Preparation/<wbr>Windows</a><br><div class="gmail_quote"><br></div> <br><div class="gmail_quote"><span class=""><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
Before the errors I have a warning: </blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
Warning: -rtsopts and -with-rtsopts have no effect with -no-hs-main.<br>
    Call hs_init_ghc() from your main() function to set these options.<br></blockquote><div><br></div></span><div>This is normal.</div><span class=""><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
The only change I made is fixing some simple type errors in utils/ghc-cabal/Main.hs that stopped compilation.<br>
<br></blockquote></span><div>It is very unusual for HEAD to fail to compile, and CI indicates that it does compiles on the test systems in this case.<br></div></div></div><div class="gmail_extra"><br></div><div class="gmail_extra">Good luck!</div><div class="gmail_extra">Regards,</div><div class="gmail_extra">Doug WIlson<br></div></div>
</div><br></div>