[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:53 UTC 2015


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 at FreeBSD.org
          Reporter: amdmi3 at FreeBSD.org
          Assignee: x11 at FreeBSD.org
             Flags: maintainer-feedback?(x11 at 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 at FreeBSD.org> ---
Auto-assigned to maintainer x11 at FreeBSD.org

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-x11 mailing list