From: Kazu Yamamoto (山本和彦) <k...@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
pgpN3e6yuiY2u.pgp
Description: PGP signature
_______________________________________________ ghc-devs mailing list ghc-devs@haskell.org http://www.haskell.org/mailman/listinfo/ghc-devs