maintainer-feedback requested: [Bug 197201] x11/pixman: fails to build with clang 3.6.0

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Jan 30 17:24:52 UTC 2015


Dmitry Marakasov <amdmi3 at FreeBSD.org> has reassigned Bugzilla Automation
<bugzilla at FreeBSD.org>'s request for maintainer-feedback to x11 at FreeBSD.org:
Bug 197201: x11/pixman: fails to build with clang 3.6.0
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=197201



--- Description ---
Created attachment 152380
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=152380&action=edit
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_pixm
an-mmx.c

--- Comment #1 from Bugzilla Automation <bugzilla at FreeBSD.org> ---
Auto-assigned to maintainer x11 at FreeBSD.org


More information about the freebsd-x11 mailing list