Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Apr 2022 16:33:39 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 263244] archivers/7-zip: fix build on armv7
Message-ID:  <bug-263244-7788@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 263244
           Summary: archivers/7-zip: fix build on armv7
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: makc@FreeBSD.org
          Reporter: fuz@fuz.su
                CC: makc@FreeBSD.org
          Assignee: makc@FreeBSD.org
             Flags: maintainer-feedback?(makc@FreeBSD.org)
 Attachment #233171 maintainer-approval?(makc@FreeBSD.org)
             Flags:
             Flags: merge-quarterly?
                CC: makc@FreeBSD.org

Created attachment 233171
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D233171&action=
=3Dedit
archivers/7-zip: fix build on armv7

The port current does not build on armv7.  To fix this problem...

 - extend HWCAP detection patch to use correct auxvals on armv6/armv7
 - disable optimised AES, CRC, SHA-1, and SHA-256 kernels on armv6/armv7
   as they don't build with base clang

An unfortunate side effect is that now the armv7 binary does not make use of
any of the available instruction set extensions, even though it is capable =
of
detecting their availability.  Unfortunately clang support for NEON intrins=
ics
is very spotty on 32 bit ARM.  If desired, USE_GCC=3Dyes and removing the p=
atches
that disable the optimised AES, CRC, SHA-1, and SHA-256 implementations mig=
ht
be a good way to obtain a binary with these in.

Tested with Poudriere on armv7 arm64 FreeBSD 13.
Please MFH if possible.

--=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-263244-7788>