build error on FreeBSD

PHO pho at cielonegro.org
Thu Mar 14 05:08:01 CET 2013


From: Kazu Yamamoto (山本和彦) <kazu at iij.ad.jp>
Subject: Re: build error on FreeBSD
Date: Thu, 14 Mar 2013 11:07:05 +0900 (JST)

>> The same error occurs on NetBSD/amd64. PrimopWrappers.dyn_o has a
>> direct reference to newSpark but since it resides in the rts, not
>> ghc-prim, such references must be redirected through PLT. The problem
>> is that every *.dyn_o, not only PrimopWrappers.dyn_o, is compiled
>> without -fPIC for OSes other than Windows, Darwin and Linux.
>>
>> I have no idea why -fPIC isn't enabled for all OSes in the first
>> place, but the attached patch works at least for me.
>
> Thanks. This patch also solves the problem in my environment.
>
> Would you create a ticket and attach your patch? > PHO
>
> --Kazu

Done.
http://hackage.haskell.org/trac/ghc/ticket/7769

_______________________________________________________
 - PHO -                         http://cielonegro.org/
OpenPGP public key: 1024D/1A86EF72
Fpr: 5F3E 5B5F 535C CE27 8254  4D1A 14E7 9CA7 1A86 EF72
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
URL: <http://www.haskell.org/pipermail/ghc-devs/attachments/20130314/ff9a3f09/attachment.pgp>


More information about the ghc-devs mailing list