Bug 9001

Summary: Nodejs option not available
Product: buildroot Reporter: Dr I J Ormshaw <ian_ormshaw>
Component: OtherAssignee: unassigned
Status: RESOLVED WORKSFORME    
Severity: normal CC: buildroot
Priority: P5    
Version: 2016.05   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Host: Target:
Build:
Attachments: nodejs option not available config file
Nodejs Config.in

Description Dr I J Ormshaw 2016-06-15 07:33:10 UTC
Created attachment 6481 [details]
nodejs option not available config file

I'm developing on fedora 24 (gcc 6)

In buildroot 2016.05 the comment

*** nodejs needs a toolchain w/ C++, dynamic library, threads, gcc >= 4.8, wchar ***

is always displayed  

The test that is failing is BR2_HOST_GCC_AT_LEAST_4_8
Comment 1 Dr I J Ormshaw 2016-06-15 07:35:16 UTC
Created attachment 6486 [details]
Nodejs Config.in

removing the BR2_HOST_GCC_AT_LEAST_4_8 tests displays the nodejs option
Comment 2 Thomas Petazzoni 2016-06-15 12:50:50 UTC
Removing the dependency is wrong. This problem has been fixed in commit 3d2175780d70a864836c75343fd969fba1109057, which wasn't part of Buildroot 2016.05.

Basically, using Buildroot 2016.05 on a machine that has gcc 6 is not supported. Use the latest Git if you are in such a situation.