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 469441581D3 for ; Fri, 24 May 2024 00:35:00 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 69C17E2A3F; Fri, 24 May 2024 00:34:59 +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)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 3F447E2A2D for ; Fri, 24 May 2024 00:34:59 +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 40D70342FA3 for ; Fri, 24 May 2024 00:34:58 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 7B7D91B37 for ; Fri, 24 May 2024 00:34:56 +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: <1716510728.7319ff722dbb79d4b8b1a93154bea3b7fdcb0a7b.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/mesa/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-libs/mesa/mesa-24.1.0-r1.ebuild media-libs/mesa/mesa-9999.ebuild X-VCS-Directories: media-libs/mesa/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 7319ff722dbb79d4b8b1a93154bea3b7fdcb0a7b X-VCS-Branch: master Date: Fri, 24 May 2024 00:34:56 +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: 196a3456-05f9-48d4-becf-3f849b8e76b8 X-Archives-Hash: 2336d7a38bd84c20a835bf5bbe464240 commit: 7319ff722dbb79d4b8b1a93154bea3b7fdcb0a7b Author: Sam James gentoo org> AuthorDate: Fri May 24 00:32:08 2024 +0000 Commit: Sam James gentoo org> CommitDate: Fri May 24 00:32:08 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7319ff72 media-libs/mesa: filter LTO for GCC 14 chutzpah reported crashes with Firefox after building mesa (and the rest of his system) with GCC 14. Disabling LTO on Mesa seems to have fixed it, which tallies with an upstream bug I'd spotted the other day. Unfortunately, the testsuite fails the same way before/after (but just in one silly known test) so can't use that to nail it further. Bug: https://gitlab.freedesktop.org/mesa/mesa/-/issues/11140 Signed-off-by: Sam James gentoo.org> media-libs/mesa/{mesa-9999.ebuild => mesa-24.1.0-r1.ebuild} | 5 ++++- media-libs/mesa/mesa-9999.ebuild | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/media-libs/mesa/mesa-9999.ebuild b/media-libs/mesa/mesa-24.1.0-r1.ebuild similarity index 98% copy from media-libs/mesa/mesa-9999.ebuild copy to media-libs/mesa/mesa-24.1.0-r1.ebuild index f9c4e1acfcbb..a2c38124b0e8 100644 --- a/media-libs/mesa/mesa-9999.ebuild +++ b/media-libs/mesa/mesa-24.1.0-r1.ebuild @@ -7,7 +7,7 @@ LLVM_COMPAT=( {15..17} ) LLVM_OPTIONAL=1 PYTHON_COMPAT=( python3_{10..12} ) -inherit llvm-r1 meson-multilib python-any-r1 linux-info rust-toolchain +inherit flag-o-matic llvm-r1 meson-multilib python-any-r1 linux-info rust-toolchain toolchain-funcs MY_P="${P/_/-}" @@ -290,6 +290,9 @@ src_prepare() { multilib_src_configure() { local emesonargs=() + # https://gitlab.freedesktop.org/mesa/mesa/-/issues/11140 + tc-is-gcc && [[ $(gcc-major-version) -ge 14 ]] && filter-lto + local platforms use X && platforms+="x11" use wayland && platforms+=",wayland" diff --git a/media-libs/mesa/mesa-9999.ebuild b/media-libs/mesa/mesa-9999.ebuild index f9c4e1acfcbb..a2c38124b0e8 100644 --- a/media-libs/mesa/mesa-9999.ebuild +++ b/media-libs/mesa/mesa-9999.ebuild @@ -7,7 +7,7 @@ LLVM_COMPAT=( {15..17} ) LLVM_OPTIONAL=1 PYTHON_COMPAT=( python3_{10..12} ) -inherit llvm-r1 meson-multilib python-any-r1 linux-info rust-toolchain +inherit flag-o-matic llvm-r1 meson-multilib python-any-r1 linux-info rust-toolchain toolchain-funcs MY_P="${P/_/-}" @@ -290,6 +290,9 @@ src_prepare() { multilib_src_configure() { local emesonargs=() + # https://gitlab.freedesktop.org/mesa/mesa/-/issues/11140 + tc-is-gcc && [[ $(gcc-major-version) -ge 14 ]] && filter-lto + local platforms use X && platforms+="x11" use wayland && platforms+=",wayland"