From nobody Tue Apr 12 16:33:39 2022 X-Original-To: ports-bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id A66907EE8DD for ; Tue, 12 Apr 2022 16:33:39 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4KdB9v3b8Kz4cV2 for ; Tue, 12 Apr 2022 16:33:39 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 5BB8E1AD3B for ; Tue, 12 Apr 2022 16:33:39 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 23CGXdJI005190 for ; Tue, 12 Apr 2022 16:33:39 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 23CGXdEw005189 for ports-bugs@FreeBSD.org; Tue, 12 Apr 2022 16:33:39 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 263244] archivers/7-zip: fix build on armv7 Date: Tue, 12 Apr 2022 16:33:39 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: fuz@fuz.su X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: makc@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? merge-quarterly? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter cc flagtypes.name attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports-bugs@freebsd.org X-BeenThere: freebsd-ports-bugs@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1649781219; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=DPWUOhECSMwYvocBU+cgvks6k7TW0D1CGQyrT43uI74=; b=R82XzPhdBGvU77a+EC5uFrzoxXUJTTeb0uX3irbfgiq9egcxmEfWFBbQbamwyr/1PMRICx tyG7QpZjgbMv5QJkm76PIKwYNRxlnDeB99u+ZLivFumkLW8LbHms8+dG7hOrmv5EZ4AfcB JfHBhj1R678EpidVMySMqzyTZgKL/0O9eQVlLpYZ63sdAp4hIbgEEvNL5K4vib5cvkLA3U UI6JylZr/zQhHOHKDelwdiz54er5CpjwY7/+LmmcoUVylSKOuGAXCzkSh0BbRV8vDhlF1q BZYB2fhX9KHyzvTwJp+p+9LpidDV4mDKxL7+ANFvqNsTEuq6O7LdFR3+T0gJdA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1649781219; a=rsa-sha256; cv=none; b=GQ9OWoFwFm2HPJKQ1gh/xuQZvWs4CVPhad+6+RrIzyPFvPJSyrdyECPjZroFPZtAt0q1JY C92d/cg1kT0Iae93RCeVKttQz+7bYp6SbFTkb5tvudHUKaxqvwdWKQr/7G1Nv2+kB+vNKy b0lPJrn0a+1iMJKhZEuH4YEA4ZOTtjJKNWGnLaTzCB/HmJxplYVNdU4umqB4kJfzktjD7Q gIMJrRcOjW52nKpBwg7Bbc0rpoK/XzxzjF9hchpPCJ+9MX4vi2pdn5jCt0h/sTG2+dn+wj Os01kyFYmSBTdu9ftONVGAcWmaAaJihhnhzCbo4idlOwHpNTum4i3/wnzWEUng== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N 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.=