Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Jan 2015 17:24:52 +0000
From:      bugzilla-noreply@freebsd.org
To:        x11@FreeBSD.org
Subject:   maintainer-feedback requested: [Bug 197201] x11/pixman: fails to build with clang 3.6.0
Message-ID:  <bug-197201-7141-yyj0SllNIi@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-197201-7141@https.bugs.freebsd.org/bugzilla/>
References:  <bug-197201-7141@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
Dmitry Marakasov <amdmi3@FreeBSD.org> has reassigned Bugzilla Automation
<bugzilla@FreeBSD.org>'s request for maintainer-feedback to x11@FreeBSD.org:
Bug 197201: x11/pixman: fails to build with clang 3.6.0
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D197201



--- Description ---
Created attachment 152380
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D152380&action=
=3Dedit
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 f=
or
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=3Drevision&revision=3D225244
[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@FreeBSD.org> ---
Auto-assigned to maintainer x11@FreeBSD.org=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-197201-7141-yyj0SllNIi>