[GHC] #8497: clang/wrapper cannot build GHC head with integer-gmp on Mavericks
GHC
ghc-devs at haskell.org
Sun Nov 3 03:43:32 UTC 2013
#8497: clang/wrapper cannot build GHC head with integer-gmp on Mavericks
----------------------------------------+----------------------------------
Reporter: kazu-yamamoto | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 7.7
Resolution: | Keywords: clang
Operating System: MacOS X | Architecture:
Type of failure: Building GHC failed | Unknown/Multiple
Test Case: | Difficulty: Unknown
Blocking: | Blocked By:
| Related Tickets:
----------------------------------------+----------------------------------
Comment (by kazu-yamamoto):
_locale_charset is a libiconv issue. It's very strange that --with-gmp-xxx
influences iconv.
Anyway, I tried:
{{{
% ./configure --prefix=/ghc-head --with-gmp-includes=/opt/local/include
--with-gmp-libraries=/opt/local/lib --with-iconv-includes=/usr/include
--with-iconv-libraries=/usr/lib
}}}
But this time, the version of FFI mismatched. So, I did:
{{{
% ./configure --prefix=/ghc-head --with-gmp-includes=/opt/local/include
--with-gmp-libraries=/opt/local/lib --with-iconv-includes=/usr/include
--with-iconv-libraries=/usr/lib --with-system-libffi --with-ffi-
includes=/usr/include/ffi --with-ffi-libraries=/usr/lib
}}}
This configuration can build GHC head on Mavericks.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/8497#comment:6>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list