Error building ghc on raspberry pi.

Karel Gardas karel.gardas at
Fri Jan 11 21:29:05 CET 2013

On 01/11/13 09:25 PM, roconnor at wrote:
> On Thu, 10 Jan 2013, Karel Gardas wrote:
>> Hmm, are you using Raspbian? I.e. hard-float abi caught my eye in case
>> of ARMv6/ARM11 chip here...
>> I'm afraid LLVM is not well guided in your case so could you be so
>> kind and test if adding -optlc=-mattr=+vfp2 helps? You need to add it
>> to your probably and you will need to rebuild everything
>> again...
> Add it to the GhcLibHcOpts?

Probably too, I'm not the expert here, just make sure you use this 
option for any ghc invocation which invokes llc to get consistent vfp 
usage in your object files...

Once you test it and if succeed we can hack ghc to support it.


More information about the Glasgow-haskell-users mailing list