[llvm-bugs] [Bug 26408] New: building libcxx from git - Segmentation fault (core dumped)

via llvm-bugs llvm-bugs at lists.llvm.org
Sun Jan 31 23:38:22 PST 2016


https://llvm.org/bugs/show_bug.cgi?id=26408

            Bug ID: 26408
           Summary: building libcxx from git - Segmentation fault (core
                    dumped)
           Product: clang
           Version: 3.7
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: -New Bugs
          Assignee: unassignedclangbugs at nondot.org
          Reporter: manuel.schiller at bmw-carit.de
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

I tried to build llvm+clang+libcxx from git:

After checking out the latest version from git, clang-3.7 crashes when building
projects/libcxx/src/locale.cpp with the following error:


Error generating preprocessed source(s) - no preprocessable inputs.


git SHAs:

llvm: 870f3ff0d284b38c18b38e90eb154c90bb283197
llvm/tools/clang: b44c875824689afbc90e364b9987aff6703235f5
llvm/tools/clang/tools/extra: a66cd9b490807894b8176309607f15c92e52d1eb
llvm/projects/compiler-rt: ecb1464b9e8fb1539cfa8fa75f3fea9fd8ec6c2e
llvm/projects/libcxx: d118e3219bc20ed2a8d4383d3bd0423d1e1c3fb3
llvm/projects/libcxxabi: 9ef2c6e495b0f6df3a4a17f21b335ac5b852c473




$ ninja-build -j 1 -v
[1/1853] /usr/lib64/ccache/clang++   -D_DEBUG -D_GNU_SOURCE
-D_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER -D__STDC_CONSTANT_MACROS
-D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Dcxx_EXPORTS
-Iprojects/libcxx/lib -I../projects/libcxx/lib -Iinclude -I../include
-I../projects/libcxx/include -fPIC -fvisibility-inlines-hidden -Wall -W
-Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers 
-Wno-long-long -Wcovered-switch-default -Wnon-virtual-dtor
-Wdelete-non-virtual-dtor -std=c++11 -fcolor-diagnostics -ffunction-sections
-fdata-sections -O3 -DNDEBUG -fPIC   -UNDEBUG -DLIBCXX_BUILDING_LIBCXXABI
-std=c++11 -nostdinc++ -Wall -W -Wwrite-strings -Wno-unused-parameter
-Wno-long-long -Werror=return-type -Wno-error -fPIC -MMD -MT
projects/libcxx/lib/CMakeFiles/cxx.dir/__/src/locale.cpp.o -MF
projects/libcxx/lib/CMakeFiles/cxx.dir/__/src/locale.cpp.o.d -o
projects/libcxx/lib/CMakeFiles/cxx.dir/__/src/locale.cpp.o -c
../projects/libcxx/src/locale.cpp
FAILED: /usr/lib64/ccache/clang++   -D_DEBUG -D_GNU_SOURCE
-D_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER -D__STDC_CONSTANT_MACROS
-D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Dcxx_EXPORTS
-Iprojects/libcxx/lib -I../projects/libcxx/lib -Iinclude -I../include
-I../projects/libcxx/include -fPIC -fvisibility-inlines-hidden -Wall -W
-Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers 
-Wno-long-long -Wcovered-switch-default -Wnon-virtual-dtor
-Wdelete-non-virtual-dtor -std=c++11 -fcolor-diagnostics -ffunction-sections
-fdata-sections -O3 -DNDEBUG -fPIC   -UNDEBUG -DLIBCXX_BUILDING_LIBCXXABI
-std=c++11 -nostdinc++ -Wall -W -Wwrite-strings -Wno-unused-parameter
-Wno-long-long -Werror=return-type -Wno-error -fPIC -MMD -MT
projects/libcxx/lib/CMakeFiles/cxx.dir/__/src/locale.cpp.o -MF
projects/libcxx/lib/CMakeFiles/cxx.dir/__/src/locale.cpp.o.d -o
projects/libcxx/lib/CMakeFiles/cxx.dir/__/src/locale.cpp.o -c
../projects/libcxx/src/locale.cpp
#0 0x7f9b724eb327 llvm::sys::PrintStackTrace(llvm::raw_ostream&)
(/usr/lib64/llvm/libLLVM-3.7.so+0x510327)
#1 0x7f9b724ea881 (/usr/lib64/llvm/libLLVM-3.7.so+0x50f881)
#2 0x7f9b71bb89f0 __restore_rt (/lib64/libpthread.so.0+0x109f0)
#3 0x55a344bbc94d (/usr/bin/clang+0x10e894d)
#4 0x55a344bc3f8f (/usr/bin/clang+0x10eff8f)
#5 0x55a344bc430e (/usr/bin/clang+0x10f030e)
#6 0x55a344bc2b93 (/usr/bin/clang+0x10eeb93)
#7 0x55a344bc1ab5 (/usr/bin/clang+0x10edab5)
#8 0x55a344bc204e (/usr/bin/clang+0x10ee04e)
#9 0x55a344bc2557 (/usr/bin/clang+0x10ee557)
#10 0x55a344bc205f (/usr/bin/clang+0x10ee05f)
#11 0x55a344bc2557 (/usr/bin/clang+0x10ee557)
#12 0x55a344bc205f (/usr/bin/clang+0x10ee05f)
#13 0x55a344bc383b (/usr/bin/clang+0x10ef83b)
#14 0x55a344bc3bb8 (/usr/bin/clang+0x10efbb8)
#15 0x55a344bc7029 (/usr/bin/clang+0x10f3029)
#16 0x55a344bbda93 (/usr/bin/clang+0x10e9a93)
#17 0x55a344bbfe01 (/usr/bin/clang+0x10ebe01)
#18 0x55a344bbd923 (/usr/bin/clang+0x10e9923)
#19 0x55a344bbf0cf (/usr/bin/clang+0x10eb0cf)
#20 0x55a344bc0f1d (/usr/bin/clang+0x10ecf1d)
#21 0x55a344bc0dfd (/usr/bin/clang+0x10ecdfd)
#22 0x55a344bc1118 (/usr/bin/clang+0x10ed118)
#23 0x55a344bc6683 (/usr/bin/clang+0x10f2683)
#24 0x55a3440e62e6
clang::CodeGen::CodeGenModule::getMangledName(clang::GlobalDecl)
(/usr/bin/clang+0x6122e6)
#25 0x55a3440f1ec3 clang::CodeGen::CodeGenModule::EmitGlobal(clang::GlobalDecl)
(/usr/bin/clang+0x61dec3)
#26 0x55a3441173f9 (/usr/bin/clang+0x6433f9)
#27 0x55a3440f28e0
clang::CodeGen::CodeGenModule::EmitTopLevelDecl(clang::Decl*)
(/usr/bin/clang+0x61e8e0)
#28 0x55a344077e0f (/usr/bin/clang+0x5a3e0f)
#29 0x55a344065074 (/usr/bin/clang+0x591074)
#30 0x55a3446aa315
clang::Sema::InstantiateFunctionDefinition(clang::SourceLocation,
clang::FunctionDecl*, bool, bool) (/usr/bin/clang+0xbd6315)
#31 0x55a344491913 clang::Sema::MarkFunctionReferenced(clang::SourceLocation,
clang::FunctionDecl*, bool) (/usr/bin/clang+0x9bd913)
#32 0x55a3443fc561 clang::Sema::BuildCXXConstructExpr(clang::SourceLocation,
clang::QualType, clang::CXXConstructorDecl*, bool,
llvm::MutableArrayRef<clang::Expr*>, bool, bool, bool, bool, unsigned int,
clang::SourceRange) (/usr/bin/clang+0x928561)
#33 0x55a3443fc669 clang::Sema::BuildCXXConstructExpr(clang::SourceLocation,
clang::QualType, clang::CXXConstructorDecl*,
llvm::MutableArrayRef<clang::Expr*>, bool, bool, bool, bool, unsigned int,
clang::SourceRange) (/usr/bin/clang+0x928669)
#34 0x55a34452cedb clang::InitializationSequence::Perform(clang::Sema&,
clang::InitializedEntity const&, clang::InitializationKind const&,
llvm::MutableArrayRef<clang::Expr*>, clang::QualType*)
(/usr/bin/clang+0xa58edb)
#35 0x55a3444e0f63 (/usr/bin/clang+0xa0cf63)
#36 0x55a3444e1909 clang::Sema::BuildTypeTrait(clang::TypeTrait,
clang::SourceLocation, llvm::ArrayRef<clang::TypeSourceInfo*>,
clang::SourceLocation) (/usr/bin/clang+0xa0d909)
#37 0x55a344694488 (/usr/bin/clang+0xbc0488)
#38 0x55a34467ae0b (/usr/bin/clang+0xba6e0b)
#39 0x55a34467cfe9 (/usr/bin/clang+0xba8fe9)
#40 0x55a34467ad91 (/usr/bin/clang+0xba6d91)
#41 0x55a344688149 (/usr/bin/clang+0xbb4149)
#42 0x55a34468e7b6 (/usr/bin/clang+0xbba7b6)
#43 0x55a344681be2 (/usr/bin/clang+0xbadbe2)
#44 0x55a34468357a (/usr/bin/clang+0xbaf57a)
#45 0x55a3446836d3 clang::Sema::SubstType(clang::TypeSourceInfo*,
clang::MultiLevelTemplateArgumentList const&, clang::SourceLocation,
clang::DeclarationName) (/usr/bin/clang+0xbaf6d3)
#46 0x55a34469a1fb clang::Sema::SubstBaseSpecifiers(clang::CXXRecordDecl*,
clang::CXXRecordDecl*, clang::MultiLevelTemplateArgumentList const&)
(/usr/bin/clang+0xbc61fb)
#47 0x55a34469b165 clang::Sema::InstantiateClass(clang::SourceLocation,
clang::CXXRecordDecl*, clang::CXXRecordDecl*,
clang::MultiLevelTemplateArgumentList const&,
clang::TemplateSpecializationKind, bool) (/usr/bin/clang+0xbc7165)
#48 0x55a34469cb05
clang::Sema::InstantiateClassTemplateSpecialization(clang::SourceLocation,
clang::ClassTemplateSpecializationDecl*, clang::TemplateSpecializationKind,
bool) (/usr/bin/clang+0xbc8b05)
#49 0x55a3446cbd09 clang::Sema::RequireCompleteTypeImpl(clang::SourceLocation,
clang::QualType, clang::Sema::TypeDiagnoser&) (/usr/bin/clang+0xbf7d09)
#50 0x55a3446cbfd5 clang::Sema::RequireCompleteType(clang::SourceLocation,
clang::QualType, clang::Sema::TypeDiagnoser&) (/usr/bin/clang+0xbf7fd5)
#51 0x55a344326d8b
clang::Sema::RequireCompleteDeclContext(clang::CXXScopeSpec&,
clang::DeclContext*) (/usr/bin/clang+0x852d8b)
#52 0x55a344497fc5
clang::Sema::BuildQualifiedDeclarationNameExpr(clang::CXXScopeSpec&,
clang::DeclarationNameInfo const&, bool, clang::TypeSourceInfo**)
(/usr/bin/clang+0x9c3fc5)
#53 0x55a34468a688 (/usr/bin/clang+0xbb6688)
#54 0x55a34468b10d (/usr/bin/clang+0xbb710d)
#55 0x55a34467ab5b (/usr/bin/clang+0xba6b5b)
#56 0x55a344688149 (/usr/bin/clang+0xbb4149)
#57 0x55a34468e7b6 (/usr/bin/clang+0xbba7b6)
#58 0x55a344687537 (/usr/bin/clang+0xbb3537)
#59 0x55a344687cc8 (/usr/bin/clang+0xbb3cc8)
#60 0x55a344681d24 (/usr/bin/clang+0xbadd24)
#61 0x55a344682970 (/usr/bin/clang+0xbae970)
#62 0x55a34468357a (/usr/bin/clang+0xbaf57a)
#63 0x55a3446836d3 clang::Sema::SubstType(clang::TypeSourceInfo*,
clang::MultiLevelTemplateArgumentList const&, clang::SourceLocation,
clang::DeclarationName) (/usr/bin/clang+0xbaf6d3)
#64 0x55a344677a8e clang::Sema::SubstParmVarDecl(clang::ParmVarDecl*,
clang::MultiLevelTemplateArgumentList const&, int, llvm::Optional<unsigned
int>, bool) (/usr/bin/clang+0xba3a8e)
#65 0x55a344678937 (/usr/bin/clang+0xba4937)
#66 0x55a3446964f4 clang::Sema::SubstFunctionDeclType(clang::TypeSourceInfo*,
clang::MultiLevelTemplateArgumentList const&, clang::SourceLocation,
clang::DeclarationName, clang::CXXRecordDecl*, unsigned int)
(/usr/bin/clang+0xbc24f4)
#67 0x55a3446a0522
clang::TemplateDeclInstantiator::SubstFunctionType(clang::FunctionDecl*,
llvm::SmallVectorImpl<clang::ParmVarDecl*>&) (/usr/bin/clang+0xbcc522)
#68 0x55a3446b02bb
clang::TemplateDeclInstantiator::VisitCXXMethodDecl(clang::CXXMethodDecl*,
clang::TemplateParameterList*, bool) (/usr/bin/clang+0xbdc2bb)
#69 0x55a3446a70a0 clang::Sema::SubstDecl(clang::Decl*, clang::DeclContext*,
clang::MultiLevelTemplateArgumentList const&) (/usr/bin/clang+0xbd30a0)
#70 0x55a344668cd1
clang::Sema::FinishTemplateArgumentDeduction(clang::FunctionTemplateDecl*,
llvm::SmallVectorImpl<clang::DeducedTemplateArgument>&, unsigned int,
clang::FunctionDecl*&, clang::sema::TemplateDeductionInfo&,
llvm::SmallVectorImpl<clang::Sema::OriginalCallArg> const*, bool)
(/usr/bin/clang+0xb94cd1)
#71 0x55a34466f39f
clang::Sema::DeduceTemplateArguments(clang::FunctionTemplateDecl*,
clang::TemplateArgumentListInfo*, llvm::ArrayRef<clang::Expr*>,
clang::FunctionDecl*&, clang::sema::TemplateDeductionInfo&, bool)
(/usr/bin/clang+0xb9b39f)
#72 0x55a3445bc26a
clang::Sema::AddTemplateOverloadCandidate(clang::FunctionTemplateDecl*,
clang::DeclAccessPair, clang::TemplateArgumentListInfo*,
llvm::ArrayRef<clang::Expr*>, clang::OverloadCandidateSet&, bool, bool)
(/usr/bin/clang+0xae826a)
#73 0x55a343db5a5e _init (/usr/bin/clang+0x2e1a5e)
#74 0x55a344534b0f clang::InitializationSequence::InitializeFrom(clang::Sema&,
clang::InitializedEntity const&, clang::InitializationKind const&,
llvm::MutableArrayRef<clang::Expr*>, bool) (/usr/bin/clang+0xa60b0f)
#75 0x55a344535444
clang::InitializationSequence::InitializationSequence(clang::Sema&,
clang::InitializedEntity const&, clang::InitializationKind const&,
llvm::MutableArrayRef<clang::Expr*>, bool) (/usr/bin/clang+0xa61444)
#76 0x55a3443bd6f0 clang::Sema::AddInitializerToDecl(clang::Decl*,
clang::Expr*, bool, bool) (/usr/bin/clang+0x8e96f0)
#77 0x55a34426883c
clang::Parser::ParseDeclarationAfterDeclaratorAndAttributes(clang::Declarator&,
clang::Parser::ParsedTemplateInfo const&, clang::Parser::ForRangeInit*)
(/usr/bin/clang+0x79483c)
#78 0x55a344276bfa clang::Parser::ParseDeclGroup(clang::ParsingDeclSpec&,
unsigned int, clang::SourceLocation*, clang::Parser::ForRangeInit*)
(/usr/bin/clang+0x7a2bfa)
#79 0x55a344279ad4 clang::Parser::ParseSimpleDeclaration(unsigned int,
clang::SourceLocation&, clang::Parser::ParsedAttributesWithRange&, bool,
clang::Parser::ForRangeInit*) (/usr/bin/clang+0x7a5ad4)
#80 0x55a344279d9d clang::Parser::ParseDeclaration(unsigned int,
clang::SourceLocation&, clang::Parser::ParsedAttributesWithRange&)
(/usr/bin/clang+0x7a5d9d)
#81 0x55a3442d05cf
clang::Parser::ParseStatementOrDeclarationAfterAttributes(llvm::SmallVector<clang::Stmt*,
32u>&, bool, clang::SourceLocation*, clang::Parser::ParsedAttributesWithRange&)
(/usr/bin/clang+0x7fc5cf)
#82 0x55a3442d07f7
clang::Parser::ParseStatementOrDeclaration(llvm::SmallVector<clang::Stmt*,
32u>&, bool, clang::SourceLocation*) (/usr/bin/clang+0x7fc7f7)
#83 0x55a3442d5156 clang::Parser::ParseCompoundStatementBody(bool)
(/usr/bin/clang+0x801156)
#84 0x55a3442d78f6 clang::Parser::ParseFunctionStatementBody(clang::Decl*,
clang::Parser::ParseScope&) (/usr/bin/clang+0x8038f6)
#85 0x55a34425cbfe
clang::Parser::ParseFunctionDefinition(clang::ParsingDeclarator&,
clang::Parser::ParsedTemplateInfo const&, clang::Parser::LateParsedAttrList*)
(/usr/bin/clang+0x788bfe)
#86 0x55a3442e2af2 clang::Parser::ParseSingleDeclarationAfterTemplate(unsigned
int, clang::Parser::ParsedTemplateInfo const&, clang::ParsingDeclRAIIObject&,
clang::SourceLocation&, clang::AccessSpecifier, clang::AttributeList*)
(/usr/bin/clang+0x80eaf2)
#87 0x55a3442e381e
clang::Parser::ParseTemplateDeclarationOrSpecialization(unsigned int,
clang::SourceLocation&, clang::AccessSpecifier, clang::AttributeList*)
(/usr/bin/clang+0x80f81e)
#88 0x55a3442e3be1 clang::Parser::ParseDeclarationStartingWithTemplate(unsigned
int, clang::SourceLocation&, clang::AccessSpecifier, clang::AttributeList*)
(/usr/bin/clang+0x80fbe1)
#89 0x55a344279f0c clang::Parser::ParseDeclaration(unsigned int,
clang::SourceLocation&, clang::Parser::ParsedAttributesWithRange&)
(/usr/bin/clang+0x7a5f0c)
#90 0x55a34425f7af
clang::Parser::ParseExternalDeclaration(clang::Parser::ParsedAttributesWithRange&,
clang::ParsingDeclSpec*) (/usr/bin/clang+0x78b7af)
#91 0x55a344286a38
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&)
(/usr/bin/clang+0x7b2a38)
#92 0x55a34428719b clang::Parser::ParseNamespace(unsigned int,
clang::SourceLocation&, clang::SourceLocation) (/usr/bin/clang+0x7b319b)
#93 0x55a344279ff4 clang::Parser::ParseDeclaration(unsigned int,
clang::SourceLocation&, clang::Parser::ParsedAttributesWithRange&)
(/usr/bin/clang+0x7a5ff4)
#94 0x55a34425f7af
clang::Parser::ParseExternalDeclaration(clang::Parser::ParsedAttributesWithRange&,
clang::ParsingDeclSpec*) (/usr/bin/clang+0x78b7af)
#95 0x55a344286a38
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&)
(/usr/bin/clang+0x7b2a38)
#96 0x55a34428719b clang::Parser::ParseNamespace(unsigned int,
clang::SourceLocation&, clang::SourceLocation) (/usr/bin/clang+0x7b319b)
#97 0x55a344279f6c clang::Parser::ParseDeclaration(unsigned int,
clang::SourceLocation&, clang::Parser::ParsedAttributesWithRange&)
(/usr/bin/clang+0x7a5f6c)
#98 0x55a34425f7af
clang::Parser::ParseExternalDeclaration(clang::Parser::ParsedAttributesWithRange&,
clang::ParsingDeclSpec*) (/usr/bin/clang+0x78b7af)
#99 0x55a344260052
clang::Parser::ParseTopLevelDecl(clang::OpaquePtr<clang::DeclGroupRef>&)
(/usr/bin/clang+0x78c052)
#100 0x55a34425531b clang::ParseAST(clang::Sema&, bool, bool)
(/usr/bin/clang+0x78131b)
#101 0x55a344065d81 clang::CodeGenAction::ExecuteAction()
(/usr/bin/clang+0x591d81)
#102 0x55a343eaf4ce clang::FrontendAction::Execute() (/usr/bin/clang+0x3db4ce)
#103 0x55a343e82381
clang::CompilerInstance::ExecuteAction(clang::FrontendAction&)
(/usr/bin/clang+0x3ae381)
#104 0x55a343e68ae1 clang::ExecuteCompilerInvocation(clang::CompilerInstance*)
(/usr/bin/clang+0x394ae1)
#105 0x55a343e622b8 cc1_main(llvm::ArrayRef<char const*>, char const*, void*)
(/usr/bin/clang+0x38e2b8)
#106 0x55a343e5ebf2 main (/usr/bin/clang+0x38abf2)
#107 0x7f9b70a81580 __libc_start_main
/usr/src/debug/glibc-2.22/csu/libc-start.c:323:0
#108 0x55a343e61179 _start (/usr/bin/clang+0x38d179)
Stack dump:
0.    Program arguments: /usr/bin/clang -cc1 -triple x86_64-redhat-linux-gnu
-emit-obj -disable-free -disable-llvm-verifier -main-file-name
locale.stdout.localhost.localdomain.756.sgBeD4.ii -mrelocation-model pic
-pic-level 2 -mthread-model posix -fmath-errno -masm-verbose
-mconstructor-aliases -munwind-tables -fuse-init-array -target-cpu x86-64
-target-linker-version 2.25 -momit-leaf-frame-pointer -dwarf-column-info
-ffunction-sections -fdata-sections -coverage-file
/home/user/source/llvm/build/projects/libcxx/lib/CMakeFiles/cxx.dir/__/src/locale.cpp.o
-resource-dir /usr/bin/../lib/clang/3.7.0 -O3 -Wall -W -Wno-unused-parameter
-Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wno-long-long
-Wcovered-switch-default -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wall -W
-Wwrite-strings -Wno-unused-parameter -Wno-long-long -Werror=return-type
-Wno-error -std=c++11 -fdeprecated-macro -fdebug-compilation-dir
/home/user/source/llvm/build -ferror-limit 19 -fmessage-length 0
-fvisibility-inlines-hidden -mstackrealign -fobjc-runtime=gcc -fcxx-exceptions
-fexceptions -fdiagnostics-show-option -fcolor-diagnostics -vectorize-loops
-vectorize-slp -o projects/libcxx/lib/CMakeFiles/cxx.dir/__/src/locale.cpp.o -x
c++-cpp-output
/home/user/.ccache/tmp/locale.stdout.localhost.localdomain.756.sgBeD4.ii 
1.    ../projects/libcxx/include/__mutex_base:384:38: current parser token ';'
2.    ../projects/libcxx/include/__mutex_base:25:1: parsing namespace 'std'
3.    ../projects/libcxx/include/__mutex_base:25:23: parsing namespace '__1'
4.    ../projects/libcxx/include/__mutex_base:378:1: parsing function body
'wait_for'
5.    ../projects/libcxx/include/__mutex_base:378:1: in compound statement
('{}')
6.    ../projects/libcxx/include/chrono:552:9: LLVM IR generation of
declaration 'std::__1::chrono::duration<long double, std::__1::ratio<1,
1000000000> >::duration'
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 3.7.0 (tags/RELEASE_370/final)
Target: x86_64-redhat-linux-gnu
Thread model: posix
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: Error generating preprocessed source(s) - no
preprocessable inputs.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20160201/66f24a3b/attachment-0001.html>


More information about the llvm-bugs mailing list