GHC static libraries are not position independent in OSX
GHC static libraries are not built position-independent in OSX, which prevents the user from developing creating dynamic libraries and bundles with Haskell code.
GHC should try to build its libraries with -fPIC in the architectures which admit it.
Here is an example in OSX 10.3/ppc with GHC6.6 (built by macports)
echo "module Foo where" > Foo.hs ghc -no-hs-main -optl -bundle -fPIC -o Foo.bundle Foo.hs ld: /opt/local/lib/ghc-6.6/libHSbase.a(.o::Pack(void)) has local relocation entries in non-writable section