I'm having trouble compiling NodeJS version 12 for ARMv5. When I try running node, I get an "Illegal instruction" error. The last known version to work for someone in my group was NodeJS version 10.
I suspect it has something to do with changes in the configure script. Here is a section of version NodeJS version 12:
def configure_arm(o):
if options.arm_float_abi:
arm_float_abi = options.arm_float_abi
elif is_arm_hard_float_abi():
arm_float_abi = 'hard'
else:
arm_float_abi = 'default'
if is_arch_armv7():
o['variables']['arm_version'] = '7'
elif is_arch_armv6():
o['variables']['arm_version'] = '6'
else:
o['variables']['arm_version'] = 'default'
o['variables']['arm_fpu'] = 'vfpv3' # V8 3.18 no longer supports VFP2.
o['variables']['arm_neon'] = int(is_arm_neon())
o['variables']['arm_thumb'] = 0 # -marm
o['variables']['arm_float_abi'] = arm_float_abi
Our ARMv5 processor does not support "arm_fpu". Is there any way to disable this option in NodeJS 12? The configure script makes it look like support was dropped for ARMv5. Is that the case? Any other tips for compiling for ARMv5?