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 7D5511581C1 for ; Fri, 12 Jul 2024 05:55:31 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 36D79E2A59; Fri, 12 Jul 2024 05:55:30 +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 E8B3DE2A59 for ; Fri, 12 Jul 2024 05:55:29 +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) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id E58E9342F65 for ; Fri, 12 Jul 2024 05:55:28 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 25BA01BFE for ; Fri, 12 Jul 2024 05:55:27 +0000 (UTC) From: "Eli Schwartz" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Eli Schwartz" Message-ID: <1720760510.0c0b7168dd3315736ebe69575a88a8176bd3bec0.eschwartz@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-cluster/openmpi/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-cluster/openmpi/openmpi-4.1.6.ebuild X-VCS-Directories: sys-cluster/openmpi/ X-VCS-Committer: eschwartz X-VCS-Committer-Name: Eli Schwartz X-VCS-Revision: 0c0b7168dd3315736ebe69575a88a8176bd3bec0 X-VCS-Branch: master Date: Fri, 12 Jul 2024 05:55:27 +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: 273fbcb2-42c8-44e8-8ff4-43be19c9ab17 X-Archives-Hash: cf299039645d8eb6aed7a3cef9ea2966 commit: 0c0b7168dd3315736ebe69575a88a8176bd3bec0 Author: Eli Schwartz gmail com> AuthorDate: Fri May 31 19:32:49 2024 +0000 Commit: Eli Schwartz gentoo org> CommitDate: Fri Jul 12 05:01:50 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0c0b7168 sys-cluster/openmpi: mark as LTO-unsafe, strict-aliasing unsafe Closes: https://bugs.gentoo.org/913040 Signed-off-by: Eli Schwartz gentoo.org> sys-cluster/openmpi/openmpi-4.1.6.ebuild | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/sys-cluster/openmpi/openmpi-4.1.6.ebuild b/sys-cluster/openmpi/openmpi-4.1.6.ebuild index ce638f5a87a7..6f5d3e99a47f 100644 --- a/sys-cluster/openmpi/openmpi-4.1.6.ebuild +++ b/sys-cluster/openmpi/openmpi-4.1.6.ebuild @@ -4,7 +4,7 @@ EAPI=8 FORTRAN_NEEDED=fortran -inherit cuda fortran-2 multilib-minimal +inherit cuda flag-o-matic fortran-2 multilib-minimal MY_P=${P/-mpi} @@ -91,6 +91,15 @@ src_prepare() { } multilib_src_configure() { + # -Werror=lto-type-mismatch, -Werror=strict-aliasing + # The former even prevents successfully running ./configure, but both appear + # at `make` time as well. + # https://bugs.gentoo.org/913040 + # https://github.com/open-mpi/ompi/issues/12674 + # https://github.com/open-mpi/ompi/issues/12675 + append-flags -fno-strict-aliasing + filter-lto + local myconf=( --disable-mpi-java # configure takes a looooong time, but upstream currently force