(Assigned to Duncan Coutts at his request.) On sparc, the ghc_asm mangler for ghc-6.4.2 marks the symbol _module_registered as: 00000004 C _module_registered instead of as 0000000000000000 b _module_registered (as taken from amd64). This results in failures from ghci, thus: ========================================== GHCi runtime linker: fatal error: I found a duplicate definition for symbol _module_registered whilst processing object file /usr/lib/ghc-6.4.2/HShaskell98.o =========================================== Apparently, this was a known problem for ghc on sparc/solaris and fixed there, but it is also present on linux. See https://sourceforge.net/tracker/?func=detail&atid=108032&aid=1170933&group_id=8032 Problem is specific to sparc, but otherwise should be independent from the environment. I note a cross-reference to https://bugs.gentoo.org/show_bug.cgi?id=140369 for bookkeeping purposes; feel free to ignore it.
Yay, bugzilla! Thanks for entering this twice for the price of one! *** This bug has been marked as a duplicate of 144752 ***