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 01FC0158083 for ; Fri, 20 Sep 2024 22:26:43 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2EC18E29A7; Fri, 20 Sep 2024 22:26:42 +0000 (UTC) Received: from smtp.gentoo.org (dev.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 14B36E29A7 for ; Fri, 20 Sep 2024 22:26:42 +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 4287D3430D3 for ; Fri, 20 Sep 2024 22:26:41 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A17F11E6E for ; Fri, 20 Sep 2024 22:26:39 +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: <1726871161.d38ad8ea49347979a4a87202e1d51702297216aa.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-libs/nodejs/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-libs/nodejs/nodejs-22.4.1-r1.ebuild net-libs/nodejs/nodejs-22.7.0.ebuild net-libs/nodejs/nodejs-22.8.0.ebuild net-libs/nodejs/nodejs-99999999.ebuild X-VCS-Directories: net-libs/nodejs/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: d38ad8ea49347979a4a87202e1d51702297216aa X-VCS-Branch: master Date: Fri, 20 Sep 2024 22:26:39 +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: 731a189f-d81d-4320-bea0-d6308744d34d X-Archives-Hash: eee273cf6e942b6698c6ab423645c8a0 commit: d38ad8ea49347979a4a87202e1d51702297216aa Author: Sam James gentoo org> AuthorDate: Fri Sep 20 22:25:11 2024 +0000 Commit: Sam James gentoo org> CommitDate: Fri Sep 20 22:26:01 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d38ad8ea net-libs/nodejs: pass -mbranch-protection=none on arm64 BTI seems to cause build failures in VMs on Apple arm64 HW with -march=native. Just disable it for now given nodejs is already a beast. Thanks to chaos_princess for the suggestion. Closes: https://bugs.gentoo.org/931514 Signed-off-by: Sam James gentoo.org> net-libs/nodejs/nodejs-22.4.1-r1.ebuild | 2 ++ net-libs/nodejs/nodejs-22.7.0.ebuild | 2 ++ net-libs/nodejs/nodejs-22.8.0.ebuild | 2 ++ net-libs/nodejs/nodejs-99999999.ebuild | 2 ++ 4 files changed, 8 insertions(+) diff --git a/net-libs/nodejs/nodejs-22.4.1-r1.ebuild b/net-libs/nodejs/nodejs-22.4.1-r1.ebuild index c18f06e68056..9dce8c018258 100644 --- a/net-libs/nodejs/nodejs-22.4.1-r1.ebuild +++ b/net-libs/nodejs/nodejs-22.4.1-r1.ebuild @@ -120,6 +120,8 @@ src_configure() { # causing it to fail to catch exceptions sometimes # https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116057 tc-is-gcc && append-cxxflags -fno-tree-vectorize + # https://bugs.gentoo.org/931514 + use arm64 && append-flags $(test-flags-CXX -mbranch-protection=none) # nodejs unconditionally links to libatomic #869992 # specifically it requires __atomic_is_lock_free which # is not yet implemented by sys-libs/compiler-rt (see diff --git a/net-libs/nodejs/nodejs-22.7.0.ebuild b/net-libs/nodejs/nodejs-22.7.0.ebuild index bc4c9333bb81..da3ea85862a7 100644 --- a/net-libs/nodejs/nodejs-22.7.0.ebuild +++ b/net-libs/nodejs/nodejs-22.7.0.ebuild @@ -123,6 +123,8 @@ src_configure() { # causing it to fail to catch exceptions sometimes # https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116057 tc-is-gcc && append-cxxflags -fno-tree-vectorize + # https://bugs.gentoo.org/931514 + use arm64 && append-flags $(test-flags-CXX -mbranch-protection=none) # nodejs unconditionally links to libatomic #869992 # specifically it requires __atomic_is_lock_free which # is not yet implemented by sys-libs/compiler-rt (see diff --git a/net-libs/nodejs/nodejs-22.8.0.ebuild b/net-libs/nodejs/nodejs-22.8.0.ebuild index 2c68aa6262a1..c934774934fe 100644 --- a/net-libs/nodejs/nodejs-22.8.0.ebuild +++ b/net-libs/nodejs/nodejs-22.8.0.ebuild @@ -123,6 +123,8 @@ src_configure() { # causing it to fail to catch exceptions sometimes # https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116057 tc-is-gcc && append-cxxflags -fno-tree-vectorize + # https://bugs.gentoo.org/931514 + use arm64 && append-flags $(test-flags-CXX -mbranch-protection=none) # nodejs unconditionally links to libatomic #869992 # specifically it requires __atomic_is_lock_free which # is not yet implemented by sys-libs/compiler-rt (see diff --git a/net-libs/nodejs/nodejs-99999999.ebuild b/net-libs/nodejs/nodejs-99999999.ebuild index 2c68aa6262a1..c934774934fe 100644 --- a/net-libs/nodejs/nodejs-99999999.ebuild +++ b/net-libs/nodejs/nodejs-99999999.ebuild @@ -123,6 +123,8 @@ src_configure() { # causing it to fail to catch exceptions sometimes # https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116057 tc-is-gcc && append-cxxflags -fno-tree-vectorize + # https://bugs.gentoo.org/931514 + use arm64 && append-flags $(test-flags-CXX -mbranch-protection=none) # nodejs unconditionally links to libatomic #869992 # specifically it requires __atomic_is_lock_free which # is not yet implemented by sys-libs/compiler-rt (see