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 8B8171581FB for ; Tue, 27 Aug 2024 19:21:49 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id DA1EFE2A58; Tue, 27 Aug 2024 19:21:48 +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 BEE68E2A58 for ; Tue, 27 Aug 2024 19:21:48 +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 CFE0F34301E for ; Tue, 27 Aug 2024 19:21:47 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id EB18A1F08 for ; Tue, 27 Aug 2024 19:21:45 +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: <1724786475.4456f4048fd742900e7d267cfa1128dae6ff5510.eschwartz@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-java/openjdk/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-java/openjdk/openjdk-21.0.4_p7.ebuild X-VCS-Directories: dev-java/openjdk/ X-VCS-Committer: eschwartz X-VCS-Committer-Name: Eli Schwartz X-VCS-Revision: 4456f4048fd742900e7d267cfa1128dae6ff5510 X-VCS-Branch: master Date: Tue, 27 Aug 2024 19:21:45 +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: 145ceeeb-a1ac-4d34-8ea7-6a911ff7b875 X-Archives-Hash: 2507b43030ca0de09503b390d535dd05 commit: 4456f4048fd742900e7d267cfa1128dae6ff5510 Author: Eli Schwartz gentoo org> AuthorDate: Tue Aug 27 19:16:58 2024 +0000 Commit: Eli Schwartz gentoo org> CommitDate: Tue Aug 27 19:21:15 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4456f404 dev-java/openjdk: mark as LTO-unsafe Temporarily disable the USE=lto support for the 21.x ebuild only, as that's the version it broke in. OpenJDK cannot get their act together, so their ticketing system is that you cannot report a bug unless you're a project member, and your alternative is to fill in a form on the Oracle website and they will analyze your submission and file a bug on your behalf at some point. Hopefully. This is not a ringing endorsement of OpenJDK as an *open* implementation of Java, but it is what it is... I can't currently provide a public ticket number but perhaps sometime in the future. Closes: https://bugs.gentoo.org/916735 Signed-off-by: Eli Schwartz gentoo.org> dev-java/openjdk/openjdk-21.0.4_p7.ebuild | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/dev-java/openjdk/openjdk-21.0.4_p7.ebuild b/dev-java/openjdk/openjdk-21.0.4_p7.ebuild index 943ac23576da..2fe2a993eaea 100644 --- a/dev-java/openjdk/openjdk-21.0.4_p7.ebuild +++ b/dev-java/openjdk/openjdk-21.0.4_p7.ebuild @@ -48,7 +48,8 @@ LICENSE="GPL-2-with-classpath-exception" SLOT="${MY_PV%%[.+]*}" KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" -IUSE="alsa big-endian cups debug doc examples headless-awt javafx +jbootstrap lto selinux source +system-bootstrap systemtap" +# lto temporarily disabled due to https://bugs.gentoo.org/916735 +IUSE="alsa big-endian cups debug doc examples headless-awt javafx +jbootstrap selinux source +system-bootstrap systemtap" REQUIRED_USE=" javafx? ( alsa !headless-awt ) @@ -225,7 +226,11 @@ src_configure() { use riscv && myconf+=( --with-boot-jdk-jvmargs="-Djdk.lang.Process.launchMechanism=vfork" ) - use lto && myconf+=( --with-jvm-features=link-time-opt ) + # Werror=odr + # https://bugs.gentoo.org/916735 + # + # Disable it for now. + #use lto && myconf+=( --with-jvm-features=link-time-opt ) if use javafx; then local zip="${EPREFIX}/usr/$(get_libdir)/openjfx-${SLOT}/javafx-exports.zip"