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 42ECF15801B for ; Tue, 22 Aug 2023 17:36:34 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 88A452BC017; Tue, 22 Aug 2023 17:36:33 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.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)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 73FBC2BC017 for ; Tue, 22 Aug 2023 17:36:33 +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 B49F4335DB5 for ; Tue, 22 Aug 2023 17:36:32 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 21E511067 for ; Tue, 22 Aug 2023 17:36:31 +0000 (UTC) From: "Michael Orlitzky" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michael Orlitzky" Message-ID: <1692725754.0f5d2d85b5bdfec98186f218c5f355e057d5e017.mjo@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-lang/php/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-lang/php/php-8.0.30.ebuild dev-lang/php/php-8.1.21.ebuild X-VCS-Directories: dev-lang/php/ X-VCS-Committer: mjo X-VCS-Committer-Name: Michael Orlitzky X-VCS-Revision: 0f5d2d85b5bdfec98186f218c5f355e057d5e017 X-VCS-Branch: master Date: Tue, 22 Aug 2023 17:36:31 +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: 39d20322-734d-4cdc-8df6-f85a093251e4 X-Archives-Hash: c5087f9ed9d8b43cef8a44d03c2634eb commit: 0f5d2d85b5bdfec98186f218c5f355e057d5e017 Author: Michael Orlitzky gentoo org> AuthorDate: Tue Aug 22 16:52:27 2023 +0000 Commit: Michael Orlitzky gentoo org> CommitDate: Tue Aug 22 17:35:54 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0f5d2d85 dev-lang/php: fix LTO build (8.0 and 8.1 series) Closes: https://bugs.gentoo.org/866683 Signed-off-by: Michael Orlitzky gentoo.org> dev-lang/php/php-8.0.30.ebuild | 5 +++++ dev-lang/php/php-8.1.21.ebuild | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/dev-lang/php/php-8.0.30.ebuild b/dev-lang/php/php-8.0.30.ebuild index b6ce4bcbf1b4..8cdaf1ceb1d1 100644 --- a/dev-lang/php/php-8.0.30.ebuild +++ b/dev-lang/php/php-8.0.30.ebuild @@ -255,6 +255,11 @@ src_configure() { $(use_enable threads zts) ) + if is-flagq -flto; then + # https://bugs.gentoo.org/866683 + our_conf+=( --disable-gcc-global-regs ) + fi + our_conf+=( $(use_with apparmor fpm-apparmor) $(use_with argon2 password-argon2 "${EPREFIX}/usr") diff --git a/dev-lang/php/php-8.1.21.ebuild b/dev-lang/php/php-8.1.21.ebuild index 6fb08e8646fb..db53ccbaa5bb 100644 --- a/dev-lang/php/php-8.1.21.ebuild +++ b/dev-lang/php/php-8.1.21.ebuild @@ -259,6 +259,11 @@ src_configure() { $(use_enable threads zts) ) + if is-flagq -flto; then + # https://bugs.gentoo.org/866683 + our_conf+=( --disable-gcc-global-regs ) + fi + our_conf+=( $(use_with apparmor fpm-apparmor) $(use_with argon2 password-argon2 "${EPREFIX}/usr")