Hello When I choose ARM architecture, nodejs option disappears in "Target packages" even I select all dependencies. When I select alder version of nodejs in "Legacy config options", nodejs in "Target Packages" appears and automatically selected but this time I cannot compile the selections. for buildroot 2016.11, I could select nodejs for arm. so there was no problem. Is this an bug or are there another problem for newer version of builroot. Best regards.
With ARM I take it that you specifically mean one of the older ARM variants (arm926t or similar)? Modern versions of nodejs require instructions only available on ARMv6 + FPU or newer. In 2016.11 we still supported the legacy 0.10.x version of nodejs for the older ARM variants, but this is no longer supported by nodejs upstream and got removed from Buildroot back in March. If your system really has such an old ARM variant then you cannot use nodejs, unless you re-add the (unsupported) 0.10.x version or stick with with our current LTS release (2017.02.x)
No it not older version. It is ARMv7
(In reply to Refik Tuzakli from comment #2) Ok, then please provide some more details: - What buildroot version - What is your .config nodejs depends on: default y if BR2_arm && !BR2_ARM_CPU_ARMV4 && !BR2_ARM_CPU_ARMV5 && BR2_ARM_CPU_HAS_VFPV2 You mention that you are using an ARMv7 core. Have you enabled FPU support?
buildroot version 2017.08 ARM coretex-a9 fpu is enabled nodejs depends on: default y if BR2_arm && !BR2_ARM_CPU_ARMV4 && !BR2_ARM_CPU_ARMV5 && BR2_ARM_CPU_HAS_VFPV2 satisfied .config file size more than uploading limit. I can not attache.
(In reply to Refik Tuzakli from comment #4) Ok, either run 'make savedefconfig' and attach the defconfig file or 'head -n 100 .config >config.txt' and attach config.txt
Created attachment 7076 [details] .config file sorry for late reply
Refik, All, nodejs requires an FPU (VFP), but it is not enabled in your Buildroot configuration. So, if your CPU indeed lacks a VFP, then you can not use nodejs on your target. If your CPU does have a VFP, then enable it in your Buildroot configuration. Regards, Yann E. MORIN.