Call for help on testing integer-gmp2 on non-Linux archs

Niklas Larsson metaniklas at
Tue Jul 22 11:33:04 UTC 2014

I can test on Windows.


2014-07-22 10:07 GMT+02:00 Herbert Valerio Riedel <hvr at>:

> Hello *,
> As some of you may have already noticed, there's an attempt[1] in the
> works to reimplement integer-gmp in such a way to avoid overriding GMP's
> internal memory allocator functions, and thus make it possible to link
> GHC/integer-gmp compiled programs with other components linked to libgmp
> which break if GMP's memory allocation goes via GHC's GC.  I also hope
> this will facilitate to ship GHC bindists for Windows with a dynamically
> linked (& unpatched!) GMP library, to reduce LGPL licencing concerns for
> resulting GHC compiled programs.
> So far, I've only been able to test the code on Linux/i386 and
> Linux/amd64 where it works correctly. Now it'd be interesting to know if
> integer-gmp2 in its current form works also on non-Linux archs, and if
> not, what's needed to make it work. Fwiw, I mostly suspect
> linker-related issues.
> Therefore, is anyone here interested to help out with making sure
> GHC+integer-gmp2 builds on Windows, OSX and so on? If so, please get
> into contact with me!
> Cheers,
>   hvr
>  [1]:
> _______________________________________________
> ghc-devs mailing list
> ghc-devs at
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the ghc-devs mailing list