[Bug 263244] archivers/7-zip: fix build on armv7
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 12 Apr 2022 16:33:39 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=263244 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=233171&action=edit 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 intrinsics is very spotty on 32 bit ARM. If desired, USE_GCC=yes and removing the patches that disable the optimised AES, CRC, SHA-1, and SHA-256 implementations might be a good way to obtain a binary with these in. Tested with Poudriere on armv7 arm64 FreeBSD 13. Please MFH if possible. -- You are receiving this mail because: You are the assignee for the bug.