Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 144753 - dev-lang/ghc-6.4.2 --- mangler (ghc-asm) on sparc marks _modules_registered as entry too strongly
Summary: dev-lang/ghc-6.4.2 --- mangler (ghc-asm) on sparc marks _modules_registered a...
Status: RESOLVED DUPLICATE of bug 144752
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: Sparc Linux
: Normal normal (vote)
Assignee: Duncan Coutts (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-08-22 07:44 UTC by Ferris McCormick (RETIRED)
Modified: 2006-08-22 07:52 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ferris McCormick (RETIRED) gentoo-dev 2006-08-22 07:44:34 UTC
(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.
Comment 1 Ferris McCormick (RETIRED) gentoo-dev 2006-08-22 07:52:57 UTC
Yay, bugzilla!  Thanks for entering this twice for the price of one!

*** This bug has been marked as a duplicate of 144752 ***