Discussion:
[Pixman] [Patch 1/1] Clang compile failure due to use of __builtin_shuffle
StormByte
2018-08-07 09:49:10 UTC
Permalink
While playing with Clang and compiling a Gentoo system with it, I
realized that pixman is not compiling because of the use
of /__builtin_shuffle which according to LLVM mailing list, should not
be used directly [1]./

//
/As such, I investigated a bit, and made a patch for making it compile
compatible with Clang that I attach here in the hope that it is reviewed./
//
/Thanks,/
//
/David C. Manuelda/
//
/[1]: //http://lists.llvm.org/pipermail/cfe-dev/2017-August/055142.html
<http://lists.llvm.org/pipermail/cfe-dev/2017-August/055142.html>/
Matt Turner
2018-08-14 20:39:29 UTC
Permalink
While playing with Clang and compiling a Gentoo system with it, I realized that pixman is not compiling because of the use of __builtin_shuffle which according to LLVM mailing list, should not be used directly [1].
As such, I investigated a bit, and made a patch for making it compile compatible with Clang that I attach here in the hope that it is reviewed.
Thanks,
David C. Manuelda
[1]: http://lists.llvm.org/pipermail/cfe-dev/2017-August/055142.html
Thanks. This has already been reported as
https://bugs.gentoo.org/646360 and I committed a patch two months ago
to fix it -- see
https://gitlab.freedesktop.org/pixman/pixman/commit/bd2b49185b28c5024597a5e530af9fc25de3193a

The next version of pixman will include the patch.

Loading...