Quuxplusone / LLVMBugzillaTest

0 stars 0 forks source link

Assertion failure at getASTRecordLayout() in RecordLayoutBuilder.cpp #29044

Closed Quuxplusone closed 7 years ago

Quuxplusone commented 8 years ago
Bugzilla Link PR29049
Status RESOLVED WORKSFORME
Importance P normal
Reported by MinSeong KIM (minseong.kim@linaro.org)
Reported on 2016-08-19 01:35:35 -0700
Last modified on 2017-01-30 11:49:58 -0800
Version trunk
Hardware PC Windows NT
CC hans@chromium.org, llvm-bugs@lists.llvm.org
Fixed by commit(s)
Attachments atomics_arm-05be26.c (111 bytes, application/octet-stream)
thread-05ce58.sh (12772 bytes, application/octet-stream)
thread-05ce58.cpp (93 bytes, application/octet-stream)
Blocks
Blocked by
See also
FAILED: /bin/bash -c "(PWD=/proc/self/cwd
/home/minseong.kim/linaro_CI/djmin/llvm/build/install/linux-x86/clang-
3016494/bin/clang++     -I external/gtest/include -I
external/icu/icu4c/source/common -I external/lz4/lib -I
external/valgrind/include -I external/valgrind -I external/vixl/src -I
external/zlib -I bionic/libc/private -I art/cmdline -I art/sigchainlib -I art -
I art/runtime -I out/host/linux-x86/obj/SHARED_LIBRARIES/libart_intermediates -
I out/host/linux-x86/gen/SHARED_LIBRARIES/libart_intermediates -I
libnativehelper/include/nativehelper \$(cat out/host/linux-
x86/obj/SHARED_LIBRARIES/libart_intermediates/import_includes)   -isystem
system/core/include -isystem system/media/audio/include -isystem
hardware/libhardware/include -isystem hardware/libhardware_legacy/include -
isystem hardware/ril/include -isystem libnativehelper/include -isystem
frameworks/native/include -isystem frameworks/native/opengl/include -isystem
frameworks/av/include -isystem frameworks/base/include -isystem out/host/linux-
x86/obj/include -c  -fno-exceptions -Wno-multichar -Wa,--noexecstack -fPIC -no-
canonical-prefixes -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector -
D__STDC_FORMAT_MACROS -D__STDC_CONSTANT_MACROS -O2 -g -fno-strict-aliasing--gcc-
toolchain=prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8 --sysroot
prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot -fstack-
protector-strong -m64 -DANDROID -fmessage-length=0 -W -Wall -Wno-unused -Winit-
self -Wpointer-arith -DNDEBUG -UDEBUG -fdebug-prefix-map=/proc/self/cwd= -
D__compiler_offsetof=__builtin_offsetof -Werror=int-conversion -Wno-reserved-id-
macro -Wno-format-pedantic -Wno-unused-command-line-argument -fcolor-
diagnostics -Wno-expansion-to-defined   -target x86_64-linux-gnu -
Bprebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/x86_64-linux/bin  -
Wsign-promo -Wno-inconsistent-missing-override -Wno-null-dereference -isystem
prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/x86_64-
linux/include/c++/4.8 -isystem prebuilts/gcc/linux-x86/host/x86_64-linux-
glibc2.15-4.8/x86_64-linux/include/c++/4.8/backward -isystem
prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/x86_64-
linux/include/c++/4.8/x86_64-linux  -DBUILDING_LIBART=1 -Wthread-safety -
Wthread-safety-negative -Wimplicit-fallthrough -Wfloat-equal -Wint-to-void-
pointer-cast -Wused-but-marked-unused -Wdeprecated -Wunreachable-code-break -
Wunreachable-code-return -Wno-constant-conversion -Wno-undefined-var-template -
Wmissing-noreturn -fno-rtti -std=gnu++11 -ggdb3 -Wall -Werror -Wextra -Wstrict-
aliasing -fstrict-aliasing -Wunreachable-code -Wredundant-decls -Wshadow -
Wunused -fvisibility=protected-DART_DEFAULT_GC_TYPE_IS_CMS -DIMT_SIZE=43 -fno-
omit-frame-pointer -DART_BASE_ADDRESS=0x60000000 -
DART_DEFAULT_INSTRUCTION_SET_FEATURES=default -DART_ENABLE_CODEGEN_arm -
DART_ENABLE_CODEGEN_arm64 -DART_ENABLE_CODEGEN_mips -DART_ENABLE_CODEGEN_mips64
-DART_ENABLE_CODEGEN_x86 -DART_ENABLE_CODEGEN_x86_64 -
DART_FRAME_SIZE_LIMIT=1736 -DART_STACK_OVERFLOW_GAP_arm=8192 -
DART_STACK_OVERFLOW_GAP_arm64=8192 -DART_STACK_OVERFLOW_GAP_mips=16384 -
DART_STACK_OVERFLOW_GAP_mips64=16384 -DART_STACK_OVERFLOW_GAP_x86=8192 -
DART_STACK_OVERFLOW_GAP_x86_64=8192 -DART_BASE_ADDRESS_MIN_DELTA=-0x1000000 -
DART_BASE_ADDRESS_MAX_DELTA=0x1000000 -
DART_DEFAULT_INSTRUCTION_SET_FEATURES=\"default\" -O3 -Wframe-larger-than=1736 -
Wno-error=expansion-to-defined -Wno-error=undefined-var-template -Wno-
error=unreachable-code -Wno-error=null-dereference -Wno-address-of-packed-
member -fPIC -D_USING_LIBCXX -DANDROID_STRICT -std=gnu++14 -nostdinc++  -
Werror=int-to-pointer-cast -Werror=pointer-to-int-cast  -Werror=address-of-
temporary -Werror=return-type    -MD -MF out/host/linux-
x86/obj/SHARED_LIBRARIES/libart_intermediates/thread.d -o out/host/linux-
x86/obj/SHARED_LIBRARIES/libart_intermediates/thread.o art/runtime/thread.cc )
&& (cp out/host/linux-x86/obj/SHARED_LIBRARIES/libart_intermediates/thread.d
out/host/linux-x86/obj/SHARED_LIBRARIES/libart_intermediates/thread.P; sed -e
's/#.*//' -e 's/^[^:]*: *//' -e 's/ *\\\\\$//' -e '/^\$/ d' -e's/\$/ :/' <
out/host/linux-x86/obj/SHARED_LIBRARIES/libart_intermediates/thread.d >>
out/host/linux-x86/obj/SHARED_LIBRARIES/libart_intermediates/thread.P; rm -f
out/host/linux-x86/obj/SHARED_LIBRARIES/libart_intermediates/thread.d )"
clang++:
/home/minseong.kim/linaro_CI/djmin/llvm/tools/clang/lib/AST/RecordLayoutBuilder.cpp:2933:
const clang::ASTRecordLayout& clang::ASTContext::getASTRecordLayout(const
clang::RecordDecl*) const: Assertion `D && "Cannot get layout of forward
declarations!"' failed.
#0 0x0000000001c4f185 llvm::sys::PrintStackTrace(llvm::raw_ostream&)
(/home/minseong.kim/linaro_CI/djmin/llvm/build/install/linux-x86/clang-3016494/bin/clang+++0x1c4f185)
#1 0x0000000001c4d12e llvm::sys::RunSignalHandlers()
(/home/minseong.kim/linaro_CI/djmin/llvm/build/install/linux-x86/clang-3016494/bin/clang+++0x1c4d12e)
#2 0x0000000001c4d292 SignalHandler(int)
(/home/minseong.kim/linaro_CI/djmin/llvm/build/install/linux-x86/clang-3016494/bin/clang+++0x1c4d292)
#3 0x00007fc34fbca330 __restore_rt (/lib/x86_64-linux-
gnu/libpthread.so.0+0x10330)
#4 0x00007fc34e9c5c37 gsignal /build/eglibc-oGUzwX/eglibc-
2.19/signal/../nptl/sysdeps/unix/sysv/linux/raise.c:56:0
#5 0x00007fc34e9c9028 abort /build/eglibc-oGUzwX/eglibc-2.19/stdlib/abort.c:91:0
#6 0x00007fc34e9bebf6 __assert_fail_base /build/eglibc-oGUzwX/eglibc-
2.19/assert/assert.c:92:0
#7 0x00007fc34e9beca2 (/lib/x86_64-linux-gnu/libc.so.6+0x2fca2)
#8 0x00000000031cd653 clang::ASTContext::getASTRecordLayout(clang::RecordDecl
const*) const (/home/minseong.kim/linaro_CI/djmin/llvm/build/install/linux-
x86/clang-3016494/bin/clang+++0x31cd653)
#9 0x00000000030588d8 clang::ASTContext::getTypeInfoImpl(clang::Type const*)
const (/home/minseong.kim/linaro_CI/djmin/llvm/build/install/linux-x86/clang-
3016494/bin/clang+++0x30588d8)
#10 0x0000000003054857 clang::ASTContext::getTypeInfo(clang::Type const*) const
(/home/minseong.kim/linaro_CI/djmin/llvm/build/install/linux-x86/clang-3016494/bin/clang+++0x3054857)
#11 0x0000000003057fc1 clang::ASTContext::getTypeInfoImpl(clang::Type const*)
const (/home/minseong.kim/linaro_CI/djmin/llvm/build/install/linux-x86/clang-
3016494/bin/clang+++0x3057fc1)
#12 0x0000000003054857 clang::ASTContext::getTypeInfo(clang::Type const*) const
(/home/minseong.kim/linaro_CI/djmin/llvm/build/install/linux-x86/clang-3016494/bin/clang+++0x3054857)
#13 0x0000000003057f22 clang::ASTContext::getTypeAlignInChars(clang::QualType)
const (/home/minseong.kim/linaro_CI/djmin/llvm/build/install/linux-x86/clang-
3016494/bin/clang+++0x3057f22)
#14 0x0000000002936be5 clang::Sema::DiscardMisalignedMemberAddress(clang::Type
const*, clang::Expr*)
(/home/minseong.kim/linaro_CI/djmin/llvm/build/install/linux-x86/clang-3016494/bin/clang+++0x2936be5)
#15 0x00000000029240d9 clang::Sema::BuildCXXNamedCast(clang::SourceLocation,
clang::tok::TokenKind, clang::TypeSourceInfo*, clang::Expr*,
clang::SourceRange,
clang::SourceRange)(/home/minseong.kim/linaro_CI/djmin/llvm/build/install/linux-x86/clang-3016494/bin/clang+++0x29240d9)
#16 0x00000000029254c2 clang::Sema::ActOnCXXNamedCast(clang::SourceLocation,
clang::tok::TokenKind, clang::SourceLocation, clang::Declarator&,
clang::SourceLocation, clang::SourceLocation, clang::Expr*,
clang::SourceLocation)
(/home/minseong.kim/linaro_CI/djmin/llvm/build/install/linux-x86/clang-3016494/bin/clang+++0x29254c2)
#17 0x0000000002754256 clang::Parser::ParseCXXCasts()
(/home/minseong.kim/linaro_CI/djmin/llvm/build/install/linux-x86/clang-3016494/bin/clang+++0x2754256)
#18 0x0000000002749505 clang::Parser::ParseCastExpression(bool, bool, bool&,
clang::Parser::TypeCastState)
(/home/minseong.kim/linaro_CI/djmin/llvm/build/install/linux-x86/clang-3016494/bin/clang+++0x2749505)
#19 0x000000000274afad clang::Parser::ParseCastExpression(bool, bool,
clang::Parser::TypeCastState)
(/home/minseong.kim/linaro_CI/djmin/llvm/build/install/linux-x86/clang-3016494/bin/clang+++0x274afad)
#20 0x000000000274b039
clang::Parser::ParseAssignmentExpression(clang::Parser::TypeCastState)
(/home/minseong.kim/linaro_CI/djmin/llvm/build/install/linux-x86/clang-3016494/bin/clang+++0x274b039)
#21 0x0000000002720a56
clang::Parser::ParseDeclarationAfterDeclaratorAndAttributes(clang::Declarator&,
clang::Parser::ParsedTemplateInfo const&, clang::Parser::ForRangeInit*)
(/home/minseong.kim/linaro_CI/djmin/llvm/build/install/linux-x86/clang-3016494/bin/clang+++0x2720a56)
#22 0x000000000272f537 clang::Parser::ParseDeclGroup(clang::ParsingDeclSpec&,
unsigned int, clang::SourceLocation*, clang::Parser::ForRangeInit*)
(/home/minseong.kim/linaro_CI/djmin/llvm/build/install/linux-x86/clang-3016494/bin/clang+++0x272f537)
#23 0x0000000002731f44 clang::Parser::ParseSimpleDeclaration(unsigned int,
clang::SourceLocation&, clang::Parser::ParsedAttributesWithRange&, bool,
clang::Parser::ForRangeInit*)(/home/minseong.kim/linaro_CI/djmin/llvm/build/install/linux-x86/clang-3016494/bin/clang+++0x2731f44)
#24 0x000000000273224d clang::Parser::ParseDeclaration(unsigned int,
clang::SourceLocation&, clang::Parser::ParsedAttributesWithRange&)
(/home/minseong.kim/linaro_CI/djmin/llvm/build/install/linux-x86/clang-3016494/bin/clang+++0x273224d)
#25 0x0000000002780dad
clang::Parser::ParseStatementOrDeclarationAfterAttributes(llvm::SmallVector<clang::Stmt*,
32u>&, clang::Parser::AllowedContsructsKind, clang::SourceLocation*,
clang::Parser::ParsedAttributesWithRange&)
(/home/minseong.kim/linaro_CI/djmin/llvm/build/install/linux-x86/clang-3016494/bin/clang+++0x2780dad)
#26 0x0000000002780f9d
clang::Parser::ParseStatementOrDeclaration(llvm::SmallVector<clang::Stmt*,
32u>&, clang::Parser::AllowedContsructsKind, clang::SourceLocation*)
(/home/minseong.kim/linaro_CI/djmin/llvm/build/install/linux-x86/clang-3016494/bin/clang+++0x2780f9d)
#27 0x0000000002784517 clang::Parser::ParseCompoundStatementBody(bool)
(/home/minseong.kim/linaro_CI/djmin/llvm/build/install/linux-x86/clang-3016494/bin/clang+++0x2784517)
#28 0x000000000278661f clang::Parser::ParseFunctionStatementBody(clang::Decl*,
clang::Parser::ParseScope&)
(/home/minseong.kim/linaro_CI/djmin/llvm/build/install/linux-x86/clang-3016494/bin/clang+++0x278661f)
#29 0x0000000002712209
clang::Parser::ParseFunctionDefinition(clang::ParsingDeclarator&,
clang::Parser::ParsedTemplateInfo const&, clang::Parser::LateParsedAttrList*)
(/home/minseong.kim/linaro_CI/djmin/llvm/build/install/linux-x86/clang-3016494/bin/clang+++0x2712209)
#30 0x000000000272fd10 clang::Parser::ParseDeclGroup(clang::ParsingDeclSpec&,
unsigned int, clang::SourceLocation*, clang::Parser::ForRangeInit*)
(/home/minseong.kim/linaro_CI/djmin/llvm/build/install/linux-x86/clang-3016494/bin/clang+++0x272fd10)
#31 0x000000000270f302
clang::Parser::ParseDeclOrFunctionDefInternal(clang::Parser::ParsedAttributesWithRange&,
clang::ParsingDeclSpec&, clang::AccessSpecifier)
(/home/minseong.kim/linaro_CI/djmin/llvm/build/install/linux-x86/clang-3016494/bin/clang+++0x270f302)
#32 0x000000000270f9de
clang::Parser::ParseDeclarationOrFunctionDefinition(clang::Parser::ParsedAttributesWithRange&,
clang::ParsingDeclSpec*, clang::AccessSpecifier)
(/home/minseong.kim/linaro_CI/djmin/llvm/build/install/linux-x86/clang-3016494/bin/clang+++0x270f9de)
#33 0x000000000271358f
clang::Parser::ParseExternalDeclaration(clang::Parser::ParsedAttributesWithRange&,
clang::ParsingDeclSpec*)
(/home/minseong.kim/linaro_CI/djmin/llvm/build/install/linux-x86/clang-3016494/bin/clang+++0x271358f)
#34 0x000000000273d66a
clang::Parser::ParseInnerNamespace(std::vector<clang::SourceLocation,
std::allocator<clang::SourceLocation> >&, std::vector<clang::IdentifierInfo*,
std::allocator<clang::IdentifierInfo*> >&, std::vector<clang::SourceLocation,
std::allocator<clang::SourceLocation> >&, unsigned int, clang::SourceLocation&,
clang::ParsedAttributes&, clang::BalancedDelimiterTracker&)
(/home/minseong.kim/linaro_CI/djmin/llvm/build/install/linux-x86/clang-3016494/bin/clang+++0x273d66a)
#35 0x000000000273ded8 clang::Parser::ParseNamespace(unsigned int,
clang::SourceLocation&, clang::SourceLocation)
(/home/minseong.kim/linaro_CI/djmin/llvm/build/install/linux-x86/clang-3016494/bin/clang+++0x273ded8)
#36 0x0000000002732424 clang::Parser::ParseDeclaration(unsigned int,
clang::SourceLocation&, clang::Parser::ParsedAttributesWithRange&)
(/home/minseong.kim/linaro_CI/djmin/llvm/build/install/linux-x86/clang-3016494/bin/clang+++0x2732424)
#37 0x00000000027135b1
clang::Parser::ParseExternalDeclaration(clang::Parser::ParsedAttributesWithRange&,
clang::ParsingDeclSpec*)
(/home/minseong.kim/linaro_CI/djmin/llvm/build/install/linux-x86/clang-3016494/bin/clang+++0x27135b1)
#38 0x0000000002713fc4
clang::Parser::ParseTopLevelDecl(clang::OpaquePtr<clang::DeclGroupRef>&)
(/home/minseong.kim/linaro_CI/djmin/llvm/build/install/linux-x86/clang-3016494/bin/clang+++0x2713fc4)
#39 0x000000000270ca43 clang::ParseAST(clang::Sema&, bool, bool)
(/home/minseong.kim/linaro_CI/djmin/llvm/build/install/linux-x86/clang-3016494/bin/clang+++0x270ca43)
#40 0x00000000023a76ce clang::CodeGenAction::ExecuteAction()
(/home/minseong.kim/linaro_CI/djmin/llvm/build/install/linux-x86/clang-3016494/bin/clang+++0x23a76ce)
#41 0x00000000020c32c6 clang::FrontendAction::Execute()
(/home/minseong.kim/linaro_CI/djmin/llvm/build/install/linux-x86/clang-3016494/bin/clang+++0x20c32c6)
#42 0x000000000209e04e
clang::CompilerInstance::ExecuteAction(clang::FrontendAction&)
(/home/minseong.kim/linaro_CI/djmin/llvm/build/install/linux-x86/clang-3016494/bin/clang+++0x209e04e)
#43 0x0000000002148ea6
clang::ExecuteCompilerInvocation(clang::CompilerInstance*)
(/home/minseong.kim/linaro_CI/djmin/llvm/build/install/linux-x86/clang-3016494/bin/clang+++0x2148ea6)
#44 0x0000000000a657b8 cc1_main(llvm::ArrayRef<char const*>, char const*,
void*) (/home/minseong.kim/linaro_CI/djmin/llvm/build/install/linux-x86/clang-
3016494/bin/clang+++0xa657b8)
#45 0x0000000000a101af main
(/home/minseong.kim/linaro_CI/djmin/llvm/build/install/linux-x86/clang-3016494/bin/clang+++0xa101af)
#46 0x00007fc34e9b0f45 __libc_start_main /build/eglibc-oGUzwX/eglibc-
2.19/csu/libc-start.c:321:0
#47 0x0000000000a6166d _start
(/home/minseong.kim/linaro_CI/djmin/llvm/build/install/linux-x86/clang-3016494/bin/clang+++0xa6166d)
Stack dump:
0.  Program arguments:
/home/minseong.kim/linaro_CI/djmin/llvm/build/install/linux-x86/clang-
3016494/bin/clang++ -cc1 -triple x86_64--linux-gnu -emit-obj -mnoexecstack -
disable-free -main-file-name thread.cc -mrelocation-model pic -pic-level 2 -
mthread-model posix -mllvm -warn-stack-size=1736 -mdisable-fp-elim -fmath-errno
-masm-verbose -mconstructor-aliases -munwind-tables -target-cpu x86-64 -momit-
leaf-frame-pointer -dwarf-column-info -debug-info-kind=limited -dwarf-version=4
-debugger-tuning=gdb -coverage-file /proc/self/cwd/out/host/linux-
x86/obj/SHARED_LIBRARIES/libart_intermediates/thread.o -nostdinc++ -resource-
dir /home/minseong.kim/linaro_CI/djmin/llvm/build/install/linux-x86/clang-
3016494/bin/../lib/clang/4.0.0 -dependency-file out/host/linux-
x86/obj/SHARED_LIBRARIES/libart_intermediates/thread.d -MT out/host/linux-
x86/obj/SHARED_LIBRARIES/libart_intermediates/thread.o -sys-header-deps -
isystem system/core/include -isystem system/media/audio/include -isystem
hardware/libhardware/include -isystem hardware/libhardware_legacy/include -
isystem hardware/ril/include -isystem libnativehelper/include -isystem
frameworks/native/include -isystem frameworks/native/opengl/include -isystem
frameworks/av/include -isystem frameworks/base/include -isystem out/host/linux-
x86/obj/include -isystem prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-
4.8/x86_64-linux/include/c++/4.8 -isystem prebuilts/gcc/linux-x86/host/x86_64-
linux-glibc2.15-4.8/x86_64-linux/include/c++/4.8/backward -isystem
prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/x86_64-
linux/include/c++/4.8/x86_64-linux -I external/gtest/include -I
external/icu/icu4c/source/common -I external/lz4/lib -I
external/valgrind/include -I external/valgrind -I external/vixl/src -I
external/zlib -I bionic/libc/private -I art/cmdline -I art/sigchainlib -I art -
I art/runtime -I out/host/linux-x86/obj/SHARED_LIBRARIES/libart_intermediates -
I out/host/linux-x86/gen/SHARED_LIBRARIES/libart_intermediates -I
libnativehelper/include/nativehelper -I libnativehelper/include -I
system/core/libnativeloader/include -I external/lz4/lib -I external/zlib -I
external/libcxx/include -I external/libcxxabi/include -U _FORTIFY_SOURCE -D
_FORTIFY_SOURCE=2 -D __STDC_FORMAT_MACROS -D __STDC_CONSTANT_MACROS -D ANDROID -
D NDEBUG -U DEBUG -D __compiler_offsetof=__builtin_offsetof -D
BUILDING_LIBART=1 -D ART_DEFAULT_GC_TYPE_IS_CMS -D IMT_SIZE=43 -D
ART_BASE_ADDRESS=0x60000000 -D ART_DEFAULT_INSTRUCTION_SET_FEATURES=default -D
ART_ENABLE_CODEGEN_arm -D ART_ENABLE_CODEGEN_arm64 -D ART_ENABLE_CODEGEN_mips -
D ART_ENABLE_CODEGEN_mips64 -D ART_ENABLE_CODEGEN_x86 -D
ART_ENABLE_CODEGEN_x86_64 -D ART_FRAME_SIZE_LIMIT=1736 -D
ART_STACK_OVERFLOW_GAP_arm=8192 -D ART_STACK_OVERFLOW_GAP_arm64=8192 -D
ART_STACK_OVERFLOW_GAP_mips=16384 -D ART_STACK_OVERFLOW_GAP_mips64=16384 -D
ART_STACK_OVERFLOW_GAP_x86=8192 -D ART_STACK_OVERFLOW_GAP_x86_64=8192 -D
ART_BASE_ADDRESS_MIN_DELTA=-0x1000000 -D ART_BASE_ADDRESS_MAX_DELTA=0x1000000 -
D ART_DEFAULT_INSTRUCTION_SET_FEATURES=default -D _USING_LIBCXX -D
ANDROID_STRICT -isysroot prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-
4.8/sysroot -internal-isystem prebuilts/gcc/linux-x86/host/x86_64-linux-
glibc2.15-4.8/sysroot/usr/local/include -internal-isystem
/home/minseong.kim/linaro_CI/djmin/llvm/build/install/linux-x86/clang-
3016494/bin/../lib/clang/4.0.0/include -internal-externc-isystem
prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-
4.8/sysroot/usr/include/x86_64-linux-gnu -internal-externc-isystem
prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/include -
internal-externc-isystem prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-
4.8/sysroot/usr/include -O3 -Wno-multichar -W -Wall -Wno-unused -Winit-self -
Wpointer-arith -Werror=int-conversion -Wno-reserved-id-macro -Wno-format-
pedantic -Wno-unused-command-line-argument -Wno-expansion-to-defined -Wsign-
promo -Wno-inconsistent-missing-override -Wno-null-dereference -Wthread-safety -
Wthread-safety-negative -Wimplicit-fallthrough -Wfloat-equal -Wint-to-void-
pointer-cast -Wused-but-marked-unused -Wdeprecated -Wunreachable-code-break -
Wunreachable-code-return -Wno-constant-conversion -Wno-undefined-var-template -
Wmissing-noreturn -Wall -Werror -Wextra -Wstrict-aliasing -Wunreachable-code -
Wredundant-decls -Wshadow -Wunused -Wno-error=expansion-to-defined -Wno-
error=undefined-var-template -Wno-error=unreachable-code -Wno-error=null-
dereference -Wno-address-of-packed-member -Werror=int-to-pointer-cast -
Werror=pointer-to-int-cast -Werror=address-of-temporary -Werror=return-type -
std=gnu++14 -fdeprecated-macro -fdebug-compilation-dir /proc/self/cwd -fdebug-
prefix-map=/proc/self/cwd= -ferror-limit 19 -fmessage-length 0 -fvisibility
protected -stack-protector 2 -fno-rtti -fobjc-runtime=gcc -fdiagnostics-show-
option -fcolor-diagnostics -vectorize-loops -vectorize-slp -o out/host/linux-
x86/obj/SHARED_LIBRARIES/libart_intermediates/thread.o -x c++
art/runtime/thread.cc
1.  art/runtime/thread.cc:1198:94: current parser token ';'
2.  art/runtime/thread.cc:87:1: parsing namespace 'art'
3.  art/runtime/thread.cc:1197:36: parsing function body
'art::Thread::GetFlipFunction'
4.  art/runtime/thread.cc:1197:36: in compound statement ('{}')
clang++: error: unable to execute command: Aborted (core dumped)
clang++: error: clang frontend command failed due to signal (use -v to see
invocation)
clang version 4.0.0 (http://llvm.org/git/clang.git
9b42d36aba7ec6e63bc2ef52d7dd559b4946acf3) (http://llvm.org/git/llvm.git
6bdf6418b8c7df1e39c9276aa2b409f90c3005d4)
Target: x86_64--linux-gnu
Thread model: posix
InstalledDir: /home/minseong.kim/linaro_CI/djmin/llvm/build/install/linux-
x86/clang-3016494/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/thread-9ac53d.cpp
clang++: note: diagnostic msg: /tmp/thread-9ac53d.sh
clang++: note: diagnostic msg:

********************
Quuxplusone commented 8 years ago
Comment on attachment 17046
creduced test-case

Ignore the attachment creduced test-case. Wrong attchment by mistake.
Quuxplusone commented 8 years ago

Attached atomics_arm-05be26.c (111 bytes, application/octet-stream): creduced test-case

Quuxplusone commented 8 years ago

Attached thread-05ce58.sh (12772 bytes, application/octet-stream): Run script

Quuxplusone commented 8 years ago

Attached thread-05ce58.cpp (93 bytes, application/octet-stream): creduced source file

Quuxplusone commented 8 years ago

Original file that caused the assertion failure cannot be attached here due to its size. If requested, I will email accordingly.

Quuxplusone commented 7 years ago

I get a bunch of errors from compiling the reduced file with trunk and 4.0-rc1, but no assert.

Please re-open if this is still a problem.