Re: Installing ghc-7.8.3 OS X bindist fails on Xcode 4 CLI-only machine

14 Jul
2014
14 Jul
'14
12:54 p.m.
Thanks, the work-around did the trick.
On 14 July 2014 16:34, Mark Lentczner
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
3964
Age (days ago)
3964
Last active (days ago)
0 comments
1 participants
participants (1)
-
Christiaan Baaij