On Mon, Feb 21, 2022 at 2:01 AM Gérard Vidal <
gerard....@gmail.com> wrote:
>
> Hi @Camillo,
> I have launched a compilation on my PiZeroon the source dowloaded from the nodejs site, without any modification and after one day and a half it fails in v8 compilationon this command :
> ```shell
> g++ -o /home/ens-ife/Logiciels/Node/node-v17.5.0/out/Release/obj.target/v8_base_without_compiler/deps/v8/src/regexp/regexp-compiler.o ../deps/v8/src/regexp/regexp-compiler.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_NO_PINSHARED' '-DOPENSSL_THREADS' '-DV8_TARGET_ARCH_ARM' '-DCAN_USE_ARMV7_INSTRUCTIONS' '-DV8_HAVE_TARGET_OS' '-DV8_TARGET_OS_LINUX' '-DV8_EMBEDDER_STRING="-node.13"' '-DENABLE_DISASSEMBLER' '-DV8_PROMISE_INTERNAL_FIELD_COUNT=1' '-DENABLE_MINOR_MC' '-DOBJECT_PRINT' '-DV8_INTL_SUPPORT' '-DV8_ATOMIC_OBJECT_FIELD_WRITES' '-DV8_ATOMIC_MARKING_STATE' '-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/home/ens-ife/Logiciels/Node/node-v17.5.0/out/Release/obj/gen/inspector-generated-output-root -I../deps/v8/third_party/inspector_protocol -I/home/ens-ife/Logiciels/Node/node-v17.5.0/out/Release/obj/gen -I/home/ens-ife/Logiciels/Node/node-v17.5.0/out/Release/obj/gen/generate-bytecode-output-root -I../deps/icu-small/source/i18n -I../deps/icu-small/source/common -I../deps/v8/third_party/zlib -I../deps/v8/third_party/zlib/google -pthread -Wno-unused-parameter -Wno-return-type -fno-strict-aliasing -mfpu=vfp -marm -O3 -fno-omit-frame-pointer -fdata-sections -ffunction-sections -O3 -fno-rtti -fno-exceptions -std=gnu++17 -MMD -MF /home/ens-ife/Logiciels/Node/node-v17.5.0/out/Release/.deps//home/ens-ife/Logiciels/Node/node-v17.5.0/out/Release/obj.target/v8_base_without_compiler/deps/v8/src/regexp/regexp-compiler.o.d.raw -c
> ```
> With the following error message repeated 7 times :
> ```shell
> /tmp/ccNNHBJE.s: Messages de l'assembleur:
> /tmp/ccNNHBJE.s:1956: Erreur: le processeur choisi ne supporte pas « usat r3,#8,r3 » en mode ARM
> ```
> I think that there might be a combination of parameters in the v8 configuration that would enable to overcome this error, if you may have any suggestion I will make the modifications, start again compilation and let you know what happens.
> Thanks for your help !
10 years. I don't want to discourage you but I don't remember Node
having run on armv6z since... I don't know, 2014, 2015? Not in recent