Created attachment 152380 [details] Fix I'm testing ports building on experimental projects/clang360-import branch (and clang 3.6 will end up in HEAD in some time), and pixman fails there: --- pixman-mmx.c:100:20: error: invalid type 'const int8_t' (aka 'const signed char') in asm input for constraint 'K' : "y" (__A), "K" (__N) ^~~ --- The cause of this (llvm commit [1]) is still discussed in llvm maillist ([2]) and may be considered a regression, so this bug is not to be resolved immediately, but to gather more info about this problem and to discuss it for now. However, I have a fix based on one from pkgsrc ([3]), modified to not affect systems with older clang at all, which I'd like to commit. [1] http://llvm.org/viewvc/llvm-project?view=revision&revision=225244 [2] http://lists.cs.uiuc.edu/pipermail/cfe-commits/Week-of-Mon-20150112/121309.html [3] https://github.com/jsonn/pkgsrc/blob/trunk/x11/pixman/patches/patch-pixman_pixman-mmx.c
Auto-assigned to maintainer x11@FreeBSD.org
Created attachment 152384 [details] Full build log
A commit references this bug: Author: kwm Date: Tue Feb 3 19:09:01 UTC 2015 New revision: 378365 URL: https://svnweb.freebsd.org/changeset/ports/378365 Log: Fix the build with clang 3.6. PR: 197201 Submitted by: amdmi3@ Changes: head/x11/pixman/files/patch-pixman_pixman-mmx.c