Skip to content

Commit ee96721

Browse files
committed
build: remove broken x32 arch support
I added support for x32 back in 2014 but it's been in a state of disrepair ever since, not in the least because it was never a fully supported architecture in upstream V8. V8 dropped x32 support entirely in or around 2018 so the removal from Node's build system is long overdue. Refs: #40576
1 parent bd86e51 commit ee96721

File tree

286 files changed

+7
-312092
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

286 files changed

+7
-312092
lines changed

common.gypi

+1-5
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@
103103
'v8_base': '<(PRODUCT_DIR)/libv8_snapshot.a',
104104
}],
105105
# V8 pointer compression only supports 64bit architectures.
106-
['target_arch in "arm ia32 mips mipsel ppc x32"', {
106+
['target_arch in "arm ia32 mips mipsel ppc"', {
107107
'v8_enable_pointer_compression': 0,
108108
'v8_enable_31bit_smis_on_64bit_arch': 0,
109109
}],
@@ -414,10 +414,6 @@
414414
'cflags': [ '-m32' ],
415415
'ldflags': [ '-m32' ],
416416
}],
417-
[ 'target_arch=="x32"', {
418-
'cflags': [ '-mx32' ],
419-
'ldflags': [ '-mx32' ],
420-
}],
421417
[ 'target_arch=="x64"', {
422418
'cflags': [ '-m64' ],
423419
'ldflags': [ '-m64' ],

configure.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,7 @@
4747
valid_os = ('win', 'mac', 'solaris', 'freebsd', 'openbsd', 'linux',
4848
'android', 'aix', 'cloudabi')
4949
valid_arch = ('arm', 'arm64', 'ia32', 'mips', 'mipsel', 'mips64el', 'ppc',
50-
'ppc64', 'x32','x64', 'x86', 'x86_64', 's390x', 'riscv64',
51-
'loong64')
50+
'ppc64', 'x86', 'x86_64', 's390x', 'riscv64', 'loong64')
5251
valid_arm_float_abi = ('soft', 'softfp', 'hard')
5352
valid_arm_fpu = ('vfp', 'vfpv3', 'vfpv3-d16', 'neon')
5453
valid_mips_arch = ('loongson', 'r1', 'r2', 'r6', 'rx')

deps/openssl/config/Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ PERL = perl
1111
# Supported architecture list
1212
ASM_ARCHS = aix-gcc aix64-gcc-as BSD-x86 BSD-x86_64 \
1313
darwin64-x86_64-cc darwin-i386-cc darwin64-arm64-cc linux-aarch64 \
14-
linux-armv4 linux-elf linux-x32 linux-x86_64 linux-ppc \
14+
linux-armv4 linux-elf linux-x86_64 linux-ppc \
1515
linux-ppc64 linux-ppc64le linux32-s390x linux64-s390x linux64-mips64\
1616
solaris-x86-gcc solaris64-x86_64-gcc VC-WIN64A VC-WIN32
1717

0 commit comments

Comments
 (0)