linker_unload

Herbert Valerio Riedel hvriedel at gmail.com
Tue Nov 25 07:18:53 UTC 2014


Hello Simon,

On 2014-11-21 at 14:51:55 +0100, Simon Peyton Jones wrote:
> I'm getting this for test linker_unload on Linux. I'm sure it's not my fault!
>
> But it makes validate fail

[...]

> linker_unload:
> /5playpen/simonpj/HEAD-2/libraries/integer-gmp2/dist-install/build/libHSinteg_2MbWUstH60IEgCAexOk3v3.a:
> unknown symbol `__gmpn_rshift'
> linker_unload: resolveObjs failed
> make[3]: *** [linker_unload] Error 1

I've tried this in an Ubuntu 12.04.5 LTS/x86_64 environment, but
couldn't reproduce it.

I'm quite confident that '__gmpn_rshift' is in fact not missing,
otherwise you'd get much more failures (and GHC probably wouldn't even
build). I also don't think that Ubuntu 12.04's is too old, as it's a GMP
5.0.2 version afaik.

Does `TEST=linker_unload` fail deterministically?

Would it be possible to update your `sudo apt-get update` & `sudo
apt-get dist-upgrade` your Linux environment with the latest bugfixes to
Ubuntu 12.04.5? That way we can be sure it's not a subtle bug already
fixed upstream...


Finally, if that also doesn't help, can you try cloning a fresh tree via

   git clone --recursive git://ghc.haskell.org/ghc.git <new-folder-name>

and invoke ./validate inside <new-folder-name>?


HTH,
  hvr


More information about the ghc-devs mailing list