#2965: GHC on OS X does not compile 64-bit
--------------------------------+-------------------------------------------
    Reporter:  Axman6           |        Owner:  thoughtpolice        
        Type:  feature request  |       Status:  new                  
    Priority:  normal           |    Milestone:  6.12 branch          
   Component:  Compiler         |      Version:                       
    Keywords:  64bit            |   Difficulty:  Unknown              
          Os:  MacOS X          |     Testcase:                       
Architecture:  x86_64 (amd64)   |      Failure:  Installing GHC failed
--------------------------------+-------------------------------------------

Comment(by jeffschwab):

 Happy is apparently included in the 32-bit binary platform download;
 configure and make work with these instructions:

 http://obvioushints.blogspot.com/2009/09/running-haskell-ghc-on-snow-
 leopard.html

 Sadly, make install fails with an error in mtl (a "monad transformer
 library," whatever that is):

 haskell-platform-2009.2.0.2$ make install
 scripts/install.sh
 Installing mtl-1.1.0.2...

 Error:
 The mtl-1.1.0.2/Setup script does not exist or cannot be run
 make: *** [install] Error 2

 The script does exist, but apparently has unresolved dependencies:

 haskell-platform-2009.2.0.2$ ghc packages/mtl-1.1.0.2/Setup.hs
 Undefined symbols:
   "___stginit_Cabalzm1zi6zi0zi3_DistributionziSimple_", referenced from:
       ___stginit_Main_ in Setup.o
   "_Cabalzm1zi6zi0zi3_DistributionziSimple_defaultMain_closure",
 referenced from:
       _Main_main_info in Setup.o
       _ZCMain_main_info in Setup.o
       _Main_main_srt in Setup.o
       _ZCMain_main_srt in Setup.o
 ld: symbol(s) not found
 collect2: ld returned 1 exit status

 I don't know who mangled those "_Cabalzm1zi6zi..." names, but the XCode 3
 default c++filt does not seem to recognize them.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2965#comment:49>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to