[llvmlinux] OpenMandriva switching to clang

Sylvestre Ledru sylvestre at debian.org
Sun Nov 24 12:17:51 UTC 2013


On 23/11/2013 19:16, Bernhard Rosenkränzer wrote:
> Hi,
> I'm currently at the OpenMandriva (http://openmandriva.org/)
> contributor summit, and brought up the topic of compilers.
> Everyone agreed that switching our default compiler to clang would be
> an interesting option, and the only concern was that we don't have
> lots of manpower, so fixing 10000 packages may take a long time (not
> that anyone actually expects 10000 to fail).
In Debian, the last time I did a rebuild (version 3.3), we had about
2188 failing on 19000 packages.
Among them, more than 600 are due to the fact that -u was not
implemented and failed with haskel.

You can see the kind of errors which can be found:
I started to report them with patches:

To help with this work, I have been contributing to clang to do changes
(example: -O6 no longer fails, just give a warning) and in gcc (enabling
by default some warnings).

But, the best way is to "educate" upstream about clang and the fact that
gcc is no longer the "only" compiler available


More information about the LLVMLinux mailing list