[ 15% 13954/87886] target C++: libLLVM_swiftshader <= external/swiftshader/third_party/llvm-7.0/llvm/lib FAILED: out/target/product/generic_x86/obj/STATIC_LIBRARIES/libLLVM_swiftshader_intermediates/llvm/lib/Analysis/SyntheticCountsUtils.o /bin/bash -c "PWD=/proc/self/cwd prebuilts/clang/host/linux-x86/clang-r353983c/bin/clang++ -I bionic -I external/swiftshader/third_party/llvm-7.0/llvm/include -I external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86 -I external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AArch64 -I external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/ARM -I external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86 -I external/swiftshader/third_party/llvm-7.0/configs/android/include -I external/swiftshader/third_party/llvm-7.0/configs/common/include -I external/swiftshader/third_party/llvm-7.0/configs/common/lib/IR -I external/swiftshader/third_party/llvm-7.0/configs/common/lib/Target/AArch64 -I external/swiftshader/third_party/llvm-7.0/configs/common/lib/Target/ARM -I external/swiftshader/third_party/llvm-7.0/configs/common/lib/Target/X86 -I external/swiftshader/third_party/llvm-7.0/configs/common/lib/Transforms/InstCombine -I external/swiftshader/third_party/llvm-7.0 -I out/target/product/generic_x86/obj/STATIC_LIBRARIES/libLLVM_swiftshader_intermediates -I out/target/product/generic_x86/gen/STATIC_LIBRARIES/libLLVM_swiftshader_intermediates \$(cat out/target/product/generic_x86/obj/STATIC_LIBRARIES/libLLVM_swiftshader_intermediates/import_includes) -isystem out/target/product/generic_x86/obj/include -c -msse3 -mstackrealign -DANDROID -fmessage-length=0 -W -Wall -Wno-unused -Winit-self -Wpointer-arith -no-canonical-prefixes -DNDEBUG -UDEBUG -fno-exceptions -Wno-multichar -O2 -g -fno-strict-aliasing -fdebug-prefix-map=/proc/self/cwd= -D__compiler_offsetof=__builtin_offsetof -faddrsig -Wimplicit-fallthrough -Werror=int-conversion -Wno-reserved-id-macro -Wno-format-pedantic -Wno-unused-command-line-argument -fcolor-diagnostics -Wno-zero-as-null-pointer-constant -Wno-sign-compare -Wno-defaulted-function-deleted -Wno-inconsistent-missing-override -ffunction-sections -fdata-sections -fno-short-enums -funwind-tables -fstack-protector-strong -Wa,--noexecstack -D_FORTIFY_SOURCE=2 -Wstrict-aliasing=2 -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Werror=date-time -Werror=format-security -nostdlibinc -m32 -march=prescott -target i686-linux-android -Bprebuilts/gcc/linux-x86/x86/x86_64-linux-android-4.9/x86_64-linux-android/bin -Wsign-promo -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS -Wno-thread-safety-negative -Wno-gnu-include-next -fvisibility-inlines-hidden -std=gnu++17 -fno-rtti -DLOG_TAG=\\\"libLLVM_swiftshader\\\" -Wall -Werror -Wno-implicit-exception-spec-mismatch -Wno-overloaded-virtual -Wno-undefined-var-template -Wno-unneeded-internal-declaration -Wno-unused-const-variable -Wno-unused-function -Wno-unused-local-typedef -Wno-unused-parameter -Wno-unused-private-field -Wno-unused-variable -Wno-unknown-warning-option -Xclang -fuse-init-array -Os -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-operator-names -msse2 -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS -DANDROID_PLATFORM_SDK_VERSION=29 -U_FORTIFY_SOURCE -D__ANDROID_API__=29 -D__ANDROID_VNDK__ -fPIC -Wno-enum-compare -Wno-enum-compare-switch -Wno-null-pointer-arithmetic -Wno-null-dereference -D_USING_LIBCXX -std=c++11 -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -Werror=address-of-temporary -Werror=return-type -Wno-tautological-constant-compare -Wno-tautological-type-limit-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-tautological-unsigned-zero-compare -Wno-c++98-compat-extra-semi -Wno-return-std-move-in-c++11 -MD -MF out/target/product/generic_x86/obj/STATIC_LIBRARIES/libLLVM_swiftshader_intermediates/llvm/lib/Analysis/SyntheticCountsUtils.d -o out/target/product/generic_x86/obj/STATIC_LIBRARIES/libLLVM_swiftshader_intermediates/llvm/lib/Analysis/SyntheticCountsUtils.o external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/SyntheticCountsUtils.cpp" Stack dump: 0. Program arguments: prebuilts/clang/host/linux-x86/clang-r353983c/bin/clang++.real -cc1 -triple i686-unknown-linux-android -emit-obj -mnoexecstack -disable-free -disable-llvm-verifier -discard-value-names -main-file-name SyntheticCountsUtils.cpp -mrelocation-model pic -pic-level 2 -mthread-model posix -relaxed-aliasing -masm-verbose -mconstructor-aliases -munwind-tables -fuse-init-array -target-cpu prescott -target-feature +ssse3 -target-feature +sse3 -target-feature +sse2 -dwarf-column-info -debug-info-kind=limited -dwarf-version=4 -debugger-tuning=gdb -momit-leaf-frame-pointer -ffunction-sections -fdata-sections -coverage-notes-file /proc/self/cwd/out/target/product/generic_x86/obj/STATIC_LIBRARIES/libLLVM_swiftshader_intermediates/llvm/lib/Analysis/SyntheticCountsUtils.gcno -nostdsysteminc -resource-dir prebuilts/clang/host/linux-x86/clang-r353983c/lib64/clang/9.0.3 -dependency-file out/target/product/generic_x86/obj/STATIC_LIBRARIES/libLLVM_swiftshader_intermediates/llvm/lib/Analysis/SyntheticCountsUtils.d -MT out/target/product/generic_x86/obj/STATIC_LIBRARIES/libLLVM_swiftshader_intermediates/llvm/lib/Analysis/SyntheticCountsUtils.o -sys-header-deps -isystem out/soong/.intermediates/bionic/libc/libc.llndk/android_x86_vendor_shared/gen/include -isystem bionic/libc/kernel/android/uapi -isystem bionic/libc/kernel/uapi -isystem bionic/libc/kernel/uapi/asm-x86 -isystem out/target/product/generic_x86/obj/include -I bionic -I external/swiftshader/third_party/llvm-7.0/llvm/include -I external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86 -I external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AArch64 -I external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/ARM -I external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86 -I external/swiftshader/third_party/llvm-7.0/configs/android/include -I external/swiftshader/third_party/llvm-7.0/configs/common/include -I external/swiftshader/third_party/llvm-7.0/configs/common/lib/IR -I external/swiftshader/third_party/llvm-7.0/configs/common/lib/Target/AArch64 -I external/swiftshader/third_party/llvm-7.0/configs/common/lib/Target/ARM -I external/swiftshader/third_party/llvm-7.0/configs/common/lib/Target/X86 -I external/swiftshader/third_party/llvm-7.0/configs/common/lib/Transforms/InstCombine -I external/swiftshader/third_party/llvm-7.0 -I out/target/product/generic_x86/obj/STATIC_LIBRARIES/libLLVM_swiftshader_intermediates -I out/target/product/generic_x86/gen/STATIC_LIBRARIES/libLLVM_swiftshader_intermediates -I external/libcxx/include -I external/libcxxabi/include -D ANDROID -D NDEBUG -U DEBUG -D __compiler_offsetof=__builtin_offsetof -D _FORTIFY_SOURCE=2 -D _LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS -D LOG_TAG="libLLVM_swiftshader" -D __STDC_CONSTANT_MACROS -D __STDC_LIMIT_MACROS -D ANDROID_PLATFORM_SDK_VERSION=29 -U _FORTIFY_SOURCE -D __ANDROID_API__=29 -D __ANDROID_VNDK__ -D _USING_LIBCXX -internal-isystem prebuilts/clang/host/linux-x86/clang-r353983c/lib64/clang/9.0.3/include -Os -W -Wall -Wno-unused -Winit-self -Wpointer-arith -Wno-multichar -Wimplicit-fallthrough -Werror=int-conversion -Wno-reserved-id-macro -Wno-format-pedantic -Wno-unused-command-line-argument -Wno-zero-as-null-pointer-constant -Wno-sign-compare -Wno-defaulted-function-deleted -Wno-inconsistent-missing-override -Wstrict-aliasing=2 -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Werror=date-time -Werror=format-security -Wsign-promo -Wno-thread-safety-negative -Wno-gnu-include-next -Wall -Werror -Wno-implicit-exception-spec-mismatch -Wno-overloaded-virtual -Wno-undefined-var-template -Wno-unneeded-internal-declaration -Wno-unused-const-variable -Wno-unused-function -Wno-unused-local-typedef -Wno-unused-parameter -Wno-unused-private-field -Wno-unused-variable -Wno-unknown-warning-option -Wno-enum-compare -Wno-enum-compare-switch -Wno-null-pointer-arithmetic -Wno-null-dereference -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -Werror=address-of-temporary -Werror=return-type -Wno-tautological-constant-compare -Wno-tautological-type-limit-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-tautological-unsigned-zero-compare -Wno-c++98-compat-extra-semi -Wno-return-std-move-in-c++11 -std=c++11 -fdeprecated-macro -fdebug-compilation-dir /proc/self/cwd -fdebug-prefix-map=/proc/self/cwd= -ferror-limit 19 -fmessage-length 0 -fvisibility-inlines-hidden -fno-operator-names -stack-protector 2 -mstackrealign -fno-rtti -fobjc-runtime=gcc -fdiagnostics-show-option -fcolor-diagnostics -vectorize-loops -vectorize-slp -fuse-init-array -o out/target/product/generic_x86/obj/STATIC_LIBRARIES/libLLVM_swiftshader_intermediates/llvm/lib/Analysis/SyntheticCountsUtils.o -x c++ external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/SyntheticCountsUtils.cpp -faddrsig 1. external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Support/CommandLine.h:954:2: current parser token ';' 2. external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Support/CommandLine.h:43:1: parsing namespace 'llvm' 3. external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Support/CommandLine.h:51:1: parsing namespace 'llvm::cl' 4. external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Support/CommandLine.h:939:13: parsing struct/union/class body 'llvm::cl::parser<unsigned int>' #0 0x00000000025a7a05 llvm::sys::PrintStackTrace(llvm::raw_ostream&) (prebuilts/clang/host/linux-x86/clang-r353983c/bin/clang++.real+0x25a7a05) #1 0x00000000025a63ce llvm::sys::RunSignalHandlers() (prebuilts/clang/host/linux-x86/clang-r353983c/bin/clang++.real+0x25a63ce) #2 0x00000000025a7eb8 (prebuilts/clang/host/linux-x86/clang-r353983c/bin/clang++.real+0x25a7eb8) #3 0x00007f6139fff890 __restore_rt (/lib/x86_64-linux-gnu/libpthread.so.0+0x12890) #4 0x0000000003502878 (prebuilts/clang/host/linux-x86/clang-r353983c/bin/clang++.real+0x3502878) #5 0x0000000003502725 clang::Sema::DiagnoseUnusedDecl(clang::NamedDecl const*) (prebuilts/clang/host/linux-x86/clang-r353983c/bin/clang++.real+0x3502725) #6 0x0000000003502cce clang::Sema::ActOnPopScope(clang::SourceLocation, clang::Scope*) (prebuilts/clang/host/linux-x86/clang-r353983c/bin/clang++.real+0x3502cce) #7 0x0000000003392f2a clang::Parser::ExitScope() (prebuilts/clang/host/linux-x86/clang-r353983c/bin/clang++.real+0x3392f2a) #8 0x00000000033edba2 clang::Parser::ParseCXXMemberSpecification(clang::SourceLocation, clang::SourceLocation, clang::Parser::ParsedAttributesWithRange&, unsigned int, clang::Decl*) (prebuilts/clang/host/linux-x86/clang-r353983c/bin/clang++.real+0x33edba2) #9 0x00000000033eb375 clang::Parser::ParseClassSpecifier(clang::tok::TokenKind, clang::SourceLocation, clang::DeclSpec&, clang::Parser::ParsedTemplateInfo const&, clang::AccessSpecifier, bool, clang::Parser::DeclSpecContext, clang::Parser::ParsedAttributesWithRange&) (prebuilts/clang/host/linux-x86/clang-r353983c/bin/clang++.real+0x33eb375) #10 0x00000000033c0fbc clang::Parser::ParseDeclarationSpecifiers(clang::DeclSpec&, clang::Parser::ParsedTemplateInfo const&, clang::AccessSpecifier, clang::Parser::DeclSpecContext, clang::Parser::LateParsedAttrList*) (prebuilts/clang/host/linux-x86/clang-r353983c/bin/clang++.real+0x33c0fbc) #11 0x00000000033f9f16 clang::Parser::ParseSingleDeclarationAfterTemplate(clang::DeclaratorContext, clang::Parser::ParsedTemplateInfo const&, clang::ParsingDeclRAIIObject&, clang::SourceLocation&, clang::ParsedAttributes&, clang::AccessSpecifier) (prebuilts/clang/host/linux-x86/clang-r353983c/bin/clang++.real+0x33f9f16) #12 0x00000000033f9bc4 clang::Parser::ParseTemplateDeclarationOrSpecialization(clang::DeclaratorContext, clang::SourceLocation&, clang::ParsedAttributes&, clang::AccessSpecifier) (prebuilts/clang/host/linux-x86/clang-r353983c/bin/clang++.real+0x33f9bc4) #13 0x00000000033f9641 clang::Parser::ParseDeclarationStartingWithTemplate(clang::DeclaratorContext, clang::SourceLocation&, clang::ParsedAttributes&, clang::AccessSpecifier) (prebuilts/clang/host/linux-x86/clang-r353983c/bin/clang++.real+0x33f9641) #14 0x00000000033c07af clang::Parser::ParseDeclaration(clang::DeclaratorContext, clang::SourceLocation&, clang::Parser::ParsedAttributesWithRange&) (prebuilts/clang/host/linux-x86/clang-r353983c/bin/clang++.real+0x33c07af) #15 0x000000000339496a clang::Parser::ParseExternalDeclaration(clang::Parser::ParsedAttributesWithRange&, clang::ParsingDeclSpec*) (prebuilts/clang/host/linux-x86/clang-r353983c/bin/clang++.real+0x339496a) #16 0x00000000033e7892 clang::Parser::ParseInnerNamespace(llvm::SmallVector<clang::Parser::InnerNamespaceInfo, 4u> const&, unsigned int, clang::SourceLocation&, clang::ParsedAttributes&, clang::BalancedDelimiterTracker&) (prebuilts/clang/host/linux-x86/clang-r353983c/bin/clang++.real+0x33e7892) #17 0x00000000033e65fa clang::Parser::ParseNamespace(clang::DeclaratorContext, clang::SourceLocation&, clang::SourceLocation) (prebuilts/clang/host/linux-x86/clang-r353983c/bin/clang++.real+0x33e65fa) #18 0x00000000033c0807 clang::Parser::ParseDeclaration(clang::DeclaratorContext, clang::SourceLocation&, clang::Parser::ParsedAttributesWithRange&) (prebuilts/clang/host/linux-x86/clang-r353983c/bin/clang++.real+0x33c0807) #19 0x000000000339496a clang::Parser::ParseExternalDeclaration(clang::Parser::ParsedAttributesWithRange&, clang::ParsingDeclSpec*) (prebuilts/clang/host/linux-x86/clang-r353983c/bin/clang++.real+0x339496a) #20 0x00000000033e7892 clang::Parser::ParseInnerNamespace(llvm::SmallVector<clang::Parser::InnerNamespaceInfo, 4u> const&, unsigned int, clang::SourceLocation&, clang::ParsedAttributes&, clang::BalancedDelimiterTracker&) (prebuilts/clang/host/linux-x86/clang-r353983c/bin/clang++.real+0x33e7892) #21 0x00000000033e65fa clang::Parser::ParseNamespace(clang::DeclaratorContext, clang::SourceLocation&, clang::SourceLocation) (prebuilts/clang/host/linux-x86/clang-r353983c/bin/clang++.real+0x33e65fa) #22 0x00000000033c0807 clang::Parser::ParseDeclaration(clang::DeclaratorContext, clang::SourceLocation&, clang::Parser::ParsedAttributesWithRange&) (prebuilts/clang/host/linux-x86/clang-r353983c/bin/clang++.real+0x33c0807) #23 0x000000000339496a clang::Parser::ParseExternalDeclaration(clang::Parser::ParsedAttributesWithRange&, clang::ParsingDeclSpec*) (prebuilts/clang/host/linux-x86/clang-r353983c/bin/clang++.real+0x339496a) #24 0x0000000003394394 clang::Parser::ParseTopLevelDecl(clang::OpaquePtr<clang::DeclGroupRef>&) (prebuilts/clang/host/linux-x86/clang-r353983c/bin/clang++.real+0x3394394) #25 0x0000000003390f92 clang::ParseAST(clang::Sema&, bool, bool) (prebuilts/clang/host/linux-x86/clang-r353983c/bin/clang++.real+0x3390f92) #26 0x0000000002aad345 clang::FrontendAction::Execute() (prebuilts/clang/host/linux-x86/clang-r353983c/bin/clang++.real+0x2aad345) #27 0x0000000002a50818 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (prebuilts/clang/host/linux-x86/clang-r353983c/bin/clang++.real+0x2a50818) #28 0x0000000002b1ed15 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (prebuilts/clang/host/linux-x86/clang-r353983c/bin/clang++.real+0x2b1ed15) #29 0x00000000019c09a4 cc1_main(llvm::ArrayRef<char const*>, char const*, void*) (prebuilts/clang/host/linux-x86/clang-r353983c/bin/clang++.real+0x19c09a4) #30 0x00000000019bcfd1 main (prebuilts/clang/host/linux-x86/clang-r353983c/bin/clang++.real+0x19bcfd1) #31 0x00007f613903eb97 __libc_start_main /build/glibc-OTsEL5/glibc-2.27/csu/../csu/libc-start.c:344:0 #32 0x00000000019bc029 _start (prebuilts/clang/host/linux-x86/clang-r353983c/bin/clang++.real+0x19bc029) clang++: error: unable to execute command: Segmentation fault clang++: error: clang frontend command failed due to signal (use -v to see invocation) Android (5484270 based on r353983c) clang version 9.0.3 (https://android.googlesource.com/toolchain/clang 745b335211bb9eadfa6aa6301f84715cee4b37c5) (https://android.googlesource.com/toolchain/llvm 60cf23e54e46c807513f7a36d0a7b777920b5881) (based on LLVM 9.0.3svn) Target: i686-unknown-linux-android Thread model: posix InstalledDir: prebuilts/clang/host/linux-x86/clang-r353983c/bin clang++: note: diagnostic msg: PLEASE submit a bug report to https://github.com/android-ndk/ndk/issues and include the crash backtrace, preprocessed source, and associated run script. clang++: note: diagnostic msg:
-- -- You received this message because you are subscribed to the "Android Building" mailing list. To post to this group, send email to android-building@googlegroups.com To unsubscribe from this group, send email to android-building+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-building?hl=en --- You received this message because you are subscribed to the Google Groups "Android Building" group. To unsubscribe from this group and stop receiving emails from it, send an email to android-building+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/android-building/55536bb5-c0b2-4622-980a-618214b8a51c%40googlegroups.com.