Bug 9001 - Nodejs option not available
Summary: Nodejs option not available
Status: RESOLVED WORKSFORME
Alias: None
Product: buildroot
Classification: Unclassified
Component: Other (show other bugs)
Version: 2016.05
Hardware: All Linux
: P5 normal
Target Milestone: ---
Assignee: unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-06-15 07:33 UTC by Dr I J Ormshaw
Modified: 2016-06-15 12:50 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:


Attachments
nodejs option not available config file (68.16 KB, text/plain)
2016-06-15 07:33 UTC, Dr I J Ormshaw
Details
Nodejs Config.in (1.03 KB, patch)
2016-06-15 07:35 UTC, Dr I J Ormshaw
Details

Note You need to log in before you can comment on or make changes to this bug.
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.