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 52062158089 for ; Fri, 27 Oct 2023 09:12:50 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8C8832BC017; Fri, 27 Oct 2023 09:12:49 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 7383B2BC017 for ; Fri, 27 Oct 2023 09:12:49 +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 A9C0B335C0F for ; Fri, 27 Oct 2023 09:12:48 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 2AC991220 for ; Fri, 27 Oct 2023 09:12:47 +0000 (UTC) From: "Joonas Niilola" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Joonas Niilola" Message-ID: <1698397963.cb1bf7319d22a2a4fb9c7c300f092154922f98b9.juippis@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: www-client/firefox/ X-VCS-Repository: repo/gentoo X-VCS-Files: www-client/firefox/firefox-119.0.ebuild X-VCS-Directories: www-client/firefox/ X-VCS-Committer: juippis X-VCS-Committer-Name: Joonas Niilola X-VCS-Revision: cb1bf7319d22a2a4fb9c7c300f092154922f98b9 X-VCS-Branch: master Date: Fri, 27 Oct 2023 09:12:47 +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: 57ceab05-dd97-4885-8c2a-b4499afe71d0 X-Archives-Hash: 116f1876e567c8bec98b3e8d70c9b493 commit: cb1bf7319d22a2a4fb9c7c300f092154922f98b9 Author: Joonas Niilola gentoo org> AuthorDate: Fri Oct 27 09:10:33 2023 +0000 Commit: Joonas Niilola gentoo org> CommitDate: Fri Oct 27 09:12:43 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cb1bf731 www-client/firefox: disable elf-hack again with mold linker (119.0) - the new relr-elfhack doesn't work with mold. Closes: https://bugs.gentoo.org/916259 Signed-off-by: Joonas Niilola gentoo.org> www-client/firefox/firefox-119.0.ebuild | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/www-client/firefox/firefox-119.0.ebuild b/www-client/firefox/firefox-119.0.ebuild index 13d0e1b403ba..fb9a32336ba3 100644 --- a/www-client/firefox/firefox-119.0.ebuild +++ b/www-client/firefox/firefox-119.0.ebuild @@ -1062,10 +1062,15 @@ src_configure() { # elf-hack if use amd64 || use x86 ; then - if use clang ; then - mozconfig_add_options_ac 'relr elf-hack with clang' --enable-elf-hack=relr + if tc-ld-is-mold ; then + # relr-elf-hack is currently broken with mold, bgo#916259 + mozconfig_add_options_ac 'disable elf-hack with mold linker' --disable-elf-hack else - mozconfig_add_options_ac 'legacy elf-hack with gcc' --enable-elf-hack=legacy + if use clang ; then + mozconfig_add_options_ac 'relr elf-hack with clang' --enable-elf-hack=relr + else + mozconfig_add_options_ac 'legacy elf-hack with gcc' --enable-elf-hack=legacy + fi fi else mozconfig_add_options_ac 'disable elf-hack on non-supported arches' --disable-elf-hack