I am encountering similar issues with node v0.10.24 on ARMv7. One issue that's hinders the resolution to this problem is yocto 1.71 has gcc 4.9.1. With this version of the compiler, the -Werror option breaks the debug build.
Please let me know if you find a solution and I'll do the same. --Walt On Wednesday, February 11, 2015 at 7:51:49 AM UTC-6, Ben Noordhuis wrote: > > On Wed, Feb 11, 2015 at 12:17 AM, Michael Boldischar > <[email protected] <javascript:>> wrote: > > 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? > > I'm afraid that ARMv5 support was dropped completely from V8 around > 3.20 or 3.21. > -- 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 [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/nodejs/933d583a-0758-40f9-9022-b94316c961e6%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
