Skip to content

build failed on ubuntu 18.04 #269

@blueye

Description

@blueye

My build environment:
branch: mobile-master
os: ubuntu 18.04 x86-64
gcc and g++: 7.5.0
command: ./tools/android_build.sh ~/android-ndk-r21
The following error occur:

  g++ -o /home/xp/node/nodejs-mobile/out/Release/obj.host/torque_base/deps/v8/src/torque/types.o ../deps/v8/src/torque/types.cc '-DV8_GYP_BUILD' '-DV8_TYPED_ARRAY_MAX_SIZE_IN_HEAP=64' '-D__STDC_FORMAT_MACROS' '-DOPENSSL_THREADS' '-DOPENSSL_NO_ASM' '-DV8_TARGET_ARCH_ARM' '-DCAN_USE_ARMV7_INSTRUCTIONS' '-DCAN_USE_VFP3_INSTRUCTIONS' '-DCAN_USE_VFP32DREGS' '-DV8_EMBEDDER_STRING="-node.35"' '-DENABLE_DISASSEMBLER' '-DV8_PROMISE_INTERNAL_FIELD_COUNT=1' '-DENABLE_MINOR_MC' '-DV8_USE_SNAPSHOT' '-DV8_CONCURRENT_MARKING' '-DV8_ENABLE_LAZY_SOURCE_POSITIONS' '-DV8_EMBEDDED_BUILTINS' '-DV8_USE_SIPHASH' '-DDISABLE_UNTRUSTED_CODE_MITIGATIONS' '-DV8_WIN64_UNWINDING_INFO' '-DV8_ENABLE_REGEXP_INTERPRETER_THREADED_DISPATCH' '-DUSE_EABI_HARDFLOAT=0' -I../deps/v8 -I../deps/v8/include  -Wno-unused-parameter -fPIC -Wno-return-type -m32 -fno-omit-frame-pointer -fPIC -fdata-sections -ffunction-sections -O2 -fno-rtti -std=gnu++1y -fexceptions -MMD -MF /home/xp/node/nodejs-mobile/out/Release/.deps//home/xp/node/nodejs-mobile/out/Release/obj.host/torque_base/deps/v8/src/torque/types.o.d.raw   -c
g++: internal compiler error: Killed (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-7/README.Bugs> for instructions.
tools/v8_gypfiles/torque_base.host.mk:146: recipe for target '/home/xp/node/nodejs-mobile/out/Release/obj.host/torque_base/deps/v8/src/torque/implementation-visitor.o' failed
make[1]: *** [/home/xp/node/nodejs-mobile/out/Release/obj.host/torque_base/deps/v8/src/torque/implementation-visitor.o] Error 4
make[1]: *** Waiting for unfinished jobs....
rm e0c41128b14469e88063d9f9dd0628d4086fcce9.intermediate 031428ef8bc5493ea9ceeda25fd46d4b8a6b1335.intermediate
Makefile:101: recipe for target 'node' failed
make: *** [node] Error 2

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions