From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id CAE60158041 for ; Wed, 6 Mar 2024 07:25:47 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D0054E2A15; Wed, 6 Mar 2024 07:25:45 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (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) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id B2EA4E2A15 for ; Wed, 6 Mar 2024 07:25:45 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id B6960340CC9 for ; Wed, 6 Mar 2024 07:25:44 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 580A7118C for ; Wed, 6 Mar 2024 07:25:43 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1709709935.2df2ec23674da60b38a6aec7e5f1a8e5c281203b.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sci-libs/scalapack/ X-VCS-Repository: repo/gentoo X-VCS-Files: sci-libs/scalapack/scalapack-2.1.0.ebuild X-VCS-Directories: sci-libs/scalapack/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 2df2ec23674da60b38a6aec7e5f1a8e5c281203b X-VCS-Branch: master Date: Wed, 6 Mar 2024 07:25:43 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 59f0c77a-b88d-42cd-97df-43b1b8826de3 X-Archives-Hash: fe16d9b9ae730d2aeaa3b64cb4768d3a commit: 2df2ec23674da60b38a6aec7e5f1a8e5c281203b Author: Eli Schwartz gmail com> AuthorDate: Wed Mar 6 07:21:02 2024 +0000 Commit: Sam James gentoo org> CommitDate: Wed Mar 6 07:25:35 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2df2ec23 sci-libs/scalapack: mark as LTO-unsafe, strict-aliasing unsafe Closes: https://bugs.gentoo.org/862924 Signed-off-by: Eli Schwartz gmail.com> Signed-off-by: Sam James gentoo.org> sci-libs/scalapack/scalapack-2.1.0.ebuild | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/sci-libs/scalapack/scalapack-2.1.0.ebuild b/sci-libs/scalapack/scalapack-2.1.0.ebuild index e102c27d3b80..843d2ff0d166 100644 --- a/sci-libs/scalapack/scalapack-2.1.0.ebuild +++ b/sci-libs/scalapack/scalapack-2.1.0.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 -inherit cmake fortran-2 toolchain-funcs +inherit cmake flag-o-matic fortran-2 toolchain-funcs GCC10_PATCH_HASH="bc6cad585362aa58e05186bb85d4b619080c45a9" @@ -39,6 +39,14 @@ src_prepare() { } src_configure() { + # -Werror=strict-aliasing + # https://bugs.gentoo.org/862924 + # https://github.com/Reference-ScaLAPACK/scalapack/issues/95 + # + # Do not trust it for LTO either. + append-flags -fno-strict-aliasing + filter-lto + scalapack_configure() { local mycmakeargs=( -DUSE_OPTIMIZED_LAPACK_BLAS=ON