> 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

_______________________________________________
ghc-devs mailing list
ghc-devs@haskell.org
http://www.haskell.org/mailman/listinfo/ghc-devs

Reply via email to