Skip to content

Commit 67729c7

Browse files
trop[bot]deepak1556patchup[bot]
authored
chore: backport a536de469 from node (#34167)
* chore: backport a536de469 from nod * chore: update patches Co-authored-by: deepak1556 <[email protected]> Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
1 parent 6f46787 commit 67729c7

File tree

2 files changed

+32
-0
lines changed

2 files changed

+32
-0
lines changed

patches/node/.patches

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,3 +45,4 @@ process_simplify_uv_write_int_calls_3519.patch
4545
macos_don_t_use_thread-unsafe_strtok_3524.patch
4646
process_fix_hang_after_note_exit_3521.patch
4747
macos_avoid_posix_spawnp_cwd_bug_3597.patch
48+
build_disable_v8_pointer_compression_on_32bit_archs.patch
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
2+
From: Cheng Zhao <[email protected]>
3+
Date: Tue, 12 Oct 2021 10:41:55 +0900
4+
Subject: build: disable v8 pointer compression on 32bit archs
5+
MIME-Version: 1.0
6+
Content-Type: text/plain; charset=UTF-8
7+
Content-Transfer-Encoding: 8bit
8+
9+
PR-URL: https://github.com/nodejs/node/pull/40418
10+
Reviewed-By: Jiawen Geng <[email protected]>
11+
Reviewed-By: Stewart X Addison <[email protected]>
12+
Reviewed-By: Tobias Nießen <[email protected]>
13+
Reviewed-By: Minwoo Jung <[email protected]>
14+
Reviewed-By: Michael Dawson <[email protected]>
15+
16+
diff --git a/common.gypi b/common.gypi
17+
index f330d4e92a585d7d72e8322cebb5606fe7220e8c..6e229ef3ae59c668a7c978c96493d8d36242c2a4 100644
18+
--- a/common.gypi
19+
+++ b/common.gypi
20+
@@ -130,6 +130,11 @@
21+
['target_arch == "arm64" or target_arch == "x64"', {
22+
'v8_enable_pointer_compression': 1,
23+
}],
24+
+ # V8 pointer compression only supports 64bit architectures.
25+
+ ['target_arch in "arm ia32 mips mipsel ppc x32"', {
26+
+ 'v8_enable_pointer_compression': 0,
27+
+ 'v8_enable_31bit_smis_on_64bit_arch': 0,
28+
+ }],
29+
['target_arch in "ppc64 s390x"', {
30+
'v8_enable_backtrace': 1,
31+
}],

0 commit comments

Comments
 (0)