How do you install ghc so that ghc-pkg doesn't use the Solaris linker, but instead the GNU linker which is called (here) gnu-ld? Obviously it doesn't want to use the Solaris linker since that doesn't have the --whole-archive option ghc-pkg needs.