Compiling GHC with Clang

Herbert Valerio Riedel hvr at
Fri Apr 11 08:34:37 UTC 2014

On 2014-04-02 at 09:14:28 +0200, Herbert Valerio Riedel wrote:
> Hello *,
> I've been trying to compile GHC with Clang instead of GCC on Ubuntu, by
> configuring the build with
>   CC=/usr/bin/clang ./configure --with-gcc=/usr/bin/clang
> but then, 'make' runs into


Just as follow-up, the problem was due to the 'clang-3.4' package
included by Ubuntu Saucy[1] not being a proper 3.4 release but rather a
pre-release snapshot of 3.4 which lacked an important fix[2];

After upgrading to Ubuntu Trusty which features proper clang-3.4
package, the problems went away.


More information about the ghc-devs mailing list