Date: Fri, 30 Jan 2015 17:24:52 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 197201] x11/pixman: fails to build with clang 3.6.0 Message-ID: <bug-197201-13@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=197201 Bug ID: 197201 Summary: x11/pixman: fails to build with clang 3.6.0 Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: x11@FreeBSD.org Reporter: amdmi3@FreeBSD.org Assignee: x11@FreeBSD.org Flags: maintainer-feedback?(x11@FreeBSD.org) 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_pixman-mmx.c --- Comment #1 from Bugzilla Automation <bugzilla@FreeBSD.org> --- Auto-assigned to maintainer x11@FreeBSD.org -- You are receiving this mail because: You are the assignee for the bug.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-197201-13>