I am trying to build node js for ppc 32. Though there is no official support, am giving a try since it is required for one of my platform. Can you please tell me if there is any known guide lines to build node js for ppc 32.
I did a hack and succeeded with build. However, the execution crashes with "ILLEGAL instruction" error. GitHub Node Version: node-v8.11.3 Program received signal SIGILL, Illegal instruction. [Switching to Thread 805427584 (LWP 6480)] 0x2f70ffa4 in ?? () (gdb) bt #0 0x2f70ffa4 in ?? () #1 <https://github.com/ibmruntimes/node/issues/1> 0x335bbc48 in ?? () warning: Previous frame inner to this frame (corrupt stack?) (gdb) cat /proc/cpuinfo processor : 0 cpu : e500 revision : 2.0 (pvr 8020 0020) bogomips : 524.28 chipset : 8555E Vendor : Motorola SPS LD_SHOW_AUXV=1 /bin/true AT_DCACHEBSIZE: 0x20 - 32 bit AT_ICACHEBSIZE: 0x20 - 32 Bit AT_UCACHEBSIZE: 0x0 AT_HWCAP: 84c00000 AT_PAGESZ: 4096 AT_CLKTCK: 100 AT_PHDR: 0x10000034 Building Steps: 1) ppc_env_variables.sh ==================== export ProcessPathArmada="/opt/WR/WindRiverLinux-8.0-190909/ppc-85xx/bin" export PathSysroot=/opt/MV/401CGE-host.26112018/montavista/cge/devkit/ppc/85xx/target unset MAKEFLAGS export PATH=$ProcessPathArmada:$PATH export CFLAGS="-pipe -g -fno-caller-saves -I$PathSysroot/usr/include/nptl" export CXXFLAGS="-pipe -g -std=c++11 -fno-caller-saves -I$PathSysroot/usr/include/nptl" export LDFLAGS="-L$PathSysroot/usr/lib/nptl" export CC=$ProcessPathArmada/ppc_85xx-gcc export CXX=$ProcessPathArmada/ppc_85xx-g++ export CPP=$ProcessPathArmada/ppc_85xx-gcc export AS=$ProcessPathArmada/ppc_85xx-as export LD=$ProcessPathArmada/ppc_85xx-ld 2) ./configure --dest-cpu=ppc --without-snapshot --without-intl --partly-static --debug 3) make -j6 node Could some help me on this issue to move forward. -- Job board: http://jobs.nodejs.org/ New group rules: https://gist.github.com/othiym23/9886289#file-moderation-policy-md Old group rules: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines --- You received this message because you are subscribed to the Google Groups "nodejs" group. To unsubscribe from this group and stop receiving emails from it, send an email to nodejs+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/nodejs/8fb78b12-aaeb-421a-85b4-848296c4e962%40googlegroups.com.