Repository: node
Issue: Receiving Build error under LINUX
Labels: build

### Version

17.2.0

### Platform

    Operating System: Red Hat Enterprise Linux 8.4 (Ootpa)     Kernel: Linux 4.18.0-305.10.2.el8_4.x86_64       Architecture: x86-64

### Subsystem

Garbage collection?

### What steps will reproduce the bug?


Following is the configuration command I am using:

./configure --dest-cpu=x86 --shared --enable-static --with-intl=full-icu --with-icu-source=./deps/icu4c-70_1-src.tgz --openssl-no-asm

Following is my make command:

CXXFLAGS='-funsigned-char' CFLAGS=$CXXFLAGS gmake -j4


### How often does it reproduce? Is there a required condition?

Consistently

### What is the expected behavior?

Successful build.

### What do you see instead?

  g++ -o /app/engine_space/tgundrum/v8_builds/node-17.2.0/out/Release/obj.host/v8_base_without_compiler/deps/v8/src/heap/cppgc/allocation.o ../deps/v8/src/heap/cppgc/allocation.cc '-D_GLIBCXX_USE_CXX11_ABI=1' '-DNODE_OPENSSL_HAS_QUIC' '-DV8_GYP_BUILD' '-DV8_TYPED_ARRAY_MAX_SIZE_IN_HEAP=64' '-D__STDC_FORMAT_MACROS' '-DOPENSSL_THREADS' '-DOPENSSL_NO_ASM' '-DV8_TARGET_ARCH_IA32' '-DV8_HAVE_TARGET_OS' '-DV8_TARGET_OS_LINUX' '-DV8_EMBEDDER_STRING="-node.12"' '-DENABLE_DISASSEMBLER' '-DV8_PROMISE_INTERNAL_FIELD_COUNT=1' '-DENABLE_MINOR_MC' '-DOBJECT_PRINT' '-DV8_INTL_SUPPORT' '-DV8_ENABLE_LAZY_SOURCE_POSITIONS' '-DV8_USE_SIPHASH' '-DV8_WIN64_UNWINDING_INFO' '-DV8_ENABLE_REGEXP_INTERPRETER_THREADED_DISPATCH' '-DV8_SNAPSHOT_COMPRESSION' '-DV8_ENABLE_WEBASSEMBLY' '-DV8_ALLOCATION_FOLDING' '-DV8_ALLOCATION_SITE_TRACKING' '-DV8_ADVANCED_BIGINT_ALGORITHMS' '-DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_STATIC' '-DUCONFIG_NO_SERVICE=1' '-DU_ENABLE_DYLOAD=0' '-DU_STATIC_IMPLEMENTATION=1' '-DU_HAVE_STD_STRING=1' '-DUCONFIG_NO_BREAK_ITERATION=0' -I../deps/v8 -I../deps/v8/include -I/app/engine_space/tgundrum/v8_builds/node-17.2.0/out/Release/obj/gen/inspector-generated-output-root -I../deps/v8/third_party/inspector_protocol -I/app/engine_space/tgundrum/v8_builds/node-17.2.0/out/Release/obj/gen -I/app/engine_space/tgundrum/v8_builds/node-17.2.0/out/Release/obj/gen/generate-bytecode-output-root -I../deps/icu/source/common -I../deps/icu/source/i18n -I../deps/icu/source/tools/toolutil -I../deps/v8/third_party/zlib -I../deps/v8/third_party/zlib/google  -pthread -Wno-unused-parameter -m32 -fPIC -Wno-return-type -msse2 -mfpmath=sse -mmmx -fno-strict-aliasing -m32 -O3 -fno-omit-frame-pointer -fdata-sections -ffunction-sections -O3 -fno-rtti -fno-exceptions -std=gnu++17 -MMD -MF /app/engine_space/tgundrum/v8_builds/node-17.2.0/out/Release/.deps//app/engine_space/tgundrum/v8_builds/node-17.2.0/out/Release/obj.host/v8_base_without_compiler/deps/v8/src/heap/cppgc/allocation.o.d.raw   -c
/tmp/ccg3qHC7.s: Assembler messages:
/tmp/ccg3qHC7.s:8: Error: bad register name `%rbp'
/tmp/ccg3qHC7.s:9: Error: bad register name `%rsp'
/tmp/ccg3qHC7.s:11: Error: bad register name `%rbx'
/tmp/ccg3qHC7.s:12: Error: bad register name `%r12'
/tmp/ccg3qHC7.s:13: Error: bad register name `%r13'
/tmp/ccg3qHC7.s:14: Error: bad register name `%r14'
/tmp/ccg3qHC7.s:15: Error: bad register name `%r15'
/tmp/ccg3qHC7.s:16: Error: bad register name `%rdx'
/tmp/ccg3qHC7.s:17: Error: bad register name `%rsp'
/tmp/ccg3qHC7.s:18: Error: bad register name `%r8'
/tmp/ccg3qHC7.s:19: Error: bad register name `%rsp'
/tmp/ccg3qHC7.s:20: Error: bad register name `%rbp'
gmake[1]: *** [tools/v8_gypfiles/v8_base_without_compiler.host.mk:993: /app/engine_space/tgundrum/v8_builds/node-17.2.0/out/Release/obj.host/v8_base_without_compiler/deps/v8/src/heap/base/asm/x64/push_registers_asm.o] Error 1
gmake[1]: *** Waiting for unfinished jobs....

### Additional information

_No response_