[Bug 221814] x11/pixman: fails to build on armv6 with clang 5

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Aug 25 18:20:15 UTC 2017


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=221814

            Bug ID: 221814
           Summary: x11/pixman: fails to build on armv6 with clang 5
           Product: Ports & Packages
           Version: Latest
          Hardware: arm
               URL: http://beefy8.nyi.freebsd.org/data/head-armv6-default/
                    p448640_s322824/logs/errors/pixman-0.34.0.log
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: Individual Port(s)
          Assignee: x11 at FreeBSD.org
          Reporter: mikael.urankar at gmail.com
                CC: freebsd-arm at FreeBSD.org
             Flags: maintainer-feedback?(x11 at FreeBSD.org)
          Assignee: x11 at FreeBSD.org
                CC: freebsd-arm at FreeBSD.org

Created attachment 185761
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=185761&action=edit
patch

Hi,                                  

It seems that clang 5.x has implemented the .altmacro directive and now pixman
enables neon and simd on armv6.                                       
clang integrated assembler doesn't understand .func / .endfunc and other
directives used by simd/neon code in pixman and our linker is too old
to link some binaries. We need to disable the integrated assembler and use
binutils on armv6. neon is an armv7 feature so we need to disable it for armv6.
See attached patch, it fixes the build on armv6.

Thanks in advance.

error log:
http://beefy8.nyi.freebsd.org/data/head-armv6-default/p448640_s322824/logs/errors/pixman-0.34.0.log

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


More information about the freebsd-x11 mailing list