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.

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`.

Thanks,
Richard

On Jun 15, 2017, at 4:47 AM, Simon Marlow <marlowsd@gmail.com> wrote:

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: https://phabricator.haskell.org/B16186, so this is at least not a universal failure.  Something specific to the version of GMP, or some other external tool/library?

On 14 June 2017 at 14:55, Richard Eisenberg <rae@cs.brynmawr.edu> wrote:
Hi devs,

It seems every test run through the external interpreter is failing for me on a Mac:

=====> TH_mkName(ext-interp) 1 of 1 [0, 0, 0]
cd "./TH_mkName.run" &&  "/Users/rae/ghc/ghc/inplace/test   spaces/ghc-stage2" -c TH_mkName.hs -dcore-lint -dcmm-lint -no-user-package-db -rtsopts -fno-warn-missed-specialisations -fshow-warning-groups -fdiagnostics-color=never -fno-diagnostics-show-caret -dno-debug-output -XTemplateHaskell -package template-haskell -fexternal-interpreter -v0
Compile failed (exit code 1) errors were:
ghc-iserv.bin: 
lookupSymbol failed in relocateSection (RELOC_GOT)
/Users/rae/ghc/ghc/libraries/integer-gmp/dist-install/build/HSinteger-gmp-1.0.0.1.o: unknown symbol `___gmp_rands'
ghc-stage2: unable to load package `integer-gmp-1.0.0.1'

*** unexpected failure for TH_mkName(ext-interp)

Any advice? My most recent commit from master is ef07010cf4f480d9f595a71cf5b009884522a75e from Wed Jun 7.

I'm on IRC today if you want to iterate that way.

Thanks!
Richard

_______________________________________________
ghc-devs mailing list
ghc-devs@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs