Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 644568 Details for
Bug 728110
net-libs/nodejs-14.2.0 on PPC64 USE=-snapshot - node: segmentation fault at initialisation(?)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch to fix crash on ELFv1
elfv1.patch (text/plain), 2.07 KB, created by
Marcus Comstedt
on 2020-06-13 18:45:46 UTC
(
hide
)
Description:
Patch to fix crash on ELFv1
Filename:
MIME Type:
Creator:
Marcus Comstedt
Created:
2020-06-13 18:45:46 UTC
Size:
2.07 KB
patch
obsolete
>diff --git a/deps/v8/src/compiler/backend/instruction-selector.cc b/deps/v8/src/compiler/backend/instruction-selector.cc >index 7d72dbbf2d..0e0d193501 100644 >--- a/deps/v8/src/compiler/backend/instruction-selector.cc >+++ b/deps/v8/src/compiler/backend/instruction-selector.cc >@@ -2779,7 +2779,7 @@ void InstructionSelector::VisitCall(Node* node, BasicBlock* handler) { > 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()) { >diff --git a/deps/v8/src/compiler/backend/ppc/code-generator-ppc.cc b/deps/v8/src/compiler/backend/ppc/code-generator-ppc.cc >index addbd76ffb..4dd1e0264c 100644 >--- a/deps/v8/src/compiler/backend/ppc/code-generator-ppc.cc >+++ b/deps/v8/src/compiler/backend/ppc/code-generator-ppc.cc >@@ -1033,6 +1033,6 @@ > linkage()->GetIncomingDescriptor()->IsWasmCapiFunction(); > int offset = 9 * 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; >diff --git a/deps/v8/src/execution/simulator.h b/deps/v8/src/execution/simulator.h >index a4e07b235b..37a7c7420c 100644 >--- a/deps/v8/src/execution/simulator.h >+++ b/deps/v8/src/execution/simulator.h >@@ -128,7 +128,7 @@ class GeneratedCode { > #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
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 728110
:
644546
| 644568