trouble building ghc-7.4 on Fedora 18 (devel) ARM

Karel Gardas karel.gardas at centrum.cz
Wed Apr 25 12:43:05 CEST 2012


Hi,

I've just attached my fix for hard-float ABI build failure on GHC HEAD 
to the #5914.

I would be more than glad if you can attempt to merge it to 7.4.x you 
are packaging and test if it works for you on both soft and hard float 
ABI. Hard seems to be preferred these days at least on Linux...

If you keep me posted about this either by email or by adding info to 
bug above, I would really appreciate it.

Once you verify the fix is working on 7.4.x I'll push it for inclusion 
on HEAD even I'm not able to bootstrap it fully (see #6043) and from 
HEAD it will be merged hopefully to 7.4.x branch to easy your packaging 
job...

Thanks!
Karel

On 04/24/12 02:28 PM, Joachim Breitner wrote:
> Hi,
>
> Am Dienstag, den 24.04.2012, 19:50 +0900 schrieb Jens Petersen:
>>>     - debian/patches/armhf_llvm_abi: Pass -float-abi=hard to llc on armhf if
>>>       __ARM_PCS_VFP is defined (needs to be preprocessed for this)
>>>     - debian/rules: Define __ARM_PCS_VFP on armhf for the above patch.
>>>
>>> you might need to set __ARM_PCS_VFP. This is the code in debian/rules:
>>
>> Thanks Joachim for catching this!
>>
>> Hmm, perhaps I am being really stupid, but even after that
>> the build still fails in exactly the same way.  I am kind of stumped...
>>
>> http://arm.koji.fedoraproject.org/koji/getfile?taskID=755369&name=build.log
>> http://arm.koji.fedoraproject.org/koji/taskinfo?taskID=755369
>>
>> (the armv5tel seems to be ok so far afaict)
>
> no idea, but I’m CC’ing people knowing more about the ARM port (Karel
> and Jani), maybe they can help you.
>
> Greetings,
> Joachim
>




More information about the Glasgow-haskell-users mailing list