any successfull ghc registerised builds on arm?

Nathan Hüsken nathan.huesken at
Sat Jan 19 11:28:58 CET 2013

I got this error too.
In my case it helped to install llvm-3.0 next to llvm (in ubuntu the
executables are than called llc-3.0 and opt-3.0).

I believe this error just came in the first phase, and was caused by the
preinstalled ghc-7.4.2.
But I am not sure.

On 01/19/2013 07:45 AM, Stephen Paul Weber wrote:
> 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?

More information about the Glasgow-haskell-users mailing list