Skip to content

Instantly share code, notes, and snippets.

@brycelelbach
Created September 15, 2010 20:47
Show Gist options
  • Save brycelelbach/581454 to your computer and use it in GitHub Desktop.
Save brycelelbach/581454 to your computer and use it in GitHub Desktop.
[ 78%] Building CXX object unit/sdk/simd/CMakeFiles/access.simd.test.dir/access.cpp.o
clang: SemaTemplate.cpp:3150: clang::ExprResult clang::Sema::BuildExpressionFromIntegralTemplateArgument(const clang::TemplateArgument&, clang::SourceLocation): Assertion `Arg.getKind() == TemplateArgument::Integral && "Operation is only value for integral template arguments"' failed.
0 clang 0x00000000022a2154
1 clang 0x00000000022a2018
2 libpthread.so.0 0x00002ada81d4bf60
3 libc.so.6 0x00002ada82934175 gsignal + 53
4 libc.so.6 0x00002ada82936f80 abort + 384
5 libc.so.6 0x00002ada8292d2b1 __assert_fail + 241
6 clang 0x0000000001505582 clang::Sema::BuildExpressionFromIntegralTemplateArgument(clang::TemplateArgument const&, clang::SourceLocation) + 72
7 clang 0x000000000153b1e9
8 clang 0x000000000153b26e
9 clang 0x000000000153fe9c
10 clang 0x000000000154162b
11 clang 0x000000000154505d
12 clang 0x000000000153f096
13 clang 0x000000000153e83e
14 clang 0x00000000015411d0
15 clang 0x000000000154505d
16 clang 0x000000000153f096
17 clang 0x000000000153e83e
18 clang 0x000000000153e966
19 clang 0x000000000153b949 clang::Sema::SubstType(clang::QualType, clang::MultiLevelTemplateArgumentList const&, clang::SourceLocation, clang::DeclarationName) + 225
20 clang 0x0000000001560e90 clang::Sema::FindInstantiatedDecl(clang::SourceLocation, clang::NamedDecl*, clang::MultiLevelTemplateArgumentList const&) + 646
21 clang 0x0000000001560bec clang::Sema::FindInstantiatedContext(clang::SourceLocation, clang::DeclContext*, clang::MultiLevelTemplateArgumentList const&) + 72
22 clang 0x00000000015610b4 clang::Sema::FindInstantiatedDecl(clang::SourceLocation, clang::NamedDecl*, clang::MultiLevelTemplateArgumentList const&) + 1194
23 clang 0x000000000153a807
24 clang 0x000000000153df84
25 clang 0x000000000153b283
26 clang 0x000000000153fe9c
27 clang 0x000000000154cd79
28 clang 0x000000000153fdc5
29 clang 0x0000000001548e5f
30 clang 0x000000000153f890
31 clang 0x0000000001548e1b
32 clang 0x000000000153f890
33 clang 0x0000000001550403
34 clang 0x00000000015402a4
35 clang 0x000000000153d743 clang::Sema::SubstExpr(clang::Expr*, clang::MultiLevelTemplateArgumentList const&) + 125
36 clang 0x00000000014ffb1c
37 clang 0x0000000001500f9f clang::Sema::CheckTemplateArgumentList(clang::TemplateDecl*, clang::SourceLocation, clang::TemplateArgumentListInfo const&, bool, clang::TemplateArgumentListBuilder&) + 1539
38 clang 0x00000000014fe0d6 clang::Sema::CheckTemplateIdType(clang::TemplateName, clang::SourceLocation, clang::TemplateArgumentListInfo const&) + 246
39 clang 0x00000000014fe64d clang::Sema::ActOnTemplateIdType(clang::OpaquePtr<clang::TemplateName>, clang::SourceLocation, clang::SourceLocation, clang::ASTTemplateArgsPtr, clang::SourceLocation) + 173
40 clang 0x0000000001386f9e clang::Parser::AnnotateTemplateIdTokenAsType(clang::CXXScopeSpec const*) + 278
41 clang 0x000000000137b6dd clang::Parser::ParseOptionalCXXScopeSpecifier(clang::CXXScopeSpec&, clang::OpaquePtr<clang::QualType>, bool, bool*) + 1857
42 clang 0x000000000135a88b clang::Parser::TryAnnotateTypeOrScopeToken(bool) + 1689
43 clang 0x00000000013764c2 clang::Parser::ParseCastExpression(bool, bool, bool&, clang::OpaquePtr<clang::QualType>) + 818
44 clang 0x0000000001376144 clang::Parser::ParseCastExpression(bool, bool, clang::OpaquePtr<clang::QualType>) + 60
45 clang 0x00000000013755ad clang::Parser::ParseAssignmentExpression() + 171
46 clang 0x000000000136a141 clang::Parser::ParseInitializer() + 49
47 clang 0x000000000136fca5 clang::Parser::ParseCXXClassMemberDeclaration(clang::AccessSpecifier, clang::Parser::ParsedTemplateInfo const&, clang::Parser::ParsingDeclRAIIObject*) + 3059
48 clang 0x000000000137076b clang::Parser::ParseCXXMemberSpecification(clang::SourceLocation, unsigned int, clang::Decl*) + 1381
49 clang 0x000000000136e79f clang::Parser::ParseClassSpecifier(clang::tok::TokenKind, clang::SourceLocation, clang::DeclSpec&, clang::Parser::ParsedTemplateInfo const&, clang::AccessSpecifier, bool) + 5263
50 clang 0x0000000001362636 clang::Parser::ParseDeclarationSpecifiers(clang::DeclSpec&, clang::Parser::ParsedTemplateInfo const&, clang::AccessSpecifier, clang::Parser::DeclSpecContext) + 6538
51 clang 0x000000000136f74f clang::Parser::ParseCXXClassMemberDeclaration(clang::AccessSpecifier, clang::Parser::ParsedTemplateInfo const&, clang::Parser::ParsingDeclRAIIObject*) + 1693
52 clang 0x000000000138502f clang::Parser::ParseSingleDeclarationAfterTemplate(unsigned int, clang::Parser::ParsedTemplateInfo const&, clang::Parser::ParsingDeclRAIIObject&, clang::SourceLocation&, clang::AccessSpecifier) + 143
53 clang 0x0000000001384f52 clang::Parser::ParseTemplateDeclarationOrSpecialization(unsigned int, clang::SourceLocation&, clang::AccessSpecifier) + 1016
54 clang 0x0000000001384ac3 clang::Parser::ParseDeclarationStartingWithTemplate(unsigned int, clang::SourceLocation&, clang::AccessSpecifier) + 175
55 clang 0x000000000136f440 clang::Parser::ParseCXXClassMemberDeclaration(clang::AccessSpecifier, clang::Parser::ParsedTemplateInfo const&, clang::Parser::ParsingDeclRAIIObject*) + 910
56 clang 0x000000000137076b clang::Parser::ParseCXXMemberSpecification(clang::SourceLocation, unsigned int, clang::Decl*) + 1381
57 clang 0x000000000136e79f clang::Parser::ParseClassSpecifier(clang::tok::TokenKind, clang::SourceLocation, clang::DeclSpec&, clang::Parser::ParsedTemplateInfo const&, clang::AccessSpecifier, bool) + 5263
58 clang 0x0000000001362636 clang::Parser::ParseDeclarationSpecifiers(clang::DeclSpec&, clang::Parser::ParsedTemplateInfo const&, clang::AccessSpecifier, clang::Parser::DeclSpecContext) + 6538
59 clang 0x0000000001385112 clang::Parser::ParseSingleDeclarationAfterTemplate(unsigned int, clang::Parser::ParsedTemplateInfo const&, clang::Parser::ParsingDeclRAIIObject&, clang::SourceLocation&, clang::AccessSpecifier) + 370
60 clang 0x0000000001384f52 clang::Parser::ParseTemplateDeclarationOrSpecialization(unsigned int, clang::SourceLocation&, clang::AccessSpecifier) + 1016
61 clang 0x0000000001384ac3 clang::Parser::ParseDeclarationStartingWithTemplate(unsigned int, clang::SourceLocation&, clang::AccessSpecifier) + 175
62 clang 0x000000000135f05e clang::Parser::ParseDeclaration(unsigned int, clang::SourceLocation&, clang::CXX0XAttributeList) + 256
63 clang 0x0000000001358bf3 clang::Parser::ParseExternalDeclaration(clang::CXX0XAttributeList, clang::Parser::ParsingDeclSpec*) + 1281
64 clang 0x000000000136b7ce clang::Parser::ParseNamespace(unsigned int, clang::SourceLocation&, clang::SourceLocation) + 1622
65 clang 0x000000000135f1f4 clang::Parser::ParseDeclaration(unsigned int, clang::SourceLocation&, clang::CXX0XAttributeList) + 662
66 clang 0x0000000001358bf3 clang::Parser::ParseExternalDeclaration(clang::CXX0XAttributeList, clang::Parser::ParsingDeclSpec*) + 1281
67 clang 0x000000000136b7ce clang::Parser::ParseNamespace(unsigned int, clang::SourceLocation&, clang::SourceLocation) + 1622
68 clang 0x000000000135f1f4 clang::Parser::ParseDeclaration(unsigned int, clang::SourceLocation&, clang::CXX0XAttributeList) + 662
69 clang 0x0000000001358bf3 clang::Parser::ParseExternalDeclaration(clang::CXX0XAttributeList, clang::Parser::ParsingDeclSpec*) + 1281
70 clang 0x0000000001358663 clang::Parser::ParseTopLevelDecl(clang::OpaquePtr<clang::DeclGroupRef>&) + 267
71 clang 0x0000000001343274 clang::ParseAST(clang::Sema&, bool) + 328
72 clang 0x00000000010d7a90 clang::ASTFrontendAction::ExecuteAction() + 264
73 clang 0x00000000011ef0de clang::CodeGenAction::ExecuteAction() + 1012
74 clang 0x00000000010d76dc clang::FrontendAction::Execute() + 320
75 clang 0x00000000010c1718 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) + 746
76 clang 0x0000000001076074 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) + 880
77 clang 0x00000000010694b5 cc1_main(char const**, char const**, char const*, void*) + 916
78 clang 0x0000000001071ebf main + 484
79 libc.so.6 0x00002ada82920c4d __libc_start_main + 253
80 clang 0x0000000001068b99
Stack dump:
0. Program arguments: /usr/local/bin/clang -cc1 -triple x86_64-unknown-linux-gnu -S -disable-free -main-file-name access.cpp -mrelocation-model static -mdisable-fp-elim -mconstructor-aliases -munwind-tables -target-cpu x86-64 -target-feature +sse4.1 -target-feature +ssse3 -target-feature +sse3 -target-feature +sse2 -target-feature +mmx -target-linker-version 2.20.51 -resource-dir /usr/local/lib/clang/2.8 -D NDEBUG -I /usr/local/include -I /home/wash/development/nt2-wc/include -I /home/wash/development/nt2-wc -O3 -ferror-limit 19 -fmessage-length 179 -fexceptions -fgnu-runtime -fdiagnostics-show-option -fcolor-diagnostics -o /tmp/cc-oYJf8T.s -x c++ /home/wash/development/nt2-wc/unit/sdk/simd/access.cpp
1. /home/wash/development/nt2-wc/include/nt2/sdk/simd/details/impl/sse/sse2/load.hpp:150:7 <Spelling=/home/wash/development/nt2-wc/include/nt2/sdk/simd/details/impl/sse/sse2/load.hpp:150:55>: at annotation token
2. /home/wash/development/nt2-wc/include/nt2/sdk/simd/details/impl/sse/sse2/load.hpp:17:1: parsing namespace 'nt2'
3. /home/wash/development/nt2-wc/include/nt2/sdk/simd/details/impl/sse/sse2/load.hpp:17:17: parsing namespace 'functors'
4. /home/wash/development/nt2-wc/include/nt2/sdk/simd/details/impl/sse/sse2/load.hpp:54:3: parsing struct/union/class body 'call'
5. /home/wash/development/nt2-wc/include/nt2/sdk/simd/details/impl/sse/sse2/load.hpp:148:21: parsing struct/union/class body 'loader_'
clang: error: clang frontend command failed due to signal 6 (use -v to see invocation)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment