mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-03 14:19:52 +00:00
nodejs: Upgrade to 16.14.2
Fix build with mips32, found with gcc12 Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
+34
@@ -0,0 +1,34 @@
|
|||||||
|
From e65dde8db17da5acddeef7eb9316199c4e5e0811 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Khem Raj <raj.khem@gmail.com>
|
||||||
|
Date: Tue, 19 Apr 2022 12:40:25 -0700
|
||||||
|
Subject: [PATCH] mips: Use 32bit cast for operand on mips32
|
||||||
|
|
||||||
|
Fixes
|
||||||
|
deps/v8/src/compiler/backend/mips/code-generator-mips.cc: In member function 'void v8::internal::compiler::CodeGenerator::AssembleReturn(v8::internal::compiler::InstructionOperand*)':
|
||||||
|
../deps/v8/src/compiler/backend/mips/code-generator-mips.cc:4233:48: error: call of overloaded 'Operand(int64_t)' is ambiguous
|
||||||
|
4233 | Operand(static_cast<int64_t>(0)));
|
||||||
|
| ^
|
||||||
|
|
||||||
|
Upstream-Status: Pending
|
||||||
|
|
||||||
|
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
||||||
|
---
|
||||||
|
deps/v8/src/compiler/backend/mips/code-generator-mips.cc | 2 +-
|
||||||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/deps/v8/src/compiler/backend/mips/code-generator-mips.cc b/deps/v8/src/compiler/backend/mips/code-generator-mips.cc
|
||||||
|
index 2b8197e..b226140 100644
|
||||||
|
--- a/deps/v8/src/compiler/backend/mips/code-generator-mips.cc
|
||||||
|
+++ b/deps/v8/src/compiler/backend/mips/code-generator-mips.cc
|
||||||
|
@@ -4230,7 +4230,7 @@ void CodeGenerator::AssembleReturn(InstructionOperand* additional_pop_count) {
|
||||||
|
} else if (FLAG_debug_code) {
|
||||||
|
__ Assert(eq, AbortReason::kUnexpectedAdditionalPopValue,
|
||||||
|
g.ToRegister(additional_pop_count),
|
||||||
|
- Operand(static_cast<int64_t>(0)));
|
||||||
|
+ Operand(static_cast<int32_t>(0)));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
// Functions with JS linkage have at least one parameter (the receiver).
|
||||||
|
--
|
||||||
|
2.36.0
|
||||||
|
|
||||||
+2
-1
@@ -26,6 +26,7 @@ SRC_URI = "http://nodejs.org/dist/v${PV}/node-v${PV}.tar.xz \
|
|||||||
file://mips-less-memory.patch \
|
file://mips-less-memory.patch \
|
||||||
file://system-c-ares.patch \
|
file://system-c-ares.patch \
|
||||||
file://0001-liftoff-Correct-function-signatures.patch \
|
file://0001-liftoff-Correct-function-signatures.patch \
|
||||||
|
file://0001-mips-Use-32bit-cast-for-operand-on-mips32.patch \
|
||||||
"
|
"
|
||||||
SRC_URI:append:class-target = " \
|
SRC_URI:append:class-target = " \
|
||||||
file://0002-Using-native-binaries.patch \
|
file://0002-Using-native-binaries.patch \
|
||||||
@@ -36,7 +37,7 @@ SRC_URI:append:toolchain-clang:x86 = " \
|
|||||||
SRC_URI:append:toolchain-clang:powerpc64le = " \
|
SRC_URI:append:toolchain-clang:powerpc64le = " \
|
||||||
file://0001-ppc64-Do-not-use-mminimal-toc-with-clang.patch \
|
file://0001-ppc64-Do-not-use-mminimal-toc-with-clang.patch \
|
||||||
"
|
"
|
||||||
SRC_URI[sha256sum] = "05eb64193e391fa8a2c159c0f60c171824715165f80c67fcab9dbc944e30c623"
|
SRC_URI[sha256sum] = "e922e215cc68eb5f94d33e8a0b61e2c863b7731cc8600ab955d3822da90ff8d1"
|
||||||
|
|
||||||
S = "${WORKDIR}/node-v${PV}"
|
S = "${WORKDIR}/node-v${PV}"
|
||||||
|
|
||||||
Reference in New Issue
Block a user