Re: [MacPorts] #30555: GHC build error: LLVM cannot handle register variable ‘R1’

MacPorts noreply at macports.org
Wed Oct 12 13:49:12 PDT 2011


#30555: GHC build error: LLVM cannot handle register variable ‘R1’
-------------------------------------+--------------------------------------
 Reporter:  dmm@…                    |       Owner:  gwright@…           
     Type:  defect                   |      Status:  new                 
 Priority:  Normal                   |   Milestone:                      
Component:  ports                    |     Version:  2.0.1               
 Keywords:                           |        Port:  ghc                 
-------------------------------------+--------------------------------------

Comment(by burkhard@…):

 Adding
   configure.compiler      gcc-4.2
 to the 'platform darwin 10' section seems to fix/work around the problem.

 Diff would be
 {{{

 --- Portfile.orig       2011-10-12 13:57:11.000000000 -0600
 +++ Portfile    2011-10-12 13:58:15.000000000 -0600
 @@ -274,6 +274,8 @@
                         return -code error "Unrecognized build
 architecture on Snow Leopard"
                 }

 +                configure.compiler      gcc-4.2
 +
                 patchfiles-append       patch-snowleopard-compiler-cmm-
 CLabel.hs.diff           \
                                         patch-snowleopard-compiler-main-
 DynFlags.hs.diff        \
                                         patch-snowleopard-ghc-ghc-
 bin.cabal.in.diff             \
 }}}

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


More information about the macports-tickets mailing list