[GHC] #8139: ghc 7.6.3 and ghc HEAD fails to build on OS X 10.9

GHC ghc-devs
Thu Oct 3 18:10:16 UTC 2013


#8139: ghc 7.6.3 and ghc HEAD fails to build on OS X 10.9
-------------------------------------+-------------------------------------
        Reporter:  darinmorrison     |            Owner:  darinmorrison
            Type:  bug               |           Status:  new
        Priority:  highest           |        Milestone:  7.8.1
       Component:  Compiler          |          Version:  7.7
      Resolution:                    |         Keywords:
Operating System:  MacOS X           |     Architecture:  x86_64 (amd64)
 Type of failure:  Building GHC      |       Difficulty:  Easy (less than 1
  failed                             |  hour)
       Test Case:                    |       Blocked By:
        Blocking:                    |  Related Tickets:
-------------------------------------+-------------------------------------

Comment (by george.colpitts):

 Thanks, sounds like we are all set. Sorry for any confusion I may caused.

 "The problem" is a bit ambiguous. I was referring to the first of the 3
 issues mentioned: gcc is no longer available and the clang compatibility
 patches of ?http://ghc.haskell.org/trac/ghc/ticket/7678 are not included
 in 7.6.3. After downloading Xcode 5 onto 10.8 I was unable to install the
 random-fu package getting errors that seemed the same as those mentioned
 at ?https://github.com/mxcl/homebrew/issues/20546, particularly those of
 dhess "GHC uses the system's C preprocessor, and Clang can't parse CPP
 directives that split lines. A similar problem occurs when compiling
 certain Haskell libraries (e.g., cereal) on 10.8 using the Xcode 5 DP and
 Homebrew-installed GHC."

 Replying to [comment:11 darinmorrison]:
 > Replying to [comment:10 george.colpitts]:
 >
 > Actually, no. This patch fixes problems that occur when building on 10.9
 regardless of whether GCC or clang (Xcode 5) are used. In other words,
 it's not related to Xcode 5 at all.
 >
 > Building GHC on 10.8 with Xcode 5 does not require this patch. I've
 already tested this to make sure.
 >
 > You can see how the patch is applied with the homebrew formula I
 maintain here:
 >
 > https://github.com/darinmorrison/homebrew-
 haskell/blob/master/Formula/ghc.rb

-- 
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/8139#comment:13>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler



More information about the ghc-tickets mailing list