Opened 9 years ago

Closed 9 years ago

Last modified 44 years ago

#335 closed bug (Fixed)

Sparc/Solaris: _module_registered in QuickCheck

Reported by: as49 Owned by: nobody
Priority: normal Milestone:
Component: GHCi Version: 6.4
Keywords: Cc:
Operating System: Architecture:
Type of failure: Difficulty:
Test Case: Blocked By:
Blocking: Related Tickets:

Description

I compiled the ghc 6.4 source tarball on Solaris.
Running ghci with QuickCheck fails with:

Loading package base-1.0 ... linking ... done.
Loading package QuickCheck-1.0 ...

GHCi runtime linker: fatal error: I found a duplicate
definition for symbol
   _module_registered
whilst processing object file
   /proj/haskell/lib/ghc-6.4/HSQuickCheck.o

According to another bug, I should now check HSbase.o:

as49@myrtle:/proj/haskell/lib/ghc-6.2:536$ nm
/proj/haskell/lib/ghc-6.4/HSbase.o | grep
_module_registered
[26416] |         4|       4|OBJT |GLOB |0    |COMMON
|_module_registered
as49@myrtle:/proj/haskell/lib/ghc-6.2:537$ nm
/proj/haskell/lib/ghc-6.4/HSQuickCheck.o | grep
_module_registered
[738]   |         4|       4|OBJT |GLOB |0    |COMMON
|_module_registered

So somehow this symbol is erroneously defined in both.
Any ideas?

System is:
SunOS myrtle 5.9 Generic_117171-07 sun4u sparc
SUNW,Sun-Fire-480R

Thanks,
Axel.

Change History (3)

comment:1 Changed 9 years ago by as49

Logged In: YES 
user_id=489164

I've just compiled ghc-6-4-branch and I still get this error
message. In fact this error appears with many modules, e.g.
cabal:

as49@banyan:~/source/hsx/haskell-src-exts:518$ ghci -package
Cabal-1.0
   ___         ___ _
  / _ \ /\  /\/ __(_)
 / /_\// /_/ / /  | |      GHC Interactive, version 6.4.1,
for Haskell 98.
/ /_\\/ __  / /___| |      http://www.haskell.org/ghc/
\____/\/ /_/\____/|_|      Type :? for help.

Loading package base-1.0 ... linking ... done.
Loading package Cabal-1.0 ...

GHCi runtime linker: fatal error: I found a duplicate
definition for symbol
   _module_registered

Does anybody have the same problem with ghci on Solaris?
Does ghci work for anyone on Solaris?

Any help appreciated,
Axel.

comment:2 Changed 9 years ago by simonpj

  • Summary changed from _module_registered in QuickCheck to Sparc/Solaris: _module_registered in QuickCheck
Logged In: YES 
user_id=50165

This bug is specific to Sparc/Solaris.  

comment:3 Changed 9 years ago by simonmar

  • Status changed from assigned to closed
Logged In: YES 
user_id=48280

This was fixed in the 6.4.1 release (rev. 1.138 of
ghc/driver/mangler/ghc-asm.lprl).
Note: See TracTickets for help on using tickets.