Error building ghc on raspberry pi.
semanticphilosopher at gmail.com
Sat Jan 12 19:37:17 CET 2013
If there is anything useful I can do - shout.
Given the time it takes to do each rebuild on a raspberry pi - this is real dedication!
On 12 Jan 2013, at 17:01, roconnor at theorem.ca wrote:
> I've tried to build 6.12.3, 7.4.1, 7.4.2, and 7.6.1, with a few various patches, and I'm stuck in the final stage with errors like:
> /usr/bin/ld: error: libraries/ghc-prim/dist-install/build/cbits/debug.o uses VFP register arguments, libraries/ghc-prim/dist-install/build/HSghc-prim-0.3.0.0.o does not
> I'm rebuilding with Karel's latest suggestion now.
> On Sat, 12 Jan 2013, Neil Davies wrote:
>> I've found myself wanting to get GHC 7.4.2 (need TemplateHaskell for something) working on the rapberry pi - can you (or anyone out there) share where you are at?
>> My starting point is the raspian image of 2012-12-18-wheezy-raspian that has GHC 7.4.1 on it...
>> On 11 Jan 2013, at 20:25, roconnor at theorem.ca 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 build.mk probably and you will need to rebuild everything again...
>>> Add it to the GhcLibHcOpts?
>>> Russell O'Connor <http://r6.ca/>
>>> ``All talk about `theft,''' the general counsel of the American Graphophone
>>> Company wrote, ``is the merest claptrap, for there exists no property in
>>> ideas musical, literary or artistic, except as defined by statute.''
>>> Glasgow-haskell-users mailing list
>>> Glasgow-haskell-users at haskell.org
> Russell O'Connor <http://r6.ca/>
> ``All talk about `theft,''' the general counsel of the American Graphophone
> Company wrote, ``is the merest claptrap, for there exists no property in
> ideas musical, literary or artistic, except as defined by statute.''
More information about the Glasgow-haskell-users