<div dir="ltr">Thanks Emil,<div><br></div><div>I see that this is indeed fixed in master. There is another problem with __builtin_shuffle though which clang doesn't support.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Dec 12, 2017 at 7:26 AM, Emil Velikov <span dir="ltr"><<a href="mailto:emil.l.velikov@gmail.com" target="_blank">emil.l.velikov@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 8 December 2017 at 23:32, Manoj Gupta <<a href="mailto:manojgupta@chromium.org">manojgupta@chromium.org</a>> wrote:<br>
> Hi,<br>
><br>
> I am encountering a build issue in pixman when compiling with with clang.<br>
><br>
> pixman-mmx.c:100:20: error: constraint 'K' expects an integer constant<br>
> expression<br>
> : "y" (__A), "K" (__N)<br>
><br>
</span>Seems like you guys are building some pretty old stuff ;-)<br>
<br>
The issue was resolved upstream back in 2015 [1] and there has been a<br>
release with said fix [2].<br>
<br>
-Emil<br>
<br>
[1] <a href="https://cgit.freedesktop.org/pixman/commit/?id=d24b415f3e2753a588759d028b811e1ce38fea6c" rel="noreferrer" target="_blank">https://cgit.freedesktop.org/<wbr>pixman/commit/?id=<wbr>d24b415f3e2753a588759d028b811e<wbr>1ce38fea6c</a><br>
[2] <a href="https://lists.x.org/archives/xorg-announce/2015-December/002666.html" rel="noreferrer" target="_blank">https://lists.x.org/archives/<wbr>xorg-announce/2015-December/<wbr>002666.html</a><br>
</blockquote></div><br></div>