Skip to content

Commit 28ddde7

Browse files
committed
Disable Maglev compiler tier
Maglev is the suspected cause of a segfault originating from the snapshot. The crash happens in DoComputeOutputFrames and maglev-code-generator.cc is the only compiler that calls that.
1 parent 0f0f90a commit 28ddde7

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

libexec/build-libv8

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,9 @@ BUILDTYPE="${BUILDTYPE:-Release}"
1717

1818
cd "${src}/node-v${version}"
1919

20-
configure_flags='--openssl-no-asm --without-npm --shared --with-intl=full-icu'
20+
# Maglev is disabled because of a suspected x64 snapshot regression in
21+
# DoComputeOutputFrames
22+
configure_flags='--v8-disable-maglev --openssl-no-asm --without-npm --shared --with-intl=full-icu'
2123
eval "$("${libexec}/platform")"
2224

2325
echo "configure: ${configure_flags}"

0 commit comments

Comments
 (0)