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

Niklas Larsson metaniklas at
Tue Jul 22 21:38:07 UTC 2014

I can do both 32 and 64-bit builds.I started with 32 bits.

I got
"inplace/bin/ghc-stage2.exe" -hisuf hi -osuf  o -hcsuf hc -static  -H64m
-O0 -fasm    -package-name vector            - -hide-all-packages
-i -ilibraries/vector/. -ilibraries/vector/dist-install/build
-ilibraries/vec            tor/dist-install/build/autogen
-Ilibraries/vector/dist-install/build            /autogen
-Ilibraries/vector/include -Ilibraries/vector/internal
-optP-DVECTOR_BOUNDS_CHECKS -optP-includ            e
-optPlibraries/vector/dist-install/build/autogen/cabal_macros.h -package
base- -package deepseq-1            .3.0.2 -package ghc-prim-
-package primitive- -O2 -XHaskell98 -XCPP -XDeriveDataTypeable
-O             -fasm  -no-user-package-db -rtsopts      -odir
libraries/vector/dist-install/build -hidir libraries/vector
/dist-install/build -stubdir libraries/vector/dist-install/build   -c
libraries/vector/./Data/Vector/Fusio            n/Stream/Monadic.hs -o
"/usr/bin/ar" q
/usr/bin/ar: creating
"rm" -f
Loading package ghc-prim ... linking ... done.
Loading package integer-gmp2 ... linking ... ghc-stage2.exe: unable to load
package `integer-gmp2'
\HSinteger-gmp2- unknown symbol `_scalbn'

I built it´with gmp-6.0.0.

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

> On 2014-07-22 at 13:33:04 +0200, Niklas Larsson wrote:
> > I can test on Windows.
> great! Are you using the 32bit or 64bit compiler?
> All you'd need to do is 'git checkout' the wip/T9281 branch, add the line
>   INTEGER_LIBRARY=integer-gmp2
> at the end of mk/ (and 'BuildFlavour=quick' should suffice) and
> try to build GHC with that. If you end up with a working stage2
> compiler, and 'inplace/bin/ghc-stage2 --interactive' reports loading the
> package 'integer-gmp2' then everything went better than expected :)
> Then running the testsuite via
>   cd testsuite/ && make WAY=normal SKIP_PERF_TESTS=YES
> should only fail with a few testcases due to the strings "integer-gmp2"
> vs. "integer-gmp" being different in the output.
> Thanks,,
>   hvr
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the ghc-devs mailing list