Skip to content
This repository was archived by the owner on Dec 3, 2018. It is now read-only.
This repository was archived by the owner on Dec 3, 2018. It is now read-only.

icu build broken for node v0.12.x #22

@springmeyer

Description

@springmeyer
  clang++ '-DU_COMMON_IMPLEMENTATION=1' '-DU_ATTRIBUTE_DEPRECATED=' '-D_CRT_SECURE_NO_DEPRECATE=' '-DU_STATIC_IMPLEMENTATION=1' '-DUCONFIG_NO_LEGACY_CONVERSION=1' '-DUCONFIG_NO_IDNA=1' '-DUCONFIG_NO_TRANSLITERATION=1' '-DUCONFIG_NO_SERVICE=1' '-DUCONFIG_NO_REGULAR_EXPRESSIONS=1' '-DU_ENABLE_DYLOAD=0' '-DU_HAVE_STD_STRING=0' '-DUCONFIG_NO_BREAK_ITERATION=0' '-DUCONFIG_NO_CONVERSION=1' -I../deps/icu/source/common  -pthread -Wall -Wextra -Wno-unused-parameter -m64 -Wno-deprecated-declarations -O3 -ffunction-sections -fdata-sections -fno-omit-frame-pointer -fno-rtti -fno-exceptions -std=c++11 -frtti -MMD -MF /tmp/v0.12.0/out/Release/.deps//tmp/v0.12.0/out/Release/obj.target/icuucx/deps/icu/source/common/appendable.o.d.raw  -c -o /tmp/v0.12.0/out/Release/obj.target/icuucx/deps/icu/source/common/appendable.o ../deps/icu/source/common/appendable.cpp
  g++ '-DU_COMMON_IMPLEMENTATION=1' '-DU_I18N_IMPLEMENTATION=1' '-DU_IO_IMPLEMENTATION=1' '-DU_TOOLUTIL_IMPLEMENTATION=1' '-DU_ATTRIBUTE_DEPRECATED=' '-D_CRT_SECURE_NO_DEPRECATE=' '-DU_STATIC_IMPLEMENTATION=1' '-DUCONFIG_NO_LEGACY_CONVERSION=1' '-DUCONFIG_NO_IDNA=1' '-DUCONFIG_NO_TRANSLITERATION=1' '-DUCONFIG_NO_SERVICE=1' '-DUCONFIG_NO_REGULAR_EXPRESSIONS=1' '-DU_ENABLE_DYLOAD=0' '-DU_HAVE_STD_STRING=0' '-DUCONFIG_NO_BREAK_ITERATION=0' -I../deps/icu/source/common -I../deps/icu/source/i18n -I../deps/icu/source/io -I../deps/icu/source/tools/toolutil  -pthread -Wall -Wextra -Wno-unused-parameter -m64 -Wno-deprecated-declarations -O3 -ffunction-sections -fdata-sections -fno-omit-frame-pointer -fno-rtti -fno-exceptions -std=c++11 -frtti -MMD -MF /tmp/v0.12.0/out/Release/.deps//tmp/v0.12.0/out/Release/obj.host/icutools/deps/icu/source/tools/toolutil/xmlparser.o.d.raw  -c -o /tmp/v0.12.0/out/Release/obj.host/icutools/deps/icu/source/tools/toolutil/xmlparser.o ../deps/icu/source/tools/toolutil/xmlparser.cpp
cc1plus: error: unrecognized command line option ‘-std=c++11’
make[2]: *** [/tmp/v0.12.0/out/Release/obj.host/icutools/deps/icu/source/tools/toolutil/xmlparser.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/tmp/v0.12.0/out'
make[1]: *** [node] Error 2
make[1]: Leaving directory `/tmp/v0.12.0'
make: *** [node-v0.12.0-linux-x64.tar.gz] Error 2
The command "./.travis.sh" exited with 2.

Note that because of a bug in gyp {CC,CXX}_host must also be set.
Otherwise gcc/g++ will be used by default for part of the build.

nodejs/node-v0.x-archive@ac2857b#diff-e2d5a00791bce9a01f99bc6fd613a39d

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions