<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class="">With deep gratitude to Ben and Moritz, who helped me on IRC, I’ve figured this out. Somehow my gmp install was broken -- a `brew install gmp` fixes it. What’s very bizarre is that the brokenness happened on two different computers, so it’s not terribly hard to do. Of course, both computers are maintained by me, so I may have done the same strange step twice.</div><div class=""><br class=""></div><div class="">Posting a ticket seems unlikely to be helpful, so I’ll park this issue for now, having solved it. But if anyone ever sees this again, the answer is `brew install gmp`.</div><div class=""><br class=""></div><div class="">Thanks,</div><div class="">Richard</div><br class=""><div><blockquote type="cite" class=""><div class="">On Jun 15, 2017, at 4:47 AM, Simon Marlow <<a href="mailto:marlowsd@gmail.com" class="">marlowsd@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">No idea what this is, but just to point out that the continuous build succeeded on OS X at the same revision that you have: <a href="https://phabricator.haskell.org/B16186" class="">https://phabricator.haskell.org/B16186</a>, so this is at least not a universal failure.  Something specific to the version of GMP, or some other external tool/library?</div><div class="gmail_extra"><br class=""><div class="gmail_quote">On 14 June 2017 at 14:55, Richard Eisenberg <span dir="ltr" class=""><<a href="mailto:rae@cs.brynmawr.edu" target="_blank" class="">rae@cs.brynmawr.edu</a>></span> wrote:<br class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word" class="">Hi devs,<div class=""><br class=""></div><div class="">It seems every test run through the external interpreter is failing for me on a Mac:</div><div class=""><br class=""></div><div class=""><div style="margin:0px;font-size:10px;line-height:normal;font-family:Menlo;color:rgb(245,245,245);background-color:rgb(0,0,0)" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">=====> TH_mkName(ext-interp) 1 of 1 [0, 0, 0]</span></div><div style="margin:0px;font-size:10px;line-height:normal;font-family:Menlo;color:rgb(245,245,245);background-color:rgb(0,0,0)" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">cd "./TH_mkName.run" &&  "/Users/rae/ghc/ghc/inplace/<wbr class="">test   spaces/ghc-stage2" -c TH_mkName.hs -dcore-lint -dcmm-lint -no-user-package-db -rtsopts -fno-warn-missed-<wbr class="">specialisations -fshow-warning-groups -fdiagnostics-color=never -fno-diagnostics-show-caret -dno-debug-output -XTemplateHaskell -package template-haskell -fexternal-interpreter -v0</span></div><div style="margin:0px;font-size:10px;line-height:normal;font-family:Menlo;color:rgb(245,245,245);background-color:rgb(0,0,0)" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">Compile failed (exit code 1) errors were:</span></div><div style="margin:0px;font-size:10px;line-height:normal;font-family:Menlo;color:rgb(245,245,245);background-color:rgb(0,0,0)" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">ghc-iserv.bin: </span></div><div style="margin:0px;font-size:10px;line-height:normal;font-family:Menlo;color:rgb(245,245,245);background-color:rgb(0,0,0)" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">lookupSymbol failed in relocateSection (RELOC_GOT)</span></div><div style="margin:0px;font-size:10px;line-height:normal;font-family:Menlo;color:rgb(245,245,245);background-color:rgb(0,0,0)" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">/Users/rae/ghc/ghc/libraries/<wbr class="">integer-gmp/dist-install/<wbr class="">build/HSinteger-gmp-1.0.0.1.o: unknown symbol `___gmp_rands'</span></div><div style="margin:0px;font-size:10px;line-height:normal;font-family:Menlo;color:rgb(245,245,245);background-color:rgb(0,0,0)" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">ghc-stage2: unable to load package `integer-gmp-1.0.0.1'</span></div><div style="margin:0px;font-size:10px;line-height:normal;font-family:Menlo;color:rgb(245,245,245);background-color:rgb(0,0,0);min-height:11px" class=""><span style="font-variant-ligatures:no-common-ligatures" class=""></span><br class=""></div><div style="margin:0px;font-size:10px;line-height:normal;font-family:Menlo;color:rgb(245,245,245);background-color:rgb(0,0,0)" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">*** unexpected failure for TH_mkName(ext-interp)</span></div></div><div class=""><br class=""></div><div class="">Any advice? My most recent commit from master is <wbr class="">ef07010cf4f480d9f595a71cf5b009<wbr class="">884522a75e from Wed Jun 7.</div><div class=""><br class=""></div><div class="">I'm on IRC today if you want to iterate that way.</div><div class=""><br class=""></div><div class="">Thanks!</div><span class="HOEnZb"><font color="#888888" class=""><div class="">Richard</div></font></span></div><br class="">______________________________<wbr class="">_________________<br class="">
ghc-devs mailing list<br class="">
<a href="mailto:ghc-devs@haskell.org" class="">ghc-devs@haskell.org</a><br class="">
<a href="http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs" rel="noreferrer" target="_blank" class="">http://mail.haskell.org/cgi-<wbr class="">bin/mailman/listinfo/ghc-devs</a><br class="">
<br class=""></blockquote></div><br class=""></div>
</div></blockquote></div><br class=""></body></html>