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) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 4EDC615ACFB for ; Thu, 20 Apr 2023 17:43:39 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8FA30E0882; Thu, 20 Apr 2023 17:43:38 +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 6FAA4E0882 for ; Thu, 20 Apr 2023 17:43:38 +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 3AFBB340DAE for ; Thu, 20 Apr 2023 17:43:37 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 77B3B8AC for ; Thu, 20 Apr 2023 17:43:35 +0000 (UTC) From: "Mike Gilbert" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Mike Gilbert" Message-ID: <1682012566.e6cee38fceb4d49e92468fddb0020e838041d2bb.floppym@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: www-client/chromium/, www-client/chromium/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: www-client/chromium/chromium-112.0.5615.121.ebuild www-client/chromium/files/chromium-112-gcc-mno-outline.patch X-VCS-Directories: www-client/chromium/files/ www-client/chromium/ X-VCS-Committer: floppym X-VCS-Committer-Name: Mike Gilbert X-VCS-Revision: e6cee38fceb4d49e92468fddb0020e838041d2bb X-VCS-Branch: master Date: Thu, 20 Apr 2023 17:43:35 +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: 655efad6-0b7a-47b0-ba87-7f308efda327 X-Archives-Hash: c5b6fb3570a5599f681b08802dab2dca commit: e6cee38fceb4d49e92468fddb0020e838041d2bb Author: Mike Gilbert gentoo org> AuthorDate: Thu Apr 20 17:42:46 2023 +0000 Commit: Mike Gilbert gentoo org> CommitDate: Thu Apr 20 17:42:46 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e6cee38f www-client/chromium: fix build with GCC on ARM64 Closes: https://bugs.gentoo.org/904697 Signed-off-by: Mike Gilbert gentoo.org> www-client/chromium/chromium-112.0.5615.121.ebuild | 1 + .../files/chromium-112-gcc-mno-outline.patch | 29 ++++++++++++++++++++++ 2 files changed, 30 insertions(+) diff --git a/www-client/chromium/chromium-112.0.5615.121.ebuild b/www-client/chromium/chromium-112.0.5615.121.ebuild index b391a12be8fd..e48dbe582783 100644 --- a/www-client/chromium/chromium-112.0.5615.121.ebuild +++ b/www-client/chromium/chromium-112.0.5615.121.ebuild @@ -341,6 +341,7 @@ src_prepare() { "${FILESDIR}/chromium-112-libstdc++.patch" "${FILESDIR}/chromium-112-libstdc++-1.patch" "${FILESDIR}/chromium-112-sql-relax.patch" + "${FILESDIR}/chromium-112-gcc-mno-outline.patch" ) if use ppc64 ; then diff --git a/www-client/chromium/files/chromium-112-gcc-mno-outline.patch b/www-client/chromium/files/chromium-112-gcc-mno-outline.patch new file mode 100644 index 000000000000..9ebaf1720a90 --- /dev/null +++ b/www-client/chromium/files/chromium-112-gcc-mno-outline.patch @@ -0,0 +1,29 @@ +From 428afabde5f20bc91ad1166b983b9975188be737 Mon Sep 17 00:00:00 2001 +From: Jose Dapena Paz +Date: Tue, 07 Mar 2023 17:46:30 +0000 +Subject: [PATCH] GCC: do not disable outlining with -mno-outline + +GCC build fails in arm64 because -mno-outline is passed. This build +option is only supported in Clang. + +Bug: 819294 +Change-Id: Ied5cf194c26fd284aa66477cf0cd381b8cd26607 +Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4316542 +Reviewed-by: Hans Wennborg +Commit-Queue: José Dapena Paz +Cr-Commit-Position: refs/heads/main@{#1114023} +--- + +diff --git a/build/config/compiler/BUILD.gn b/build/config/compiler/BUILD.gn +index 4e6708b..6ca2924 100644 +--- a/build/config/compiler/BUILD.gn ++++ b/build/config/compiler/BUILD.gn +@@ -1304,7 +1304,7 @@ + configs += [ "//build/config/nacl:compiler_codegen" ] + } + +- if (current_cpu == "arm64" && !is_win) { ++ if (current_cpu == "arm64" && !is_win && is_clang) { + # Disable outlining everywhere on arm64 except Win. For more information see + # crbug.com/931297 for Android and crbug.com/1410297 for iOS. + # TODO(crbug.com/1411363): Enable this on Windows if possible.