From nobody Mon Mar 11 18:33:22 2024 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 4TtllR1VLwz5DV4j for ; Mon, 11 Mar 2024 18:33:23 +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 4TtllR0Ct7z4tNY for ; Mon, 11 Mar 2024 18:33:23 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1710182003; a=rsa-sha256; cv=none; b=ox1zluqB5JaW9eFV0cpybWoJ9bMnNIVJtmQs8E9dmYhdd/pZaM5ztJYW4MCQJHak/8bTkO QDjyB535z5kjU7bn07XYKMr3AFPgkGZ/KphNiZFUKvt7rlzTDSuDV3+Imf0iUNlHpfS+mw Be3W9MJ0lT3M0z0DsKWHaZGoE4OmWQUo0Zalez/IS+HRfSW3gVr9B6KRvn3oPEQzfozQ46 91+xeK8jIL7+jJFoOf6b/lKVjdH2SVJe84qWZty4nWsEMUt7WyTpSa8GZ5smwKpMsc3ybV cXISuUPtgE/f3tiALcZcYwvadab8TTyfJDPmY2w4DyDGYWastuRk09grqyg5rg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1710182003; 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=zSr9lilGUXLDE+EqVFVuVhyw8TcwuWqJNLBlxEQvgSg=; b=CmFoGn9rMCd0HDsKEfUiUflwDjnv4tutDAIoUNbfhyX0NgM/CZ3YVdfSHlQrHA19SWp9Mo JRbCfMj7HW/yBCttwX+tl1VcPrXUft2113razVrkNC6K4qyZrvYKnnhiFSPzq8NJ2lcNAw u064h506sxAI9u2ZhWCpBq0DSyaRaI6Bz7YUGhxo4MY0+WnCZEsV1gh4JWNWQqRtLnwmtt SmxBhrVfS1cbhaZ4t69OmakE3oo87sVKqSne9NSR80xciwp0/f5AqvYuNg8cPXoiSaf4l+ O2BOoHWaC/K5QmRNmNxtdZTRYmHIDSzkud7o4gZFG+UwrbXBshE4FOtUdJqmzw== 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 4TtllQ6xPCzh07 for ; Mon, 11 Mar 2024 18:33:22 +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 42BIXMBI033067 for ; Mon, 11 Mar 2024 18:33:22 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 42BIXMa5033066 for ports-bugs@FreeBSD.org; Mon, 11 Mar 2024 18:33:22 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 277636] archivers/unrar build error on arm64 with hardware CRC or AES Date: Mon, 11 Mar 2024 18:33:22 +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: jfc@mit.edu X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: sunpoet@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name 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 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D277636 Bug ID: 277636 Summary: archivers/unrar build error on arm64 with hardware CRC or AES Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: sunpoet@FreeBSD.org Reporter: jfc@mit.edu Flags: maintainer-feedback?(sunpoet@FreeBSD.org) Assignee: sunpoet@FreeBSD.org Make /etc/make.conf has CPUTYPE?=3Dcortex-a57 This causes a build error in archivers/unrar: =3D=3D=3D> Building for unrar-7.00,6 c++ -DOPENSSL_AES -I/usr/include -O2 -pipe -mcpu=3Dcortex-a57 -fstack-protector-strong -fno-strict-aliasing -D_FILE_OFFSET_BITS=3D64 -D_LARGEFILE_SOURCE -DRAR_SMP -DUNRAR -c rar.cpp In file included from rar.cpp:1: In file included from ./rar.hpp:6: ./os.hpp:158:10: fatal error: 'asm/hwcap.h' file not found 158 | #include | ^~~~~~~~~~~~~ 1 error generated. *** Error code 1 My CPU setting enables the __ARM_FEATURE macros tested in this part of os.h= pp added in unrar7. #if defined(__aarch64__) && (defined(__ARM_FEATURE_CRYPTO) || defined(__ARM_FEATURE_CRC32)) #include #ifndef _APPLE #include #include #endif #ifdef __ARM_FEATURE_CRYPTO #define USE_NEON_AES #endif #ifdef __ARM_FEATURE_CRC32 #define USE_NEON_CRC32 #endif #endif The header file assumes the 64 bit world consists entirely of Apple and Lin= ux. --=20 You are receiving this mail because: You are the assignee for the bug.=