Skip to content

Commit

Permalink
build: disable v8 pointer compression on 32bit archs
Browse files Browse the repository at this point in the history
PR-URL: #40418
Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
Reviewed-By: Stewart X Addison <sxa@redhat.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: Minwoo Jung <nodecorelab@gmail.com>
Reviewed-By: Michael Dawson <midawson@redhat.com>
zcbenz authored and targos committed Oct 23, 2021
1 parent a95e344 commit 9f46fca
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions common.gypi
Original file line number Diff line number Diff line change
@@ -99,6 +99,11 @@
'obj_dir%': '<(PRODUCT_DIR)/obj.target',
'v8_base': '<(PRODUCT_DIR)/libv8_snapshot.a',
}],
# V8 pointer compression only supports 64bit architectures.
['target_arch in "arm ia32 mips mipsel ppc x32"', {
'v8_enable_pointer_compression': 0,
'v8_enable_31bit_smis_on_64bit_arch': 0,
}],
['target_arch in "ppc64 s390x"', {
'v8_enable_backtrace': 1,
}],

0 comments on commit 9f46fca

Please sign in to comment.