Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Aug 2017 18:20:14 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 221814] x11/pixman: fails to build on armv6 with clang 5
Message-ID:  <bug-221814-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D221814

            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@FreeBSD.org
          Reporter: mikael.urankar@gmail.com
                CC: freebsd-arm@FreeBSD.org
             Flags: maintainer-feedback?(x11@FreeBSD.org)
          Assignee: x11@FreeBSD.org
                CC: freebsd-arm@FreeBSD.org

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

Hi,=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20

It seems that clang 5.x has implemented the .altmacro directive and now pix=
man
enables neon and simd on armv6.=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
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 ar=
mv6.
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

--=20
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-221814-13>