From nobody Fri Aug 04 22:33:42 2023 X-Original-To: dev-commits-ports-main@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 4RHgVH1Sfwz4m9b2; Fri, 4 Aug 2023 22:33:43 +0000 (UTC) (envelope-from git@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 4RHgVH0l4Tz3Ckl; Fri, 4 Aug 2023 22:33:43 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1691188423; 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=X1TcWeq0aLKZ/AwV0RVy0dGSQq/2EBSVcCsqN05ldlQ=; b=L7qqYg8AJv5FYqPBjNaMFIUUlLyMVVWhwpc9BWeuGipVoNz6qu30IbYXqI+LgoHwUdTKmi cjb2PaiPy/P5zWtgxbPpmsvSpj2CtFezj3pgKZCNRGfVaKNcbq0sIex1w8Ksa7uJOOX/Q9 H9gVaLmpUEy2N4p4FsexgOuqSxYSqi4DJtOKA+EeucuIxCFpOXY7yHqMfv2jiA7e99CXpS TNj+51AxQ6raozFxJ42BUCUtOAE+t/ewgwBG4k28HAm7pn1bM55K3sXC+ObGIEmyiM2s0J KoqqJbwPEV1v9hzgi71Hn0pljcO3FczZJyGUiEIZ04dEWFNEVcBwTJwhKITc2A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1691188423; 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=X1TcWeq0aLKZ/AwV0RVy0dGSQq/2EBSVcCsqN05ldlQ=; b=ny7LQ3dhy4315rBLtBt/nxDKcuzrt9k4280cmHoPuvuI78UT+FlEId6D0F9qTHXMg/7d6D WV6IENNnOYajRGedFXLpbiy4AUkvcB+GDmLBy80Ws5+/ewJsSQurgJY9+4ZL8A81MFWK3V k3RhUMDd5p98cZ4joiMLzrt4L9Gn6JrZZl2TKr3PQVKRuU1lNV2D9JGtoTjgIdiA+mL2Q+ trWu+FF4VRuCGny6VkRYdjw9nQQpMKIMiRnkq7QCTYhDly8TDnnB0nMLJv2lz3G7J2lGsY vqu0bAtXoEqIdBOdq73oqzrNB7bUIVAfSUyp2jssNJd5bSiytZ4bk2/J+icvhw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1691188423; a=rsa-sha256; cv=none; b=qCnhglNNLnSOg9+R5/frJR01AKxDk/E/JRWzBdIP0N27xUHURSfVyM0kId12nGG9mbNrir p750yR9noC3N5fuhBPvF0zM7FTR34dBGxlCHBrLu2jMBUme5SdPqYnUiElwgWeg6P523fK zxx96+u/uJZQBM7VBs+ckmVc/uLLJs4I2FfGqq1K/AgAGb0JFlOuNf8BtOMYplxHpkjUOQ yzBn0n7iNhe8Kzbr3q4C48jfS9S6r4pKD+VefgdrQXIx3J886PVHOfah9xviAwjeHnhSNF V9+MgArwnzPqyhIW/MVb4ZGKceA5dSZm4HbaTrMo3ZBUQPqCZOvv2TUH+/yBFg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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 4RHgVG6xWGz1JtC; Fri, 4 Aug 2023 22:33:42 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 374MXgTx042366; Fri, 4 Aug 2023 22:33:42 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 374MXgGA042365; Fri, 4 Aug 2023 22:33:42 GMT (envelope-from git) Date: Fri, 4 Aug 2023 22:33:42 GMT Message-Id: <202308042233.374MXgGA042365@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Piotr Kubaj Subject: git: d2283436a461 - main - devel/qt6-base: fix build with CPUTYPE?=bdver2 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: pkubaj X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: d2283436a461abadb2c18c91644fe17d187fbda9 Auto-Submitted: auto-generated The branch main has been updated by pkubaj: URL: https://cgit.FreeBSD.org/ports/commit/?id=d2283436a461abadb2c18c91644fe17d187fbda9 commit d2283436a461abadb2c18c91644fe17d187fbda9 Author: Piotr Kubaj AuthorDate: 2023-08-04 22:32:54 +0000 Commit: Piotr Kubaj CommitDate: 2023-08-04 22:33:38 +0000 devel/qt6-base: fix build with CPUTYPE?=bdver2 --- .../files/patch-src_corelib_global_qsimd__p.h | 34 ++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/devel/qt6-base/files/patch-src_corelib_global_qsimd__p.h b/devel/qt6-base/files/patch-src_corelib_global_qsimd__p.h new file mode 100644 index 000000000000..41e3e87b731c --- /dev/null +++ b/devel/qt6-base/files/patch-src_corelib_global_qsimd__p.h @@ -0,0 +1,34 @@ +--- src/corelib/global/qsimd_p.h.orig 2023-08-04 22:13:36 UTC ++++ src/corelib/global/qsimd_p.h +@@ -226,15 +226,6 @@ asm( + // + // macOS's fat binaries support the "x86_64h" sub-architecture and the GNU libc + // ELF loader also supports a "haswell/" subdir (e.g., /usr/lib/haswell). +-# define ARCH_HASWELL_MACROS (__AVX2__ + __FMA__) +-# if ARCH_HASWELL_MACROS != 0 +-# if ARCH_HASWELL_MACROS != 2 +-# error "Please enable all x86-64-v3 extensions; you probably want to use -march=haswell or -march=x86-64-v3 instead of -mavx2" +-# endif +-static_assert(ARCH_HASWELL_MACROS, "Undeclared identifiers indicate which features are missing."); +-# define __haswell__ 1 +-# endif +-# undef ARCH_HASWELL_MACROS + + // x86-64 sub-architecture version 4 + // +@@ -242,15 +233,6 @@ static_assert(ARCH_HASWELL_MACROS, "Undeclared identif + // 6th generation (codename "Skylake"). AMD Zen4 is the their first processor + // with AVX512 support and it includes all of these too. + // +-# define ARCH_SKX_MACROS (__AVX512F__ + __AVX512BW__ + __AVX512CD__ + __AVX512DQ__ + __AVX512VL__) +-# if ARCH_SKX_MACROS != 0 +-# if ARCH_SKX_MACROS != 5 +-# error "Please enable all x86-64-v4 extensions; you probably want to use -march=skylake-avx512 or -march=x86-64-v4 instead of -mavx512f" +-# endif +-static_assert(ARCH_SKX_MACROS, "Undeclared identifiers indicate which features are missing."); +-# define __skylake_avx512__ 1 +-# endif +-# undef ARCH_SKX_MACROS + #endif /* Q_PROCESSOR_X86 */ + + // NEON intrinsics