nodejs: upgrade 22.22.2 -> 22.22.3
PATCH 1/1 nodejs: upgrade 22.22.2 -> 22.22.3
With this upgrade, nodejs updated the llhttp dependency to version 9.3.1 So some of the patches are nolonger necessary.
Changelog: https://github.com/nodejs/node/releases/tag/v22.22.3
Signed-off-by Jason Schonberg <[email protected]>
---
.../0001-detect-aarch64-Neon-correctly.patch | 51 ----------------
.../0001-fix-arm-Neon-intrinsics-types.patch | 59 ------------------
...header-value-__builtin_ctzll-undefin.patch | 60 -------------------
.../{nodejs_22.22.2.bb => nodejs_22.22.3.bb} | 5 +-
4 files changed, 1 insertion(+), 174 deletions(-)
delete mode 100644 meta-oe/recipes-devtools/nodejs/nodejs/0001-detect-aarch64-Neon-correctly.patch
delete mode 100644 meta-oe/recipes-devtools/nodejs/nodejs/0001-fix-arm-Neon-intrinsics-types.patch
delete mode 100644 meta-oe/recipes-devtools/nodejs/nodejs/0001-llhttp-fix-NEON-header-value-__builtin_ctzll-undefin.patch
rename meta-oe/recipes-devtools/nodejs/{nodejs_22.22.2.bb => nodejs_22.22.3.bb} (96%)meta-oe/recipes-devtools/nodejs/nodejs/0001-detect-aarch64-Neon-correctly.patch deleted +0 -51
@@ -1,51 +0,0 @@ -From 41ec2d5302b77be27ca972102c29ce12471ed4b0 Mon Sep 17 00:00:00 2001 -From: Gyorgy Sarvari <[email protected]> -Date: Thu, 12 Feb 2026 11:09:44 +0100 -Subject: [PATCH 2/2] detect aarch64 Neon correctly - -The llhttp vendored dependency of nodejs takes advantage of Arm NEON -instructions when they are available, however they are detected by -checking for an outdated CPU feature macro: it checks for __ARM_NEON__, -however it is not defined by new compilers for aarch64, rather they -set __ARM_NEON. The Arm C extension guide[1] refers to __ARM_NEON macro -aswell. - -This patch changes the detection to check for both macros when detecting -the availability of NEON instructions. - -The code this patch modifies is generated, so the patch itself isn't -suitable for upstream submission, as the root cause of the error is -in the generator itself. A PR has been submitted[2] to the generator -project to rectify this issue. - -[1]: https://developer.arm.com/documentation/ihi0053/d/ - pdf, section 6.9 -[2]: https://github.com/nodejs/llparse/pull/84 - -Upstream-Status: Inappropriate [see above] -Signed-off-by: Gyorgy Sarvari <[email protected]> ---- - deps/llhttp/src/llhttp.c | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -diff --git a/deps/llhttp/src/llhttp.c b/deps/llhttp/src/llhttp.c -index a0e59e50..b069bbbb 100644 ---- a/deps/llhttp/src/llhttp.c -+++ b/deps/llhttp/src/llhttp.c -@@ -10,7 +10,7 @@ - #endif /* _MSC_VER */ - #endif /* __SSE4_2__ */ - --#ifdef __ARM_NEON__ -+#if defined(__ARM_NEON__) || defined(__ARM_NEON) - #include <arm_neon.h> - #endif /* __ARM_NEON__ */ - -@@ -2625,7 +2625,7 @@ static llparse_state_t llhttp__internal__run( - goto s_n_llhttp__internal__n_header_value_otherwise; - } - #endif /* __SSE4_2__ */ -- #ifdef __ARM_NEON__ -+ #if defined(__ARM_NEON__) || defined(__ARM_NEON) - while (endp - p >= 16) { - uint8x16_t input; - uint8x16_t single;
meta-oe/recipes-devtools/nodejs/nodejs/0001-fix-arm-Neon-intrinsics-types.patch deleted +0 -59
59 lines not on this page · raw message
meta-oe/recipes-devtools/nodejs/nodejs/0001-llhttp-fix-NEON-header-value-__builtin_ctzll-undefin.patch deleted +0 -60
60 lines not on this page · raw message
meta-oe/recipes-devtools/nodejs/nodejs_22.22.3.bb renamed from meta-oe/recipes-devtools/nodejs/nodejs_22.22.2.bb +1 -4
@@ -31,9 +31,6 @@ SRC_URI = "https://nodejs.org/dist/v${PV}/node-v${PV}.tar.xz \ file://0001-positional-args.patch \ file://0001-custom-env.patch \ file://0001-build-remove-redundant-mXX-flags-for-V8.patch \ - file://0001-fix-arm-Neon-intrinsics-types.patch \ - file://0001-detect-aarch64-Neon-correctly.patch \ - file://0001-llhttp-fix-NEON-header-value-__builtin_ctzll-undefin.patch \ file://run-ptest \ " SRC_URI:append:class-target = " \
@@ -42,7 +39,7 @@ SRC_URI:append:class-target = " \ SRC_URI:append:toolchain-clang:powerpc64le = " \ file://0001-ppc64-Do-not-use-mminimal-toc-with-clang.patch \ " -SRC_URI[sha256sum] = "b6bedd3a8cacd5df7df015a5088264b12c74a277ba60684cb9642ae8eb743132" +SRC_URI[sha256sum] = "f3e6a578db1ab335a4a72785c1e87ad18a2cf6d2fc25747a1d741fb34af0bd0f" S = "${UNPACKDIR}/node-v${PV}"
Signature · 1 line
2.43.0