commit:     6433b79990511d459ce3300d4995df9a39add326
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Jun 15 02:20:48 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Jun 15 02:20:48 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6433b799

net-libs/nodejs: drop obsolete gcc workaround

Long fixed in GCC.

Bug: https://bugs.gentoo.org/936013
Signed-off-by: Sam James <sam <AT> gentoo.org>

 net-libs/nodejs/nodejs-22.13.1.ebuild  | 4 ----
 net-libs/nodejs/nodejs-22.16.0.ebuild  | 4 ----
 net-libs/nodejs/nodejs-24.1.0.ebuild   | 4 ----
 net-libs/nodejs/nodejs-24.2.0.ebuild   | 4 ----
 net-libs/nodejs/nodejs-99999999.ebuild | 4 ----
 5 files changed, 20 deletions(-)

diff --git a/net-libs/nodejs/nodejs-22.13.1.ebuild 
b/net-libs/nodejs/nodejs-22.13.1.ebuild
index caf260d92e7b..d251ab9d2082 100644
--- a/net-libs/nodejs/nodejs-22.13.1.ebuild
+++ b/net-libs/nodejs/nodejs-22.13.1.ebuild
@@ -125,10 +125,6 @@ src_configure() {
        filter-lto
        # The warnings are *so* noisy and make build.logs massive
        append-cxxflags $(test-flags-CXX -Wno-template-id-cdtor)
-       # GCC with -ftree-vectorize miscompiles node's exception handling code
-       # 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)
 

diff --git a/net-libs/nodejs/nodejs-22.16.0.ebuild 
b/net-libs/nodejs/nodejs-22.16.0.ebuild
index 0d75708c5901..57f74885f2d5 100644
--- a/net-libs/nodejs/nodejs-22.16.0.ebuild
+++ b/net-libs/nodejs/nodejs-22.16.0.ebuild
@@ -125,10 +125,6 @@ src_configure() {
        filter-lto
        # The warnings are *so* noisy and make build.logs massive
        append-cxxflags $(test-flags-CXX -Wno-template-id-cdtor)
-       # GCC with -ftree-vectorize miscompiles node's exception handling code
-       # 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)
 

diff --git a/net-libs/nodejs/nodejs-24.1.0.ebuild 
b/net-libs/nodejs/nodejs-24.1.0.ebuild
index 56c0bc2d838d..49f510f55e1f 100644
--- a/net-libs/nodejs/nodejs-24.1.0.ebuild
+++ b/net-libs/nodejs/nodejs-24.1.0.ebuild
@@ -122,10 +122,6 @@ src_configure() {
        filter-lto
        # The warnings are *so* noisy and make build.logs massive
        append-cxxflags $(test-flags-CXX -Wno-template-id-cdtor)
-       # GCC with -ftree-vectorize miscompiles node's exception handling code
-       # 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)
 

diff --git a/net-libs/nodejs/nodejs-24.2.0.ebuild 
b/net-libs/nodejs/nodejs-24.2.0.ebuild
index 56c0bc2d838d..49f510f55e1f 100644
--- a/net-libs/nodejs/nodejs-24.2.0.ebuild
+++ b/net-libs/nodejs/nodejs-24.2.0.ebuild
@@ -122,10 +122,6 @@ src_configure() {
        filter-lto
        # The warnings are *so* noisy and make build.logs massive
        append-cxxflags $(test-flags-CXX -Wno-template-id-cdtor)
-       # GCC with -ftree-vectorize miscompiles node's exception handling code
-       # 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)
 

diff --git a/net-libs/nodejs/nodejs-99999999.ebuild 
b/net-libs/nodejs/nodejs-99999999.ebuild
index 0d75708c5901..57f74885f2d5 100644
--- a/net-libs/nodejs/nodejs-99999999.ebuild
+++ b/net-libs/nodejs/nodejs-99999999.ebuild
@@ -125,10 +125,6 @@ src_configure() {
        filter-lto
        # The warnings are *so* noisy and make build.logs massive
        append-cxxflags $(test-flags-CXX -Wno-template-id-cdtor)
-       # GCC with -ftree-vectorize miscompiles node's exception handling code
-       # 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)
 

Reply via email to