Fwd: Installing ghc-7.8.3 OS X bindist fails on Xcode 4 CLI-only machine
Brandon Allbery
allbery.b at gmail.com
Mon Jul 14 15:06:27 UTC 2014
FWIW Mark had this reply but is apparently not subscribed to, or being
rejected by, ghc-users and asked me to forward it.
---------- Forwarded message ----------
From: Mark Lentczner <mark.lentczner at gmail.com>
Date: Mon, Jul 14, 2014 at 7:34 AM
Subject: Re: Installing ghc-7.8.3 OS X bindist fails on Xcode 4 CLI-only
machine
To: Christiaan Baaij <christiaan.baaij at gmail.com>
Cc: glasgow-haskell-users <glasgow-haskell-users at haskell.org>
Yes - this is a known problem in GHC (#9257
<https://ghc.haskell.org/trac/ghc/ticket/9257>)
The problem is that there is one gcc invocation in the "make install" step
(!) and that the clang/gcc detection isn't applied at bindist configuire
time. Hence, that gcc invocation is based on the compiler of the machine
that built the bindist (clang), not the compiler of the machine it is being
installed on (gcc).
Note that this doesn't affect the installed GHC system: The compiler
detection at bindist configure time *is* applied to the ghc tree it
installs, just not the bindist make itself!
Work around is very easy:
make install CC_CLANG_BACKEND=0
- Mark
--
brandon s allbery kf8nh sine nomine associates
allbery.b at gmail.com ballbery at sinenomine.net
unix, openafs, kerberos, infrastructure, xmonad http://sinenomine.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/glasgow-haskell-users/attachments/20140714/e2d0eab9/attachment-0001.html>
More information about the Glasgow-haskell-users
mailing list