hi, all:

I config ninja to not using llvm&clang then compile, but failed due to 
clang, please help me, thanks a lot in advance^_^

*I use `gn args out.gn/x64_dbg01` to edit my config as*:
is_debug=true
target_cpu="x64"
v8_target_cpu="x64"
use_goma=false
use_lld=false

*and attachment please find my configed args file x64_dbg01.arg.list. from 
which we can make sure I configed `use_lld=false && is_clang=false`*:
use_lld
    Current value = false

is_clang
    Current value (from the default) = false

after  configed, I use* `ninja -C out.gn/foo d8` to build v8,  **attachment 
please find the compile log, and I find it failed due to clang:*




*clang++: error: unable to execute command: Killedthat's all, thanks.*



-- 
-- 
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- 
You received this message because you are subscribed to the Google Groups 
"v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Attachment: x64_dbg01.arg.list
Description: Binary data

ninja: Entering directory `out.gn/x64_dbg01/'
[2/427] CXX obj/v8_base/code-stub-assembler.o
FAILED: obj/v8_base/code-stub-assembler.o 
../../third_party/llvm-build/Release+Asserts/bin/clang++ -MMD -MF 
obj/v8_base/code-stub-assembler.o.d -DV8_DEPRECATION_WARNINGS -DUSE_UDEV 
-DUSE_AURA=1 -DUSE_GLIB=1 -DUSE_NSS_CERTS=1 -DUSE_X11=1 -DFULL_SAFE_BROWSING 
-DSAFE_BROWSING_CSD -DSAFE_BROWSING_DB_LOCAL -DCHROMIUM_BUILD 
-DFIELDTRIAL_TESTING_ENABLED -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE 
-D_LARGEFILE64_SOURCE -DCR_CLANG_REVISION=\"315613-1\" -D__STDC_CONSTANT_MACROS 
-D__STDC_FORMAT_MACROS -DCOMPONENT_BUILD -D_DEBUG 
-DDYNAMIC_ANNOTATIONS_ENABLED=1 -DWTF_USE_DYNAMIC_ANNOTATIONS=1 
-D_GLIBCXX_DEBUG=1 -DBUILDING_V8_SHARED -DENABLE_DISASSEMBLER 
-DV8_TYPED_ARRAY_MAX_SIZE_IN_HEAP=64 -DENABLE_GDB_JIT_INTERFACE -DOBJECT_PRINT 
-DVERIFY_HEAP -DV8_TRACE_MAPS -DV8_ENABLE_CHECKS -DV8_INTL_SUPPORT 
-DENABLE_HANDLE_ZAPPING -DV8_USE_SNAPSHOT -DV8_USE_EXTERNAL_STARTUP_DATA 
-DV8_CONCURRENT_MARKING -DV8_CSA_WRITE_BARRIER 
-DV8_CHECK_MICROTASKS_SCOPES_CONSISTENCY -DV8_TARGET_ARCH_X64 -DDEBUG 
-DU_USING_ICU_NAMESPACE=0 -DU_ENABLE_DYLOAD=0 
-DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_FILE -DUCHAR_TYPE=uint16_t 
-DUSING_V8_BASE_SHARED -I../.. -Igen -I../.. 
-I../../third_party/icu/source/common -I../../third_party/icu/source/i18n 
-I../../include -fno-strict-aliasing --param=ssp-buffer-size=4 
-fstack-protector -Wno-builtin-macro-redefined -D__DATE__= -D__TIME__= 
-D__TIMESTAMP__= -funwind-tables -fPIC -pipe 
-B../../third_party/binutils/Linux_x64/Release/bin -pthread -fcolor-diagnostics 
-Xclang -mllvm -Xclang -instcombine-lower-dbg-declare=0 -no-canonical-prefixes 
-m64 -march=x86-64 -Wall -Werror -Wextra -Wno-missing-field-initializers 
-Wno-unused-parameter -Wno-c++11-narrowing -Wno-covered-switch-default 
-Wno-unneeded-internal-declaration -Wno-inconsistent-missing-override 
-Wno-undefined-var-template -Wno-nonportable-include-path 
-Wno-address-of-packed-member -Wno-unused-lambda-capture 
-Wno-user-defined-warnings -Wno-enum-compare-switch 
-Wno-tautological-unsigned-zero-compare -Wno-null-pointer-arithmetic 
-Wno-tautological-unsigned-enum-zero-compare -fno-omit-frame-pointer -g2 
-gsplit-dwarf -ggnu-pubnames -fvisibility=hidden -Xclang -load -Xclang 
../../third_party/llvm-build/Release+Asserts/lib/libFindBadConstructs.so 
-Xclang -add-plugin -Xclang find-bad-constructs -Xclang 
-plugin-arg-find-bad-constructs -Xclang check-ipc -Wheader-hygiene 
-Wstring-conversion -Wtautological-overlap-compare -Wsign-compare 
-Winconsistent-missing-override -Wshorten-64-to-32 -O3 -fno-ident 
-fdata-sections -ffunction-sections -Wno-undefined-bool-conversion 
-Wno-tautological-undefined-compare -std=gnu++14 -fno-rtti -nostdinc++ 
-isystem../../buildtools/third_party/libc++/trunk/include 
-isystem../../buildtools/third_party/libc++abi/trunk/include 
--sysroot=../../build/linux/debian_jessie_amd64-sysroot -fno-exceptions 
-fvisibility-inlines-hidden -c ../../src/code-stub-assembler.cc -o 
obj/v8_base/code-stub-assembler.o
clang++: error: unable to execute command: Killed
clang++: error: clang frontend command failed due to signal (use -v to see 
invocation)
clang version 6.0.0 (trunk 315613)
Target: x86_64-unknown-linux-gnu
Thread model: posix
InstalledDir: ../../third_party/llvm-build/Release+Asserts/bin
clang++: note: diagnostic msg: PLEASE submit a bug report to 
http://llvm.org/bugs/ and include the crash backtrace, preprocessed source, and 
associated run script.
clang++: note: diagnostic msg: 
********************

PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
clang++: note: diagnostic msg: /tmp/code-stub-assembler-866c46.cpp
clang++: note: diagnostic msg: /tmp/code-stub-assembler-866c46.sh
clang++: note: diagnostic msg: 

********************
[3/427] CXX obj/v8_initializers/builtins-string-gen.o
ninja: build stopped: subcommand failed.

Reply via email to