Well, yes. If bytecode generation isn't available for ARM, then Template Haskell won't work. And in turn "annotations" won't work. So any library using these features won't work.
That's a pity. How hard would it be to add bytecode generation for ARM? Simon | -----Original Message----- | From: [email protected] [mailto:[email protected]] On Behalf Of | Karel Gardas | Sent: 12 June 2011 22:36 | To: cvs-ghc | Subject: ghc-stage2 panic while compiling vector library. | | | Hello, | | while building June's 1st GHC HEAD sources on arm-linux platform I'm hit | by this issue: | | "inplace/bin/ghc-stage2" -O0 -H32m -optc-O0 -package-name | vector-0.7.0.1 -hide-all-packages -i -ilibraries/vector/. | -ilibraries/vector/dist-install/build | -ilibraries/vector/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-include | -optPlibraries/vector/dist-install/build/autogen/cabal_macros.h -package | base-4.3.1.0 -package primitive-0.3.1 -O2 -XHaskell98 -XCPP | -XDeriveDataTypeable -O2 -no-user-package-conf -rtsopts -odir | libraries/vector/dist-install/build -hidir | libraries/vector/dist-install/build -stubdir | libraries/vector/dist-install/build -hisuf hi -osuf o -hcsuf hc -c | libraries/vector/./Data/Vector/Fusion/Stream/Monadic.hs -o | libraries/vector/dist-install/build/Data/Vector/Fusion/Stream/Monadic.o | ghc-stage2: panic! (the 'impossible' happened) | (GHC version 7.1.20110607 for arm-unknown-linux): | Cant do annotations without GHCi | {103:19-33} | base:GHC.Exts.ForceSpecConstr{d rbf} | | Please report this as a GHC bug: http://www.haskell.org/ghc/reportabug | | | Am I right assuming that for the support of: | | {-# ANN type SPEC ForceSpecConstr #-} | | annotation which is in "problematic" Monadic.hs file on line 103 I | really need GHCi support and so, this library tends to fail with any | unregisterised build not just the ARM? | | Thanks! | Karel | | | _______________________________________________ | Cvs-ghc mailing list | [email protected] | http://www.haskell.org/mailman/listinfo/cvs-ghc _______________________________________________ Cvs-ghc mailing list [email protected] http://www.haskell.org/mailman/listinfo/cvs-ghc
