Call for help on testing integer-gmp2 on non-Linux archs
Niklas Larsson
metaniklas at gmail.com
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 -0.10.9.1 -hide-all-packages
-i -ilibraries/vector/. -ilibraries/vector/dist-install/build
-ilibraries/vec tor/dist-install/build/autogen
-Ilibraries/vector/dist-install/build
-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-4.7.1.0 -package deepseq-1 .3.0.2 -package ghc-prim-0.3.1.0
-package primitive-0.5.2.1 -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
libraries/vector/dist-install/build/Data/Vector/Fusion/Stream/Monadic.o
"/usr/bin/ar" q
libraries/primitive/dist-install/build/libHSprimitive-0.5.2.1.a
@libraries/primitive/dist
-install/build/libHSprimitive-0.5.2.1.a.contents
/usr/bin/ar: creating
libraries/primitive/dist-install/build/libHSprimitive-0.5.2.1.a
"rm" -f
libraries/primitive/dist-install/build/libHSprimitive-0.5.2.1.a.contents
Loading package ghc-prim ... linking ... done.
Loading package integer-gmp2 ... linking ... ghc-stage2.exe: unable to load
package `integer-gmp2'
ghc-stage2.exe:
D:\Niklas\scratch\ghc-build\msys\home\niklas\ghc\libraries\integer-gmp2\dist-install\build
\HSinteger-gmp2-0.0.1.0.o: unknown symbol `_scalbn'
I built it´with gmp-6.0.0.
2014-07-22 14:02 GMT+02:00 Herbert Valerio Riedel <hvr at gnu.org>:
> 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/build.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: <http://www.haskell.org/pipermail/ghc-devs/attachments/20140722/17578b75/attachment.html>
More information about the ghc-devs
mailing list