I am not sure If it is Gentoo bug or not, but It seems to be fixed in mainstream: http://ghc.haskell.org/trac/ghc/ticket/4862 /usr/lib/gcc/x86_64-pc-linux-gnu/4.8.1/../../../../x86_64-pc-linux-gnu/bin/ld: --hash-size=31: unknown option /usr/lib/gcc/x86_64-pc-linux-gnu/4.8.1/../../../../x86_64-pc-linux-gnu/bin/ld: use the --help option for usage information collect2: error: ld returned 1 exit status configure: error: Building ghc-pwd failed Everything is OK with ld.bfd
Created attachment 361220 [details] config.log
Created attachment 361222 [details] build.log
Created attachment 361224 [details] package-info.txt
I believe ghc-7.8.3 tries to support it. Our ebuild might still pass incompatible ldflags though. Please test it and reopen if fails.