[MacPorts] #20132: ghc missing variable definitions in 10.6

MacPorts noreply at macports.org
Thu Sep 3 12:33:14 PDT 2009


#20132: ghc missing variable definitions in 10.6
------------------------------+---------------------------------------------
 Reporter:  snc@…             |       Owner:  gwright@…           
     Type:  defect            |      Status:  assigned            
 Priority:  Normal            |   Milestone:                      
Component:  ports             |     Version:  1.8.0               
 Keywords:  snowleopard       |        Port:  ghc                 
------------------------------+---------------------------------------------

Comment(by mietek+macports@…):

 Until this is fixed, you can install the official GHC 6.10.4 binary, and
 apply a small workaround.

 The binary can be found on
 [http://haskell.org/ghc/download_ghc_6_10_4.html#macosxintel the official
 download page].

 The only problem is that GHC generates 32-bit code, and the GCC toolchain
 on 10.6 defaults to 64-bit, as detailed in [http://www.nabble.com/Snow-
 Leopard-Breaks-GHC-td25198347.html a Haskell Cafe thread].

 The thread describes a workaround to get the official 6.10.4 binary
 working.  Simply add the following flags to `/usr/bin/ghc` and
 `/usr/bin/ghci`:

 {{{-optc-m32 -opta-m32 -optl-m32}}}

 According to [http://hackage.haskell.org/trac/ghc/ticket/3400 GHC ticket
 #3400] this fix is already applied to the HEAD, so hopefully we can expect
 an updated port soon.

-- 
Ticket URL: <http://trac.macports.org/ticket/20132#comment:19>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list