Error building ghc on raspberry pi.

roconnor at theorem.ca roconnor at theorem.ca
Wed Jan 16 20:12:25 CET 2013


On Wed, 16 Jan 2013, Karel Gardas wrote:

>
> Good! So the patch I already provided is working fine at least w.r.t. change 
> in configure. I've tested it here on my raspbian chroot on pandaboard where 
> I've hacked config.guess to print exactly what you get on real rpi.
>
> Now, I'm curious if the hack in DriverPipeline.hs helps too.
>
> Were you able to merge the patch into your GHC? And rebuild? What was the 
> result?

I'm still trying to figure out the correct usage of -optlc-float-abi=hard 
in mk/build.mk.  I've ben getting a lot of errors about two occurances of 
the float-abi=hard flag.

> Thanks,
> Karel
>
> On 01/16/13 08:02 PM, roconnor at theorem.ca wrote:
>> On Wed, 16 Jan 2013, Karel Gardas wrote:
>> 
>>> 
>>> Guys,
>>> 
>>> I've installed raspbian into ubuntu chroot on my panda. Now to
>>> simulate what GHC detects on your hardware, could you be so kind and
>>> send me output of:
>>> 
>>> uname -m
>> 
>> armv6l
>> 
>>> uname -r
>> 
>> 3.6.11+
>> 
>>> uname -s
>> 
>> Linux
>> 
>>> uname -v
>> 
>> #346 PREEMPT Fri Dec 28 00:50:33 GMT 2012
>> 
>>> this looks like a needed info for config.guess to detect machine
>>> hardware well.
>>> 
>>> Also if you send me output of:
>>> 
>>> sh config.guess
>> 
>> armv6l-unknown-linux-gnueabihf
>> 
>>> it would be great.
>>> 
>>> Everything of course run on your rpi board!
>>> 
>>> Thanks,
>>> Karel
>> 
>

-- 
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 mailing list