[cfe-dev] !!! 3.2 Release RC3 source code available for download and testing

Pawel Wodnicki root at 32bitmicro.com
Fri Dec 7 05:42:22 PST 2012


Manuel,

> Dear Pawel,
> 
> I hope this is the right place to report a problem with the RC3 builds.

Absolutely!

> 
> I downloaded and compiled the llvm tarball and got a clang++ binary. This I am now using to build our SeqAn project and get an error.
> 
> I'm using a stable 64 bit Debian system and compile clang with g++ 4.7.
> 
> To reproduce it:
> 
> svn co http://svn.seqan.de/seqan/trunk seqan-trunk
> mkdir seqan-trunk-build && cd seqan-trunk-build
> cmake ../seqan-trunk -DCMAKE_CXX_COMPILER=clang++-3.2rc3
> make test_graph_types
> 
> Below is the full error message. Let me know if you need any more information.

Just a quick question to help me narrow the problem.
I am guessing you have used RC2 and it was OK but
when you tried RC3 the UNREACHABLE happened?

Pawel


> 
> Impossible TemplateArgument
> UNREACHABLE executed at /export/userdata/holtgrew/clang-3.2rc3/llvm.src/tools/clang/lib/AST/TypeLoc.cpp:325!
> 0  clang           0x0000000001fc4e6f
> 1  clang           0x0000000001fc5369
> 2  libpthread.so.0 0x00002ae45fc88ff0
> 3  libc.so.6       0x00002ae46086c1b5 gsignal + 53
> 4  libc.so.6       0x00002ae46086efc0 abort + 384
> 5  clang           0x0000000001fafd9c
> 6  clang           0x000000000125a938 clang::TemplateSpecializationTypeLoc::initializeArgLocs(clang::ASTContext&, unsigned int, clang::TemplateArgument const*, clang::TemplateArgumentLocInfo*, clang::SourceLocation) + 184
> 7  clang           0x000000000125afcf clang::TypeLoc::initializeImpl(clang::ASTContext&, clang::TypeLoc, clang::SourceLocation) + 767
> 8  clang           0x0000000001118365 clang::ASTContext::getTrivialTypeSourceInfo(clang::QualType, clang::SourceLocation) const + 53
> 9  clang           0x0000000000cf481e
> 10 clang           0x0000000000cf57af
> 11 clang           0x0000000000cf7f32 clang::Sema::getMoreSpecializedPartialSpecialization(clang::ClassTemplatePartialSpecializationDecl*, clang::ClassTemplatePartialSpecializationDecl*, clang::SourceLocation) + 1378
> 12 clang           0x0000000000d284c8 clang::Sema::InstantiateClassTemplateSpecialization(clang::SourceLocation, clang::ClassTemplateSpecializationDecl*, clang::TemplateSpecializationKind, bool) + 1080
> 13 clang           0x0000000000d687fb clang::Sema::RequireCompleteType(clang::SourceLocation, clang::QualType, clang::Sema::TypeDiagnoser&) + 779
> 14 clang           0x0000000000ac3db0 clang::Sema::RequireCompleteDeclContext(clang::CXXScopeSpec&, clang::DeclContext*) + 272
> 15 clang           0x0000000000cc1a1b clang::Sema::CheckTypenameType(clang::ElaboratedTypeKeyword, clang::SourceLocation, clang::NestedNameSpecifierLoc, clang::IdentifierInfo const&, clang::SourceLocation) + 171
> 16 clang           0x0000000000d31402
> 17 clang           0x0000000000d2389e
> 18 clang           0x0000000000d2930d
> 19 clang           0x0000000000d244b0
> 20 clang           0x0000000000d2ace6
> 21 clang           0x0000000000d2b594 clang::Sema::SubstFunctionDeclType(clang::TypeSourceInfo*, clang::MultiLevelTemplateArgumentList const&, clang::SourceLocation, clang::DeclarationName, clang::CXXRecordDecl*, unsigned int) + 452
> 22 clang           0x0000000000d44f84 clang::TemplateDeclInstantiator::SubstFunctionType(clang::FunctionDecl*, llvm::SmallVectorImpl<clang::ParmVarDecl*>&) + 244
> 23 clang           0x0000000000d49554 clang::TemplateDeclInstantiator::VisitFunctionDecl(clang::FunctionDecl*, clang::TemplateParameterList*) + 308
> 24 clang           0x0000000000d52124 clang::Sema::SubstDecl(clang::Decl*, clang::DeclContext*, clang::MultiLevelTemplateArgumentList const&) + 420
> 25 clang           0x0000000000d131cc clang::Sema::FinishTemplateArgumentDeduction(clang::FunctionTemplateDecl*, llvm::SmallVectorImpl<clang::DeducedTemplateArgument>&, unsigned int, clang::FunctionDecl*&, clang::sema::TemplateDeductionInfo&, llvm::SmallVectorImpl<clang::Sema::OriginalCallArg> const*) + 2284
> 26 clang           0x0000000000d16dd2 clang::Sema::DeduceTemplateArguments(clang::FunctionTemplateDecl*, clang::TemplateArgumentListInfo*, llvm::ArrayRef<clang::Expr*>, clang::FunctionDecl*&, clang::sema::TemplateDeductionInfo&) + 2274
> 27 clang           0x0000000000c82d58 clang::Sema::AddTemplateOverloadCandidate(clang::FunctionTemplateDecl*, clang::DeclAccessPair, clang::TemplateArgumentListInfo*, llvm::ArrayRef<clang::Expr*>, clang::OverloadCandidateSet&, bool) + 344
> 28 clang           0x0000000000c864bf clang::Sema::AddOverloadedCallCandidates(clang::UnresolvedLookupExpr*, llvm::ArrayRef<clang::Expr*>, clang::OverloadCandidateSet&, bool) + 1103
> 29 clang           0x0000000000c86636 clang::Sema::buildOverloadedCallSet(clang::Scope*, clang::Expr*, clang::UnresolvedLookupExpr*, clang::Expr**, unsigned int, clang::SourceLocation, clang::OverloadCandidateSet*, clang::ActionResult<clang::Expr*, true>*) + 294
> 30 clang           0x0000000000c8bb96 clang::Sema::BuildOverloadedCallExpr(clang::Scope*, clang::Expr*, clang::UnresolvedLookupExpr*, clang::SourceLocation, clang::Expr**, unsigned int, clang::SourceLocation, clang::Expr*, bool) + 150
> 31 clang           0x0000000000beb1db clang::Sema::ActOnCallExpr(clang::Scope*, clang::Expr*, clang::SourceLocation, llvm::MutableArrayRef<clang::Expr*>, clang::SourceLocation, clang::Expr*, bool) + 891
> 32 clang           0x0000000000a5e6b0 clang::Parser::ParsePostfixExpressionSuffix(clang::ActionResult<clang::Expr*, true>) + 4080
> 33 clang           0x0000000000a5794b clang::Parser::ParseCastExpression(bool, bool, bool&, clang::Parser::TypeCastState) + 203
> 34 clang           0x0000000000a59b2d clang::Parser::ParseCastExpression(bool, bool, clang::Parser::TypeCastState) + 29
> 35 clang           0x0000000000a5af5f clang::Parser::ParseAssignmentExpression(clang::Parser::TypeCastState) + 31
> 36 clang           0x0000000000a5bf99 clang::Parser::ParseExpression(clang::Parser::TypeCastState) + 9
> 37 clang           0x0000000000a5ce95 clang::Parser::ParseParenExpression(clang::Parser::ParenParseOption&, bool, bool, clang::OpaquePtr<clang::QualType>&, clang::SourceLocation&) + 3813
> 38 clang           0x0000000000a57f08 clang::Parser::ParseCastExpression(bool, bool, bool&, clang::Parser::TypeCastState) + 1672
> 39 clang           0x0000000000a59b2d clang::Parser::ParseCastExpression(bool, bool, clang::Parser::TypeCastState) + 29
> 40 clang           0x0000000000a5af5f clang::Parser::ParseAssignmentExpression(clang::Parser::TypeCastState) + 31
> 41 clang           0x0000000000a5b069 clang::Parser::ParseExpressionList(llvm::SmallVectorImpl<clang::Expr*>&, llvm::SmallVectorImpl<clang::SourceLocation>&, void (clang::Sema::*)(clang::Scope*, clang::Expr*, llvm::ArrayRef<clang::Expr*>), clang::Expr*) + 121
> 42 clang           0x0000000000a5e550 clang::Parser::ParsePostfixExpressionSuffix(clang::ActionResult<clang::Expr*, true>) + 3728
> 43 clang           0x0000000000a5794b clang::Parser::ParseCastExpression(bool, bool, bool&, clang::Parser::TypeCastState) + 203
> 44 clang           0x0000000000a59b2d clang::Parser::ParseCastExpression(bool, bool, clang::Parser::TypeCastState) + 29
> 45 clang           0x0000000000a57d98 clang::Parser::ParseCastExpression(bool, bool, bool&, clang::Parser::TypeCastState) + 1304
> 46 clang           0x0000000000a59b2d clang::Parser::ParseCastExpression(bool, bool, clang::Parser::TypeCastState) + 29
> 47 clang           0x0000000000a57df9 clang::Parser::ParseCastExpression(bool, bool, bool&, clang::Parser::TypeCastState) + 1401
> 48 clang           0x0000000000a59b2d clang::Parser::ParseCastExpression(bool, bool, clang::Parser::TypeCastState) + 29
> 49 clang           0x0000000000a5af5f clang::Parser::ParseAssignmentExpression(clang::Parser::TypeCastState) + 31
> 50 clang           0x0000000000a5bf99 clang::Parser::ParseExpression(clang::Parser::TypeCastState) + 9
> 51 clang           0x0000000000a639ba clang::Parser::ParseCXXCondition(clang::ActionResult<clang::Expr*, true>&, clang::Decl*&, clang::SourceLocation, bool) + 1482
> 52 clang           0x0000000000a818de clang::Parser::ParseParenExprOrCondition(clang::ActionResult<clang::Expr*, true>&, clang::Decl*&, clang::SourceLocation, bool) + 190
> 53 clang           0x0000000000a887a5 clang::Parser::ParseIfStatement(clang::SourceLocation*) + 437
> 54 clang           0x0000000000a87951 clang::Parser::ParseStatementOrDeclarationAfterAttributes(llvm::SmallVector<clang::Stmt*, 32u>&, bool, clang::SourceLocation*, clang::Parser::ParsedAttributesWithRange&) + 1265
> 55 clang           0x0000000000a87d5d clang::Parser::ParseStatementOrDeclaration(llvm::SmallVector<clang::Stmt*, 32u>&, bool, clang::SourceLocation*) + 141
> 56 clang           0x0000000000a855d7 clang::Parser::ParseCompoundStatementBody(bool) + 1831
> 57 clang           0x0000000000a85e3d clang::Parser::ParseCompoundStatement(bool, unsigned int) + 45
> 58 clang           0x0000000000a85e92 clang::Parser::ParseCompoundStatement(bool) + 18
> 59 clang           0x0000000000a877ea clang::Parser::ParseStatementOrDeclarationAfterAttributes(llvm::SmallVector<clang::Stmt*, 32u>&, bool, clang::SourceLocation*, clang::Parser::ParsedAttributesWithRange&) + 906
> 60 clang           0x0000000000a87d5d clang::Parser::ParseStatementOrDeclaration(llvm::SmallVector<clang::Stmt*, 32u>&, bool, clang::SourceLocation*) + 141
> 61 clang           0x0000000000a88ff2 clang::Parser::ParseDoStatement() + 178
> 62 clang           0x0000000000a87840 clang::Parser::ParseStatementOrDeclarationAfterAttributes(llvm::SmallVector<clang::Stmt*, 32u>&, bool, clang::SourceLocation*, clang::Parser::ParsedAttributesWithRange&) + 992
> 63 clang           0x0000000000a87d5d clang::Parser::ParseStatementOrDeclaration(llvm::SmallVector<clang::Stmt*, 32u>&, bool, clang::SourceLocation*) + 141
> 64 clang           0x0000000000a855d7 clang::Parser::ParseCompoundStatementBody(bool) + 1831
> 65 clang           0x0000000000a8bf9d clang::Parser::ParseFunctionStatementBody(clang::Decl*, clang::Parser::ParseScope&) + 141
> 66 clang           0x0000000000a31f09 clang::Parser::ParseFunctionDefinition(clang::ParsingDeclarator&, clang::Parser::ParsedTemplateInfo const&, clang::Parser::LateParsedAttrList*) + 1065
> 67 clang           0x0000000000a41b7a clang::Parser::ParseDeclGroup(clang::ParsingDeclSpec&, unsigned int, bool, clang::SourceLocation*, clang::Parser::ForRangeInit*) + 1162
> 68 clang           0x0000000000a2c418 clang::Parser::ParseDeclOrFunctionDefInternal(clang::Parser::ParsedAttributesWithRange&, clang::ParsingDeclSpec&, clang::AccessSpecifier) + 248
> 69 clang           0x0000000000a2c8d9
> 70 clang           0x0000000000a2c9cf clang::Parser::ParseDeclarationOrFunctionDefinition(clang::Parser::ParsedAttributesWithRange&, clang::ParsingDeclSpec*, clang::AccessSpecifier) + 31
> 71 clang           0x0000000000a2eef4 clang::Parser::ParseExternalDeclaration(clang::Parser::ParsedAttributesWithRange&, clang::ParsingDeclSpec*) + 116
> 72 clang           0x0000000000a2f533 clang::Parser::ParseTopLevelDecl(clang::OpaquePtr<clang::DeclGroupRef>&) + 195
> 73 clang           0x0000000000a2a88e clang::ParseAST(clang::Sema&, bool, bool) + 270
> 74 clang           0x00000000008e131e clang::CodeGenAction::ExecuteAction() + 78
> 75 clang           0x0000000000783006 clang::FrontendAction::Execute() + 150
> 76 clang           0x00000000007661c5 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) + 341
> 77 clang           0x000000000074db0d clang::ExecuteCompilerInvocation(clang::CompilerInstance*) + 1421
> 78 clang           0x0000000000745b78 cc1_main(char const**, char const**, char const*, void*) + 1176
> 79 clang           0x000000000074cf02 main + 4834
> 80 libc.so.6       0x00002ae460858c8d __libc_start_main + 253
> 81 clang           0x0000000000744a3d
> Stack dump:
> 0.	Program arguments: /group/agabi/software/x86_64/llvm-3.2rc3/bin/clang -cc1 -triple x86_64-unknown-linux-gnu -emit-obj -mrelax-all -disable-free -main-file-name test_graph_types.cpp -mrelocation-model static -mdisable-fp-elim -fmath-errno -masm-verbose -mconstructor-aliases -munwind-tables -target-cpu x86-64 -target-linker-version 2.20.1 -momit-leaf-frame-pointer -coverage-file /export/local-1/public/holtgrew/seqan-trunk-build/core/tests/graph_types/CMakeFiles/test_graph_types.dir/test_graph_types.cpp.o -resource-dir /group/agabi/software/x86_64/llvm-3.2rc3/bin/../lib/clang/3.2 -D _LARGEFILE_SOURCE -D _FILE_OFFSET_BITS=64 -D SEQAN_ENABLE_TESTING=1 -D SEQAN_ENABLE_DEBUG=1 -D SEQAN_HAS_EXECINFO=1 -I /export/local-1/public/holtgrew/seqan-trunk/core/include -fmodule-cache-path /export/local-1/public/holtgrew/tmp/clang-module-cache -internal-isystem /usr/lib/gcc/x86_64-linux-gnu/4.4/../../../../include/c++/4.4 -internal-isystem /usr/lib/gcc/x86_64-linux-gnu/4.4/../../../../in!
 clude/c+
+/4.4/x86_64-linux-gnu -internal-isystem /usr/lib/gcc/x86_64-linux-gnu/4.4/../../../../include/c++/4.4/backward -internal-isystem /usr/local/include -internal-isystem /group/agabi/software/x86_64/llvm-3.2rc3/bin/../lib/clang/3.2/include -internal-externc-isystem /usr/include/x86_64-linux-gnu -internal-externc-isystem /include -internal-externc-isystem /usr/include -W -Wall -Wno-long-long -Wstrict-aliasing -Wno-variadic-macros -pedantic -fdeprecated-macro -fdebug-compilation-dir /export/local-1/public/holtgrew/seqan-trunk-build/core/tests/graph_types -ferror-limit 19 -fmessage-length 271 -mstackrealign -fobjc-runtime=gcc -fcxx-exceptions -fexceptions -fdiagnostics-show-option -fcolor-diagnostics -o CMakeFiles/test_graph_types.dir/test_graph_types.cpp.o -x c++ /export/local-1/public/holtgrew/seqan-trunk/core/tests/graph_types/test_graph_types.cpp 
> 1.	/export/local-1/public/holtgrew/seqan-trunk/core/tests/graph_types/test_graph_properties.h:134:2 <Spelling=/export/local-1/public/holtgrew/seqan-trunk/core/tests/graph_types/test_graph_properties.h:134:33>: current parser token ')'
> 2.	/export/local-1/public/holtgrew/seqan-trunk/core/tests/graph_types/test_graph_properties.h:95:22: parsing function body 'Test_Property'
> 3.	/export/local-1/public/holtgrew/seqan-trunk/core/tests/graph_types/test_graph_properties.h:95:22: in compound statement ('{}')
> 4.	/export/local-1/public/holtgrew/seqan-trunk/core/tests/graph_types/test_graph_properties.h:134:2 <Spelling=/export/local-1/public/holtgrew/seqan-trunk/core/include/seqan/basic/debug_test_system.h:1971:8>: in compound statement ('{}')
> clang: error: unable to execute command: Aborted
> clang: error: clang frontend command failed due to signal (use -v to see invocation)
> clang version 3.2 (tags/RELEASE_32/rc3)
> Target: x86_64-unknown-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: 
> ********************
> 
> PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
> Preprocessed source(s) and associated run script(s) are located at:
> clang: note: diagnostic msg: /export/local-1/public/holtgrew/tmp/test_graph_types-AYbuwI.cpp
> clang: note: diagnostic msg: /export/local-1/public/holtgrew/tmp/test_graph_types-AYbuwI.sh
> clang: note: diagnostic msg: 
> 
> ********************
> ________________________________________
> From: cfe-dev-bounces at cs.uiuc.edu [cfe-dev-bounces at cs.uiuc.edu] on behalf of Pawel Wodnicki [root at 32bitmicro.com]
> Sent: Thursday, December 06, 2012 8:12 AM
> To: llvmdev; clang-dev Developers
> Subject: [cfe-dev] !!! 3.2 Release RC3 source code available for download       and testing
> 
> Hello,
> 
>  Release Candidate 3 has been branched.
> RC3 source code can be downloaded as tarballs from:
> 
> http://llvm.org/pre-releases/3.2/rc3/
> 
> or directly from svn.
> 
> Binaries will be posted shortly.
> 
> Testing
> 
>  RC3 has a number of fixes related to MIPS support
> that need to be well exercised.
> 
>  Otherwise, I think we are at the point of the release
> where I can *challenge* testers to try to break it!
> 
> Pawel
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
> 
> 




More information about the cfe-dev mailing list