diff options
author | Marek Szuba <marecki@gentoo.org> | 2020-11-09 14:52:36 +0100 |
---|---|---|
committer | Marek Szuba <marecki@gentoo.org> | 2020-11-09 16:05:39 +0100 |
commit | 1398b77a96625ee50dd430fb4d265b7f793322be (patch) | |
tree | 1094f3151d32fef352660c230c5604be74e6fc70 /net-libs/nodejs/files | |
parent | sys-cluster/ceph: sci-libs/scikits_learn to dev-python/scikit-learn (diff) | |
download | gentoo-1398b77a96625ee50dd430fb4d265b7f793322be.tar.gz gentoo-1398b77a96625ee50dd430fb4d265b7f793322be.tar.bz2 gentoo-1398b77a96625ee50dd430fb4d265b7f793322be.zip |
net-libs/nodejs: bump to 14.15.0
Includes subslotting, support for building against bundled ICU, a fix
for PPC64 crashes and python3_9 support.
Closes: https://bugs.gentoo.org/724978
Closes: https://bugs.gentoo.org/728110
Closes: https://bugs.gentoo.org/747100
Closes: https://bugs.gentoo.org/749852
Closes: https://github.com/gentoo/gentoo/pull/17809
Signed-off-by: Marek Szuba <marecki@gentoo.org>
Diffstat (limited to 'net-libs/nodejs/files')
-rw-r--r-- | net-libs/nodejs/files/nodejs-14.15.0-fix_ppc64_crashes.patch | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/net-libs/nodejs/files/nodejs-14.15.0-fix_ppc64_crashes.patch b/net-libs/nodejs/files/nodejs-14.15.0-fix_ppc64_crashes.patch new file mode 100644 index 000000000000..c9c01843cd63 --- /dev/null +++ b/net-libs/nodejs/files/nodejs-14.15.0-fix_ppc64_crashes.patch @@ -0,0 +1,33 @@ +--- a/deps/v8/src/compiler/backend/instruction-selector.cc ++++ b/deps/v8/src/compiler/backend/instruction-selector.cc +@@ -2808,7 +2808,7 @@ + switch (call_descriptor->kind()) { + case CallDescriptor::kCallAddress: { + int misc_field = static_cast<int>(call_descriptor->ParameterCount()); +-#if defined(_AIX) ++#if ABI_USES_FUNCTION_DESCRIPTORS + // Highest misc_field bit is used on AIX to indicate if a CFunction call + // has function descriptor or not. + if (!call_descriptor->NoFunctionDescriptor()) { +--- a/deps/v8/src/compiler/backend/ppc/code-generator-ppc.cc ++++ b/deps/v8/src/compiler/backend/ppc/code-generator-ppc.cc +@@ -1039,7 +1039,7 @@ + linkage()->GetIncomingDescriptor()->IsWasmCapiFunction(); + int offset = (FLAG_enable_embedded_constant_pool ? 20 : 23) * kInstrSize; + +-#if defined(_AIX) ++#if ABI_USES_FUNCTION_DESCRIPTORS + // AIX/PPC64BE Linux uses a function descriptor + int kNumParametersMask = kHasFunctionDescriptorBitMask - 1; + num_parameters = kNumParametersMask & misc_field; +--- a/deps/v8/src/execution/simulator.h ++++ b/deps/v8/src/execution/simulator.h +@@ -128,7 +128,7 @@ + #if defined(V8_TARGET_OS_WIN) && !defined(V8_OS_WIN) + FATAL("Generated code execution not possible during cross-compilation."); + #endif // defined(V8_TARGET_OS_WIN) && !defined(V8_OS_WIN) +-#if V8_OS_AIX ++#if ABI_USES_FUNCTION_DESCRIPTORS + // AIX ABI requires function descriptors (FD). Artificially create a pseudo + // FD to ensure correct dispatch to generated code. The 'volatile' + // declaration is required to avoid the compiler from not observing the |