build error /deps/v8/src/ic/ic.cc:164:29: error: 'to_string' is not a member of 'std'
kelp404 opened this issue · comments
Kelp commented
Hello,
I can't build nodejs in the Docker. Could you help me?
cd node && git checkout v8.11.4 && build-nodejs-for-android arm64 -o ../nodejs-6.5.0-android-arm64-full --full
/home/devuser/ndk/std-toolchains/android-21-arm64/bin/g++ '-DV8_GYP_BUILD' '-DV8_TARGET_ARCH_ARM64' '-DENABLE_DISASSEMBLER' '-DV8_PROMISE_INTERNAL_FIELD_COUNT' '-Dv8_promise_internal_field_count' '-DV8_INTL_SUPPORT' '-DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_STATIC' '-DUCONFIG_NO_SERVICE=1' '-DUCONFIG_NO_REGULAR_EXPRESSIONS=1' '-DU_ENABLE_DYLOAD=0' '-DU_STATIC_IMPLEMENTATION=1' '-DU_HAVE_STD_STRING=0' '-DUCONFIG_NO_BREAK_ITERATION=0' '-D_GLIBCXX_USE_C99_MATH' -I../deps/v8 -I../. -I/home/devuser/node/out/Release/obj/gen -I../deps/v8/include -I../deps/icu-small/source/i18n -I../deps/icu-small/source/common -Wall -Wextra -Wno-unused-parameter -fdata-sections -ffunction-sections -O2 -fno-omit-frame-pointer -fPIE -fno-rtti -fno-exceptions -std=gnu++0x -MMD -MF /home/devuser/node/out/Release/.deps//home/devuser/node/out/Release/obj.target/v8_base/deps/v8/src/ic/ic.o.d.raw -c -o /home/devuser/node/out/Release/obj.target/v8_base/deps/v8/src/ic/ic.o ../deps/v8/src/ic/ic.cc
../deps/v8/src/ic/ic.cc: In member function 'void v8::internal::IC::TraceIC(const char*, v8::internal::Handle<v8::internal::Object>, v8::internal::IC::State, v8::internal::IC::State)':
../deps/v8/src/ic/ic.cc:164:29: error: 'to_string' is not a member of 'std'
ic_info.instance_type = std::to_string(map->instance_type());
^
make[1]: *** [/home/devuser/node/out/Release/obj.target/v8_base/deps/v8/src/ic/ic.o] Error 1
rm 99fee2a9201067d3d42d5073421262067967ac37.intermediate
make[1]: Leaving directory `/home/devuser/node/out'
make: *** [node] Error 2
jjqq commented
I am cencerely sorry that I have no time to work on this now. Actually I’d
tried to build 18, but due to some severe configure issues of nodejs
project, it can not be simply done by any of my tricks. The only way is
study nodejs configuration files.
Regards.
2018年8月27日(月) 19:22 Kelp <notifications@github.com>:
… Hello,
I can't build nodejs in the Docker. Could you help me?
cd node && git checkout v8.11.4 && build-nodejs-for-android arm64 -o ../nodejs-6.5.0-android-arm64-full --full
/home/devuser/ndk/std-toolchains/android-21-arm64/bin/g++ '-DV8_GYP_BUILD' '-DV8_TARGET_ARCH_ARM64' '-DENABLE_DISASSEMBLER' '-DV8_PROMISE_INTERNAL_FIELD_COUNT' '-Dv8_promise_internal_field_count' '-DV8_INTL_SUPPORT' '-DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_STATIC' '-DUCONFIG_NO_SERVICE=1' '-DUCONFIG_NO_REGULAR_EXPRESSIONS=1' '-DU_ENABLE_DYLOAD=0' '-DU_STATIC_IMPLEMENTATION=1' '-DU_HAVE_STD_STRING=0' '-DUCONFIG_NO_BREAK_ITERATION=0' '-D_GLIBCXX_USE_C99_MATH' -I../deps/v8 -I../. -I/home/devuser/node/out/Release/obj/gen -I../deps/v8/include -I../deps/icu-small/source/i18n -I../deps/icu-small/source/common -Wall -Wextra -Wno-unused-parameter -fdata-sections -ffunction-sections -O2 -fno-omit-frame-pointer -fPIE -fno-rtti -fno-exceptions -std=gnu++0x -MMD -MF /home/devuser/node/out/Release/.deps//home/devuser/node/out/Release/obj.target/v8_base/deps/v8/src/ic/ic.o.d.raw -c -o /home/devuser/node/out/Release/obj.target/v8_base/deps/v8/src/ic/ic.o ../deps/v8/src/ic/ic.cc
../deps/v8/src/ic/ic.cc: In member function 'void v8::internal::IC::TraceIC(const char*, v8::internal::Handle<v8::internal::Object>, v8::internal::IC::State, v8::internal::IC::State)':
../deps/v8/src/ic/ic.cc:164:29: error: 'to_string' is not a member of 'std'
ic_info.instance_type = std::to_string(map->instance_type());
^
make[1]: *** [/home/devuser/node/out/Release/obj.target/v8_base/deps/v8/src/ic/ic.o] Error 1
rm 99fee2a9201067d3d42d5073421262067967ac37.intermediate
make[1]: Leaving directory `/home/devuser/node/out'
make: *** [node] Error 2
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#7>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AE_djGZL4JH0P1QhYlPrJL4N1hlU5Hicks5uU8hwgaJpZM4WNivs>
.
Kelp commented
Tamil commented
Has anyone found the fix for this issue?
Kelp commented
Hello @Tamil-rently
I build node v8 for Android, but I can't build node v10.
I changed my job, so I will not update the repository.
https://github.com/kelp404/node-in-android/releases