Compiling GHC with Clang
Herbert Valerio Riedel
hvr at gnu.org
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.
[1]: http://packages.ubuntu.com/saucy/clang-3.4
[2]: http://permalink.gmane.org/gmane.comp.compilers.clang.scm/76596
More information about the ghc-devs
mailing list