ClangToTLinux failing with assert in the slp vectorizer |
|
Issue descriptionFrom https://build.chromium.org/p/chromium.clang/builders/ToTLinux/builds/770: [9052/47817] CC obj/third_party/sqlite/sqlite_shell/shell.o FAILED: obj/third_party/sqlite/sqlite_shell/shell.o ../../third_party/llvm-build/Release+Asserts/bin/clang -MMD -MF obj/third_party/sqlite/sqlite_shell/shell.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=\"318226\" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -DCOMPONENT_BUILD -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -DU_USING_ICU_NAMESPACE=0 -DU_ENABLE_DYLOAD=0 -DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_FILE -DUCHAR_TYPE=uint16_t -I../../third_party/sqlite/amalgamation -I../.. -Igen -I../../third_party/icu/source/common -I../../third_party/icu/source/i18n -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-constant-compare -Wtautological-constant-out-of-range-compare -O2 -fno-ident -fdata-sections -ffunction-sections -fomit-frame-pointer -g2 -ggnu-pubnames -fvisibility=hidden -Wheader-hygiene -Wstring-conversion -Wtautological-overlap-compare -std=gnu11 --sysroot=../../build/linux/debian_stretch_amd64-sysroot -c ../../third_party/sqlite/amalgamation/shell.c -o obj/third_party/sqlite/sqlite_shell/shell.o #0 0x00000000021a86aa llvm::sys::PrintStackTrace(llvm::raw_ostream&) (../../third_party/llvm-build/Release+Asserts/bin/clang+0x21a86aa) #1 0x00000000021a679e llvm::sys::RunSignalHandlers() (../../third_party/llvm-build/Release+Asserts/bin/clang+0x21a679e) #2 0x00000000021a6902 (../../third_party/llvm-build/Release+Asserts/bin/clang+0x21a6902) #3 0x00007ffac9dab330 __restore_rt (/lib/x86_64-linux-gnu/libpthread.so.0+0x10330) #4 0x00000000022dcc2c llvm::slpvectorizer::BoUpSLP::BlockScheduling::tryScheduleBundle(llvm::ArrayRef<llvm::Value*>, llvm::slpvectorizer::BoUpSLP*, llvm::Value*) (../../third_party/llvm-build/Release+Asserts/bin/clang+0x22dcc2c) #5 0x00000000022dd705 llvm::slpvectorizer::BoUpSLP::buildTree_rec(llvm::ArrayRef<llvm::Value*>, unsigned int, int) (../../third_party/llvm-build/Release+Asserts/bin/clang+0x22dd705) #6 0x00000000022df967 llvm::slpvectorizer::BoUpSLP::buildTree(llvm::ArrayRef<llvm::Value*>, llvm::MapVector<llvm::Value*, llvm::SmallVector<llvm::Instruction*, 2u>, llvm::DenseMap<llvm::Value*, unsigned int, llvm::DenseMapInfo<llvm::Value*>, llvm::detail::DenseMapPair<llvm::Value*, unsigned int> >, std::vector<std::pair<llvm::Value*, llvm::SmallVector<llvm::Instruction*, 2u> >, std::allocator<std::pair<llvm::Value*, llvm::SmallVector<llvm::Instruction*, 2u> > > > >&, llvm::ArrayRef<llvm::Value*>) (../../third_party/llvm-build/Release+Asserts/bin/clang+0x22df967) #7 0x00000000022e00dc llvm::slpvectorizer::BoUpSLP::buildTree(llvm::ArrayRef<llvm::Value*>, llvm::ArrayRef<llvm::Value*>) (../../third_party/llvm-build/Release+Asserts/bin/clang+0x22e00dc) #8 0x00000000022e276c llvm::SLPVectorizerPass::tryToVectorizeList(llvm::ArrayRef<llvm::Value*>, llvm::slpvectorizer::BoUpSLP&, llvm::ArrayRef<llvm::Value*>, bool) (../../third_party/llvm-build/Release+Asserts/bin/clang+0x22e276c) #9 0x00000000022e2e7f llvm::SLPVectorizerPass::tryToVectorizePair(llvm::Value*, llvm::Value*, llvm::slpvectorizer::BoUpSLP&) (../../third_party/llvm-build/Release+Asserts/bin/clang+0x22e2e7f) #10 0x00000000022e2f62 llvm::SLPVectorizerPass::tryToVectorize(llvm::Instruction*, llvm::slpvectorizer::BoUpSLP&) (../../third_party/llvm-build/Release+Asserts/bin/clang+0x22e2f62) #11 0x00000000022e4660 (../../third_party/llvm-build/Release+Asserts/bin/clang+0x22e4660) #12 0x00000000022e6ed8 llvm::SLPVectorizerPass::vectorizeRootInstruction(llvm::PHINode*, llvm::Value*, llvm::BasicBlock*, llvm::slpvectorizer::BoUpSLP&, llvm::TargetTransformInfo*) (../../third_party/llvm-build/Release+Asserts/bin/clang+0x22e6ed8) #13 0x00000000022e75bb llvm::SLPVectorizerPass::vectorizeChainsInBlock(llvm::BasicBlock*, llvm::slpvectorizer::BoUpSLP&) (../../third_party/llvm-build/Release+Asserts/bin/clang+0x22e75bb) #14 0x00000000022e8226 (../../third_party/llvm-build/Release+Asserts/bin/clang+0x22e8226) #15 0x00000000022e95d4 (../../third_party/llvm-build/Release+Asserts/bin/clang+0x22e95d4) #16 0x0000000001d33bf3 llvm::FPPassManager::runOnFunction(llvm::Function&) (../../third_party/llvm-build/Release+Asserts/bin/clang+0x1d33bf3) #17 0x0000000001d33c9c llvm::FPPassManager::runOnModule(llvm::Module&) (../../third_party/llvm-build/Release+Asserts/bin/clang+0x1d33c9c) #18 0x0000000001d3453f llvm::legacy::PassManagerImpl::run(llvm::Module&) (../../third_party/llvm-build/Release+Asserts/bin/clang+0x1d3453f) #19 0x0000000002339b8b (../../third_party/llvm-build/Release+Asserts/bin/clang+0x2339b8b) #20 0x000000000233ae52 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::DataLayout const&, llvm::Module*, clang::BackendAction, std::unique_ptr<llvm::raw_pwrite_stream, std::default_delete<llvm::raw_pwrite_stream> >) (../../third_party/llvm-build/Release+Asserts/bin/clang+0x233ae52) #21 0x0000000002a2fc8b (../../third_party/llvm-build/Release+Asserts/bin/clang+0x2a2fc8b) #22 0x0000000002e31ae2 clang::ParseAST(clang::Sema&, bool, bool) (../../third_party/llvm-build/Release+Asserts/bin/clang+0x2e31ae2) #23 0x0000000002a2f2cf clang::CodeGenAction::ExecuteAction() (../../third_party/llvm-build/Release+Asserts/bin/clang+0x2a2f2cf) #24 0x00000000026df356 clang::FrontendAction::Execute() (../../third_party/llvm-build/Release+Asserts/bin/clang+0x26df356) #25 0x00000000026b66ae clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (../../third_party/llvm-build/Release+Asserts/bin/clang+0x26b66ae) #26 0x000000000276f56b clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (../../third_party/llvm-build/Release+Asserts/bin/clang+0x276f56b) #27 0x0000000000bd8d88 cc1_main(llvm::ArrayRef<char const*>, char const*, void*) (../../third_party/llvm-build/Release+Asserts/bin/clang+0xbd8d88) #28 0x0000000000b6d070 main (../../third_party/llvm-build/Release+Asserts/bin/clang+0xb6d070) #29 0x00007ffac8985f45 __libc_start_main /build/eglibc-SvCtMH/eglibc-2.19/csu/libc-start.c:321:0 #30 0x0000000000bd44a9 _start (../../third_party/llvm-build/Release+Asserts/bin/clang+0xbd44a9) Stack dump: 0. Program arguments: ../../third_party/llvm-build/Release+Asserts/bin/clang -cc1 -triple x86_64-unknown-linux-gnu -emit-obj -disable-free -main-file-name shell.c -mrelocation-model pic -pic-level 2 -mthread-model posix -relaxed-aliasing -fmath-errno -masm-verbose -mconstructor-aliases -munwind-tables -fuse-init-array -target-cpu x86-64 -dwarf-column-info -debug-info-kind=limited -dwarf-version=4 -debugger-tuning=gdb -ggnu-pubnames -momit-leaf-frame-pointer -ffunction-sections -fdata-sections -coverage-notes-file /b/c/b/ToTLinux/src/out/Release/obj/third_party/sqlite/sqlite_shell/shell.gcno -resource-dir ../../third_party/llvm-build/Release+Asserts/lib/clang/6.0.0 -dependency-file obj/third_party/sqlite/sqlite_shell/shell.o.d -MT obj/third_party/sqlite/sqlite_shell/shell.o -D V8_DEPRECATION_WARNINGS -D USE_UDEV -D USE_AURA=1 -D USE_GLIB=1 -D USE_NSS_CERTS=1 -D USE_X11=1 -D FULL_SAFE_BROWSING -D SAFE_BROWSING_CSD -D SAFE_BROWSING_DB_LOCAL -D CHROMIUM_BUILD -D FIELDTRIAL_TESTING_ENABLED -D _FILE_OFFSET_BITS=64 -D _LARGEFILE_SOURCE -D _LARGEFILE64_SOURCE -D CR_CLANG_REVISION="318226" -D __STDC_CONSTANT_MACROS -D __STDC_FORMAT_MACROS -D COMPONENT_BUILD -D NDEBUG -D NVALGRIND -D DYNAMIC_ANNOTATIONS_ENABLED=0 -D U_USING_ICU_NAMESPACE=0 -D U_ENABLE_DYLOAD=0 -D ICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_FILE -D UCHAR_TYPE=uint16_t -I ../../third_party/sqlite/amalgamation -I ../.. -I gen -I ../../third_party/icu/source/common -I ../../third_party/icu/source/i18n -D __DATE__= -D __TIME__= -D __TIMESTAMP__= -isysroot ../../build/linux/debian_stretch_amd64-sysroot -internal-isystem ../../build/linux/debian_stretch_amd64-sysroot/usr/local/include -internal-isystem ../../third_party/llvm-build/Release+Asserts/lib/clang/6.0.0/include -internal-externc-isystem ../../build/linux/debian_stretch_amd64-sysroot/usr/include/x86_64-linux-gnu -internal-externc-isystem ../../build/linux/debian_stretch_amd64-sysroot/include -internal-externc-isystem ../../build/linux/debian_stretch_amd64-sysroot/usr/include -O2 -Wno-builtin-macro-redefined -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-constant-compare -Wtautological-constant-out-of-range-compare -Wheader-hygiene -Wstring-conversion -Wtautological-overlap-compare -std=gnu11 -fdebug-compilation-dir /b/c/b/ToTLinux/src/out/Release -ferror-limit 19 -fmessage-length 0 -fvisibility hidden -pthread -stack-protector 1 -stack-protector-buffer-size 4 -fobjc-runtime=gcc -fdiagnostics-show-option -fcolor-diagnostics -vectorize-loops -vectorize-slp -mllvm -instcombine-lower-dbg-declare=0 -o obj/third_party/sqlite/sqlite_shell/shell.o -x c ../../third_party/sqlite/amalgamation/shell.c 1. <eof> parser at end of file 2. Per-module optimization passes 3. Running pass 'Function Pass Manager' on module '../../third_party/sqlite/amalgamation/shell.c'. 4. Running pass 'SLP Vectorizer' on function '@KeccakF1600Step' clang: error: unable to execute command: Segmentation fault (core dumped) clang: error: clang frontend command failed due to signal (use -v to see invocation) clang version 6.0.0 (trunk 318226) 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/shell-5c8a86.c clang: note: diagnostic msg: /tmp/shell-5c8a86.sh clang: note: diagnostic msg: ********************
,
Nov 15 2017
|
|
►
Sign in to add a comment |
|
Comment 1 by h...@chromium.org
, Nov 15 20178.1 KB
8.1 KB View Download
1.5 MB
1.5 MB View Download