any successfull ghc registerised builds on arm?

Stephen Paul Weber singpolyma at singpolyma.net
Sat Jan 19 07:45:26 CET 2013


Somebody claiming to be Stephen Paul Weber wrote:
>Somebody claiming to be Stephen Paul Weber wrote:
>>Somebody claiming to be Nathan Hüsken wrote:
>>>Was that an registerised or unregisterised build?
>>>Did anyone succesfully build ghc on an arm system which produces non
>>>crashing executables?
>>
>>Just finally got a BB10 device set up so I can test my 
>>cross-compiler on the ARM
>>
>>I'm about to try a configuration with --enable-unregisterised to 
>>see if that helps.
>
>I think I can configure it to use unregistered LLVM, so I'm off to 
>try that, but this seems like a bug.

Trying that gives me:

[ 1 of 68] Compiling Distribution.Compat.Exception ( libraries/Cabal/Cabal/Distribution/Compat/Exception.hs, bootstrapping/Distribution/Compat/Exception.o )
Warning: Couldn't figure out LLVM version!
          Make sure you have installed LLVM
ghc: could not execute: opt-3.0
make[1]: *** [utils/ghc-cabal/dist/build/tmp/ghc-cabal] Error 1
make: *** [all] Error 2

I'm using LLVM 3.1.  This errors makes no sense to me, because when I just use "quick" and not unregistered, it falls back to LLVM and works fine, but now I've selected "quick-llvm" and unregistered and it can't find it?

-- 
Stephen Paul Weber, @singpolyma
See <http://singpolyma.net> for how I prefer to be contacted
edition right joseph



More information about the Glasgow-haskell-users mailing list