? github.com/google/syzkaller/dashboard/api [no test files] # github.com/google/syzkaller/pkg/codesearch.test /usr/local/go/pkg/tool/linux_amd64/link: running g++ failed: exit status 1 /usr/bin/g++ -m64 -s -Wl,--build-id=0x460be88266c2c312c5bc38f970a773d31e43847f -o $WORK/b1046/codesearch.test -Wl,--export-dynamic-symbol=_cgo_panic -Wl,--export-dynamic-symbol=_cgo_topofstack -Wl,--export-dynamic-symbol=crosscall2 -Wl,--compress-debug-sections=zlib /tmp/go-link-3085237463/go.o /tmp/go-link-3085237463/000000.o /tmp/go-link-3085237463/000001.o /tmp/go-link-3085237463/000002.o /tmp/go-link-3085237463/000003.o /tmp/go-link-3085237463/000004.o /tmp/go-link-3085237463/000005.o /tmp/go-link-3085237463/000006.o /tmp/go-link-3085237463/000007.o /tmp/go-link-3085237463/000008.o /tmp/go-link-3085237463/000009.o /tmp/go-link-3085237463/000010.o /tmp/go-link-3085237463/000011.o /tmp/go-link-3085237463/000012.o /tmp/go-link-3085237463/000013.o /tmp/go-link-3085237463/000014.o /tmp/go-link-3085237463/000015.o /tmp/go-link-3085237463/000016.o /tmp/go-link-3085237463/000017.o /tmp/go-link-3085237463/000018.o /tmp/go-link-3085237463/000019.o /tmp/go-link-3085237463/000020.o /tmp/go-link-3085237463/000021.o /tmp/go-link-3085237463/000022.o /tmp/go-link-3085237463/000023.o /tmp/go-link-3085237463/000024.o /tmp/go-link-3085237463/000025.o /tmp/go-link-3085237463/000026.o -O2 -g -lclang-cpp -lclang -lLLVM -L/usr/lib/llvm-22/lib -L/usr/lib/llvm-21/lib -L/usr/lib/llvm-19/lib -O2 -g -lpthread -O2 -g -lresolv -O2 -g -no-pie /usr/bin/ld: /tmp/go-link-3085237463/000002.o: in function `Indexer::NamedDeclEmitter::NamedDeclEmitter(Indexer*, clang::NamedDecl const*, char const*, std::__cxx11::basic_string, std::allocator > const&, bool)': /syzkaller/gopath/src/github.com/google/syzkaller/tools/clang/codesearch/codesearch.cpp:148:(.text+0x477): undefined reference to `clang::SourceManager::getExpansionLineNumber(clang::SourceLocation, bool*) const' /usr/bin/ld: /syzkaller/gopath/src/github.com/google/syzkaller/tools/clang/codesearch/codesearch.cpp:149:(.text+0x499): undefined reference to `clang::SourceManager::getExpansionLineNumber(clang::SourceLocation, bool*) const' /usr/bin/ld: /syzkaller/gopath/src/github.com/google/syzkaller/tools/clang/codesearch/codesearch.cpp:157:(.text+0x7c7): undefined reference to `clang::SourceManager::getExpansionLineNumber(clang::SourceLocation, bool*) const' /usr/bin/ld: /syzkaller/gopath/src/github.com/google/syzkaller/tools/clang/codesearch/codesearch.cpp:158:(.text+0x7d9): undefined reference to `clang::SourceManager::getExpansionLineNumber(clang::SourceLocation, bool*) const' /usr/bin/ld: /tmp/go-link-3085237463/000002.o: in function `Indexer::EmitReference(clang::SourceLocation, std::__cxx11::basic_string, std::allocator > const&, char const*, char const*)': /syzkaller/gopath/src/github.com/google/syzkaller/tools/clang/codesearch/codesearch.cpp:336:(.text+0x1a28): undefined reference to `clang::SourceManager::getExpansionLineNumber(clang::SourceLocation, bool*) const' /usr/bin/ld: /tmp/go-link-3085237463/000002.o: in function `clang::NestedNameSpecifierLoc::getBeginLoc() const': /usr/lib/llvm-21/include/clang/AST/NestedNameSpecifier.h:307:(.text+0x2006): undefined reference to `clang::NestedNameSpecifierLoc::getLocalSourceRange() const' /usr/bin/ld: /tmp/go-link-3085237463/000002.o: in function `Indexer::VisitTagType(clang::TagType const*)': /syzkaller/gopath/src/github.com/google/syzkaller/tools/clang/codesearch/codesearch.cpp:267:(.text+0x2038): undefined reference to `clang::Type::getAsTagDecl() const' /usr/bin/ld: /tmp/go-link-3085237463/000002.o: in function `Indexer::VisitMemberExpr(clang::MemberExpr const*)': /syzkaller/gopath/src/github.com/google/syzkaller/tools/clang/codesearch/codesearch.cpp:292:(.text+0x2176): undefined reference to `clang::Type::getAsRecordDecl() const' /usr/bin/ld: /syzkaller/gopath/src/github.com/google/syzkaller/tools/clang/codesearch/codesearch.cpp:294:(.text+0x21e3): undefined reference to `clang::Type::getAsRecordDecl() const' /usr/bin/ld: /tmp/go-link-3085237463/000002.o: in function `clang::RecursiveASTVisitor::TraverseSubstTemplateTypeParmPackType(clang::SubstTemplateTypeParmPackType*)': /usr/lib/llvm-21/include/clang/AST/RecursiveASTVisitor.h:1131:(.text._ZN5clang19RecursiveASTVisitorI7IndexerE12TraverseTypeENS_8QualTypeE[_ZN5clang19RecursiveASTVisitorI7IndexerE12TraverseTypeENS_8QualTypeE]+0x321): undefined reference to `clang::SubstTemplateTypeParmPackType::getArgumentPack() const' /usr/bin/ld: /tmp/go-link-3085237463/000002.o: in function `clang::RecursiveASTVisitor::TraverseNestedNameSpecifier(clang::NestedNameSpecifier*)': /usr/lib/llvm-21/include/clang/AST/RecursiveASTVisitor.h:789:(.text._ZN5clang19RecursiveASTVisitorI7IndexerE27TraverseNestedNameSpecifierEPNS_19NestedNameSpecifierE[_ZN5clang19RecursiveASTVisitorI7IndexerE27TraverseNestedNameSpecifierEPNS_19NestedNameSpecifierE]+0x2c): undefined reference to `clang::NestedNameSpecifier::getKind() const' /usr/bin/ld: /tmp/go-link-3085237463/000002.o: in function `clang::RecursiveASTVisitor::TraverseSubstTemplateTypeParmPackTypeLoc(clang::SubstTemplateTypeParmPackTypeLoc)': /usr/lib/llvm-21/include/clang/AST/RecursiveASTVisitor.h:1437:(.text._ZN5clang19RecursiveASTVisitorI7IndexerE15TraverseTypeLocENS_7TypeLocE[_ZN5clang19RecursiveASTVisitorI7IndexerE15TraverseTypeLocENS_7TypeLocE]+0x61e): undefined reference to `clang::SubstTemplateTypeParmPackType::getArgumentPack() const' /usr/bin/ld: /tmp/go-link-3085237463/000002.o: in function `clang::RecursiveASTVisitor::TraverseNestedNameSpecifierLoc(clang::NestedNameSpecifierLoc)': /usr/lib/llvm-21/include/clang/AST/RecursiveASTVisitor.h:813:(.text._ZN5clang19RecursiveASTVisitorI7IndexerE30TraverseNestedNameSpecifierLocENS_22NestedNameSpecifierLocE[_ZN5clang19RecursiveASTVisitorI7IndexerE30TraverseNestedNameSpecifierLocENS_22NestedNameSpecifierLocE]+0x29): undefined reference to `clang::NestedNameSpecifier::getKind() const' /usr/bin/ld: /usr/lib/llvm-21/include/clang/AST/RecursiveASTVisitor.h:813:(.text._ZN5clang19RecursiveASTVisitorI7IndexerE30TraverseNestedNameSpecifierLocENS_22NestedNameSpecifierLocE[_ZN5clang19RecursiveASTVisitorI7IndexerE30TraverseNestedNameSpecifierLocENS_22NestedNameSpecifierLocE]+0x57): undefined reference to `clang::NestedNameSpecifier::getKind() const' /usr/bin/ld: /usr/lib/llvm-21/include/clang/AST/RecursiveASTVisitor.h:822:(.text._ZN5clang19RecursiveASTVisitorI7IndexerE30TraverseNestedNameSpecifierLocENS_22NestedNameSpecifierLocE[_ZN5clang19RecursiveASTVisitorI7IndexerE30TraverseNestedNameSpecifierLocENS_22NestedNameSpecifierLocE]+0x64): undefined reference to `clang::NestedNameSpecifierLoc::getTypeLoc() const' collect2: error: ld returned 1 exit status ok github.com/google/syzkaller/dashboard/app 0.551s ? github.com/google/syzkaller/dashboard/app/aidb [no test files] ok github.com/google/syzkaller/dashboard/dashapi (cached) ? github.com/google/syzkaller/docs [no test files] # github.com/google/syzkaller/pkg/aflow/tool/codesearcher.test /usr/local/go/pkg/tool/linux_amd64/link: running g++ failed: exit status 1 /usr/bin/g++ -m64 -s -Wl,--build-id=0xc2af633d01437e0be2ecdd348744196dc621461d -o $WORK/b1015/codesearcher.test -Wl,--export-dynamic-symbol=_cgo_panic -Wl,--export-dynamic-symbol=_cgo_topofstack -Wl,--export-dynamic-symbol=crosscall2 -Wl,--compress-debug-sections=zlib /tmp/go-link-324561804/go.o /tmp/go-link-324561804/000000.o /tmp/go-link-324561804/000001.o /tmp/go-link-324561804/000002.o /tmp/go-link-324561804/000003.o /tmp/go-link-324561804/000004.o /tmp/go-link-324561804/000005.o /tmp/go-link-324561804/000006.o /tmp/go-link-324561804/000007.o /tmp/go-link-324561804/000008.o /tmp/go-link-324561804/000009.o /tmp/go-link-324561804/000010.o /tmp/go-link-324561804/000011.o /tmp/go-link-324561804/000012.o /tmp/go-link-324561804/000013.o /tmp/go-link-324561804/000014.o /tmp/go-link-324561804/000015.o /tmp/go-link-324561804/000016.o /tmp/go-link-324561804/000017.o /tmp/go-link-324561804/000018.o /tmp/go-link-324561804/000019.o /tmp/go-link-324561804/000020.o /tmp/go-link-324561804/000021.o /tmp/go-link-324561804/000022.o /tmp/go-link-324561804/000023.o /tmp/go-link-324561804/000024.o /tmp/go-link-324561804/000025.o /tmp/go-link-324561804/000026.o -O2 -g -lclang-cpp -lclang -lLLVM -L/usr/lib/llvm-22/lib -L/usr/lib/llvm-21/lib -L/usr/lib/llvm-19/lib -O2 -g -lpthread -O2 -g -lresolv -O2 -g -no-pie /usr/bin/ld: /tmp/go-link-324561804/000002.o: in function `Indexer::NamedDeclEmitter::NamedDeclEmitter(Indexer*, clang::NamedDecl const*, char const*, std::__cxx11::basic_string, std::allocator > const&, bool)': /syzkaller/gopath/src/github.com/google/syzkaller/tools/clang/codesearch/codesearch.cpp:148:(.text+0x477): undefined reference to `clang::SourceManager::getExpansionLineNumber(clang::SourceLocation, bool*) const' /usr/bin/ld: /syzkaller/gopath/src/github.com/google/syzkaller/tools/clang/codesearch/codesearch.cpp:149:(.text+0x499): undefined reference to `clang::SourceManager::getExpansionLineNumber(clang::SourceLocation, bool*) const' /usr/bin/ld: /syzkaller/gopath/src/github.com/google/syzkaller/tools/clang/codesearch/codesearch.cpp:157:(.text+0x7c7): undefined reference to `clang::SourceManager::getExpansionLineNumber(clang::SourceLocation, bool*) const' /usr/bin/ld: /syzkaller/gopath/src/github.com/google/syzkaller/tools/clang/codesearch/codesearch.cpp:158:(.text+0x7d9): undefined reference to `clang::SourceManager::getExpansionLineNumber(clang::SourceLocation, bool*) const' /usr/bin/ld: /tmp/go-link-324561804/000002.o: in function `Indexer::EmitReference(clang::SourceLocation, std::__cxx11::basic_string, std::allocator > const&, char const*, char const*)': /syzkaller/gopath/src/github.com/google/syzkaller/tools/clang/codesearch/codesearch.cpp:336:(.text+0x1a28): undefined reference to `clang::SourceManager::getExpansionLineNumber(clang::SourceLocation, bool*) const' /usr/bin/ld: /tmp/go-link-324561804/000002.o: in function `clang::NestedNameSpecifierLoc::getBeginLoc() const': /usr/lib/llvm-21/include/clang/AST/NestedNameSpecifier.h:307:(.text+0x2006): undefined reference to `clang::NestedNameSpecifierLoc::getLocalSourceRange() const' /usr/bin/ld: /tmp/go-link-324561804/000002.o: in function `Indexer::VisitTagType(clang::TagType const*)': /syzkaller/gopath/src/github.com/google/syzkaller/tools/clang/codesearch/codesearch.cpp:267:(.text+0x2038): undefined reference to `clang::Type::getAsTagDecl() const' /usr/bin/ld: /tmp/go-link-324561804/000002.o: in function `Indexer::VisitMemberExpr(clang::MemberExpr const*)': /syzkaller/gopath/src/github.com/google/syzkaller/tools/clang/codesearch/codesearch.cpp:292:(.text+0x2176): undefined reference to `clang::Type::getAsRecordDecl() const' /usr/bin/ld: /syzkaller/gopath/src/github.com/google/syzkaller/tools/clang/codesearch/codesearch.cpp:294:(.text+0x21e3): undefined reference to `clang::Type::getAsRecordDecl() const' /usr/bin/ld: /tmp/go-link-324561804/000002.o: in function `clang::RecursiveASTVisitor::TraverseSubstTemplateTypeParmPackType(clang::SubstTemplateTypeParmPackType*)': /usr/lib/llvm-21/include/clang/AST/RecursiveASTVisitor.h:1131:(.text._ZN5clang19RecursiveASTVisitorI7IndexerE12TraverseTypeENS_8QualTypeE[_ZN5clang19RecursiveASTVisitorI7IndexerE12TraverseTypeENS_8QualTypeE]+0x321): undefined reference to `clang::SubstTemplateTypeParmPackType::getArgumentPack() const' /usr/bin/ld: /tmp/go-link-324561804/000002.o: in function `clang::RecursiveASTVisitor::TraverseNestedNameSpecifier(clang::NestedNameSpecifier*)': /usr/lib/llvm-21/include/clang/AST/RecursiveASTVisitor.h:789:(.text._ZN5clang19RecursiveASTVisitorI7IndexerE27TraverseNestedNameSpecifierEPNS_19NestedNameSpecifierE[_ZN5clang19RecursiveASTVisitorI7IndexerE27TraverseNestedNameSpecifierEPNS_19NestedNameSpecifierE]+0x2c): undefined reference to `clang::NestedNameSpecifier::getKind() const' /usr/bin/ld: /tmp/go-link-324561804/000002.o: in function `clang::RecursiveASTVisitor::TraverseSubstTemplateTypeParmPackTypeLoc(clang::SubstTemplateTypeParmPackTypeLoc)': /usr/lib/llvm-21/include/clang/AST/RecursiveASTVisitor.h:1437:(.text._ZN5clang19RecursiveASTVisitorI7IndexerE15TraverseTypeLocENS_7TypeLocE[_ZN5clang19RecursiveASTVisitorI7IndexerE15TraverseTypeLocENS_7TypeLocE]+0x61e): undefined reference to `clang::SubstTemplateTypeParmPackType::getArgumentPack() const' /usr/bin/ld: /tmp/go-link-324561804/000002.o: in function `clang::RecursiveASTVisitor::TraverseNestedNameSpecifierLoc(clang::NestedNameSpecifierLoc)': /usr/lib/llvm-21/include/clang/AST/RecursiveASTVisitor.h:813:(.text._ZN5clang19RecursiveASTVisitorI7IndexerE30TraverseNestedNameSpecifierLocENS_22NestedNameSpecifierLocE[_ZN5clang19RecursiveASTVisitorI7IndexerE30TraverseNestedNameSpecifierLocENS_22NestedNameSpecifierLocE]+0x29): undefined reference to `clang::NestedNameSpecifier::getKind() const' /usr/bin/ld: /usr/lib/llvm-21/include/clang/AST/RecursiveASTVisitor.h:813:(.text._ZN5clang19RecursiveASTVisitorI7IndexerE30TraverseNestedNameSpecifierLocENS_22NestedNameSpecifierLocE[_ZN5clang19RecursiveASTVisitorI7IndexerE30TraverseNestedNameSpecifierLocENS_22NestedNameSpecifierLocE]+0x57): undefined reference to `clang::NestedNameSpecifier::getKind() const' /usr/bin/ld: /usr/lib/llvm-21/include/clang/AST/RecursiveASTVisitor.h:822:(.text._ZN5clang19RecursiveASTVisitorI7IndexerE30TraverseNestedNameSpecifierLocENS_22NestedNameSpecifierLocE[_ZN5clang19RecursiveASTVisitorI7IndexerE30TraverseNestedNameSpecifierLocENS_22NestedNameSpecifierLocE]+0x64): undefined reference to `clang::NestedNameSpecifierLoc::getTypeLoc() const' collect2: error: ld returned 1 exit status ok github.com/google/syzkaller/executor 0.986s ok github.com/google/syzkaller/pkg/aflow 1.171s ok github.com/google/syzkaller/pkg/aflow/action/actionsyzlang (cached) ok github.com/google/syzkaller/pkg/aflow/action/crash (cached) ? github.com/google/syzkaller/pkg/aflow/action/kernel [no test files] ? github.com/google/syzkaller/pkg/aflow/ai [no test files] # github.com/google/syzkaller/tools/syz-declextract.test /usr/local/go/pkg/tool/linux_amd64/link: running g++ failed: exit status 1 /usr/bin/g++ -m64 -s -Wl,--build-id=0x6ea71c744fdccb8adcd67101334ba87781bf18ae -o $WORK/b1626/syz-declextract.test -Wl,--export-dynamic-symbol=_cgo_panic -Wl,--export-dynamic-symbol=_cgo_topofstack -Wl,--export-dynamic-symbol=crosscall2 -Wl,--compress-debug-sections=zlib /tmp/go-link-1747404638/go.o /tmp/go-link-1747404638/000000.o /tmp/go-link-1747404638/000001.o /tmp/go-link-1747404638/000002.o /tmp/go-link-1747404638/000003.o /tmp/go-link-1747404638/000004.o /tmp/go-link-1747404638/000005.o /tmp/go-link-1747404638/000006.o /tmp/go-link-1747404638/000007.o /tmp/go-link-1747404638/000008.o /tmp/go-link-1747404638/000009.o /tmp/go-link-1747404638/000010.o /tmp/go-link-1747404638/000011.o /tmp/go-link-1747404638/000012.o /tmp/go-link-1747404638/000013.o /tmp/go-link-1747404638/000014.o /tmp/go-link-1747404638/000015.o /tmp/go-link-1747404638/000016.o /tmp/go-link-1747404638/000017.o /tmp/go-link-1747404638/000018.o /tmp/go-link-1747404638/000019.o /tmp/go-link-1747404638/000020.o /tmp/go-link-1747404638/000021.o /tmp/go-link-1747404638/000022.o /tmp/go-link-1747404638/000023.o /tmp/go-link-1747404638/000024.o /tmp/go-link-1747404638/000025.o /tmp/go-link-1747404638/000026.o -O2 -g -lclang-cpp -lclang -lLLVM -L/usr/lib/llvm-22/lib -L/usr/lib/llvm-21/lib -L/usr/lib/llvm-19/lib -O2 -g -lresolv -O2 -g -lpthread -O2 -g -no-pie /usr/bin/ld: /tmp/go-link-1747404638/000002.o: in function `clang::RecordType::getDecl() const': /usr/lib/llvm-21/include/clang/AST/Type.h:6144:(.text+0x426c): undefined reference to `clang::TagType::getDecl() const' /usr/bin/ld: /tmp/go-link-1747404638/000002.o: in function `clang::EnumType::getDecl() const': /usr/lib/llvm-21/include/clang/AST/Type.h:6167:(.text+0x6629): undefined reference to `clang::TagType::getDecl() const' /usr/bin/ld: /tmp/go-link-1747404638/000002.o: in function `clang::RecordType::getDecl() const': /usr/lib/llvm-21/include/clang/AST/Type.h:6144:(.text+0x8675): undefined reference to `clang::TagType::getDecl() const' /usr/bin/ld: /tmp/go-link-1747404638/000002.o: in function `FunctionAnalyzer::getTypingEntity(clang::Expr const*)': /syzkaller/gopath/src/github.com/google/syzkaller/tools/clang/declextract/declextract.cpp:861:(.text+0x8ac8): undefined reference to `clang::SourceManager::getExpansionLineNumber(clang::SourceLocation, bool*) const' /usr/bin/ld: /tmp/go-link-1747404638/000002.o: in function `FunctionAnalyzer::VisitSwitchCase(clang::SwitchCase const*)': /syzkaller/gopath/src/github.com/google/syzkaller/tools/clang/declextract/declextract.cpp:741:(.text+0xbf92): undefined reference to `clang::SourceManager::getExpansionLineNumber(clang::SourceLocation, bool*) const' /usr/bin/ld: /tmp/go-link-1747404638/000002.o: in function `Extractor::matchFileOps()': /syzkaller/gopath/src/github.com/google/syzkaller/tools/clang/declextract/declextract.cpp:957:(.text+0xd68b): undefined reference to `clang::Type::getAsRecordDecl() const' /usr/bin/ld: /tmp/go-link-1747404638/000002.o: in function `Extractor::matchNetlinkFamily()': /syzkaller/gopath/src/github.com/google/syzkaller/tools/clang/declextract/declextract.cpp:601:(.text+0xf410): undefined reference to `clang::Expr::getIntegerConstantExpr(clang::ASTContext const&, clang::SourceLocation*) const' /usr/bin/ld: /syzkaller/gopath/src/github.com/google/syzkaller/tools/clang/declextract/declextract.cpp:607:(.text+0xf7ce): undefined reference to `clang::Type::getAsRecordDecl() const' /usr/bin/ld: /tmp/go-link-1747404638/000002.o: in function `Extractor::matchIouring()': /syzkaller/gopath/src/github.com/google/syzkaller/tools/clang/declextract/declextract.cpp:932:(.text+0x11e2f): undefined reference to `clang::Type::getAsRecordDecl() const' /usr/bin/ld: /tmp/go-link-1747404638/000002.o: in function `Extractor::matchNetlinkPolicy()': /syzkaller/gopath/src/github.com/google/syzkaller/tools/clang/declextract/declextract.cpp:557:(.text+0x12bd7): undefined reference to `clang::Type::getAsRecordDecl() const' /usr/bin/ld: /tmp/go-link-1747404638/000002.o: in function `Extractor::matchFunctionDef()': /syzkaller/gopath/src/github.com/google/syzkaller/tools/clang/declextract/declextract.cpp:822:(.text+0x148ac): undefined reference to `clang::SourceManager::getExpansionLineNumber(clang::SourceLocation, bool*) const' /usr/bin/ld: /syzkaller/gopath/src/github.com/google/syzkaller/tools/clang/declextract/declextract.cpp:823:(.text+0x148c8): undefined reference to `clang::SourceManager::getExpansionLineNumber(clang::SourceLocation, bool*) const' /usr/bin/ld: /tmp/go-link-1747404638/000002.o: in function `clang::ast_matchers::internal::matcher_specifiesTypeLoc0Matcher::matches(clang::NestedNameSpecifierLoc const&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const': /usr/lib/llvm-21/include/clang/ASTMatchers/ASTMatchers.h:7845:(.text._ZNK5clang12ast_matchers8internal32matcher_specifiesTypeLoc0Matcher7matchesERKNS_22NestedNameSpecifierLocEPNS1_14ASTMatchFinderEPNS1_21BoundNodesTreeBuilderE[_ZNK5clang12ast_matchers8internal32matcher_specifiesTypeLoc0Matcher7matchesERKNS_22NestedNameSpecifierLocEPNS1_14ASTMatchFinderEPNS1_21BoundNodesTreeBuilderE]+0x3e): undefined reference to `clang::NestedNameSpecifierLoc::getTypeLoc() const' /usr/bin/ld: /tmp/go-link-1747404638/000002.o: in function `clang::ast_matchers::internal::matcher_specifiesNamespace0Matcher::matches(clang::NestedNameSpecifier const&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const': /usr/lib/llvm-21/include/clang/ASTMatchers/ASTMatchers.h:7896:(.text._ZNK5clang12ast_matchers8internal34matcher_specifiesNamespace0Matcher7matchesERKNS_19NestedNameSpecifierEPNS1_14ASTMatchFinderEPNS1_21BoundNodesTreeBuilderE[_ZNK5clang12ast_matchers8internal34matcher_specifiesNamespace0Matcher7matchesERKNS_19NestedNameSpecifierEPNS1_14ASTMatchFinderEPNS1_21BoundNodesTreeBuilderE]+0x1a): undefined reference to `clang::NestedNameSpecifier::getAsNamespace() const' /usr/bin/ld: /usr/lib/llvm-21/include/clang/ASTMatchers/ASTMatchers.h:7898:(.text._ZNK5clang12ast_matchers8internal34matcher_specifiesNamespace0Matcher7matchesERKNS_19NestedNameSpecifierEPNS1_14ASTMatchFinderEPNS1_21BoundNodesTreeBuilderE[_ZNK5clang12ast_matchers8internal34matcher_specifiesNamespace0Matcher7matchesERKNS_19NestedNameSpecifierEPNS1_14ASTMatchFinderEPNS1_21BoundNodesTreeBuilderE]+0x2c): undefined reference to `clang::NestedNameSpecifier::getAsNamespace() const' /usr/bin/ld: /tmp/go-link-1747404638/000002.o: in function `clang::EnumType::getDecl() const': /usr/lib/llvm-21/include/clang/AST/Type.h:6167:(.text._ZNK5clang12ast_matchers8internal24matcher_isIntegerMatcher7matchesERKNS_8QualTypeEPNS1_14ASTMatchFinderEPNS1_21BoundNodesTreeBuilderE[_ZNK5clang12ast_matchers8internal24matcher_isIntegerMatcher7matchesERKNS_8QualTypeEPNS1_14ASTMatchFinderEPNS1_21BoundNodesTreeBuilderE]+0x68): undefined reference to `clang::TagType::getDecl() const' /usr/bin/ld: /usr/lib/llvm-21/include/clang/AST/Type.h:6167:(.text._ZNK5clang12ast_matchers8internal24matcher_isIntegerMatcher7matchesERKNS_8QualTypeEPNS1_14ASTMatchFinderEPNS1_21BoundNodesTreeBuilderE[_ZNK5clang12ast_matchers8internal24matcher_isIntegerMatcher7matchesERKNS_8QualTypeEPNS1_14ASTMatchFinderEPNS1_21BoundNodesTreeBuilderE]+0x7c): undefined reference to `clang::TagType::getDecl() const' /usr/bin/ld: /usr/lib/llvm-21/include/clang/AST/Type.h:6167:(.text._ZNK5clang4Type13isIntegerTypeEv[_ZNK5clang4Type13isIntegerTypeEv]+0x48): undefined reference to `clang::TagType::getDecl() const' /usr/bin/ld: /usr/lib/llvm-21/include/clang/AST/Type.h:6167:(.text._ZNK5clang4Type13isIntegerTypeEv[_ZNK5clang4Type13isIntegerTypeEv]+0x5c): undefined reference to `clang::TagType::getDecl() const' /usr/bin/ld: /tmp/go-link-1747404638/000002.o: in function `clang::ast_matchers::internal::HasDeclarationMatcher >::matchesSpecialized(clang::Type const&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const': /usr/lib/llvm-21/include/clang/ASTMatchers/ASTMatchersInternal.h:1020:(.text._ZNK5clang12ast_matchers8internal21HasDeclarationMatcherINS_8QualTypeENS1_7MatcherINS_4DeclEEEE18matchesSpecializedERKNS_4TypeEPNS1_14ASTMatchFinderEPNS1_21BoundNodesTreeBuilderE[_ZNK5clang12ast_matchers8internal21HasDeclarationMatcherINS_8QualTypeENS1_7MatcherINS_4DeclEEEE18matchesSpecializedERKNS_4TypeEPNS1_14ASTMatchFinderEPNS1_21BoundNodesTreeBuilderE]+0x59): undefined reference to `clang::TagType::getDecl() const' /usr/bin/ld: /usr/lib/llvm-21/include/clang/ASTMatchers/ASTMatchersInternal.h:1023:(.text._ZNK5clang12ast_matchers8internal21HasDeclarationMatcherINS_8QualTypeENS1_7MatcherINS_4DeclEEEE18matchesSpecializedERKNS_4TypeEPNS1_14ASTMatchFinderEPNS1_21BoundNodesTreeBuilderE[_ZNK5clang12ast_matchers8internal21HasDeclarationMatcherINS_8QualTypeENS1_7MatcherINS_4DeclEEEE18matchesSpecializedERKNS_4TypeEPNS1_14ASTMatchFinderEPNS1_21BoundNodesTreeBuilderE]+0x86): undefined reference to `clang::InjectedClassNameType::getDecl() const' /usr/bin/ld: /tmp/go-link-1747404638/000002.o: in function `clang::UsingType::desugar() const': /usr/lib/llvm-21/include/clang/AST/Type.h:5796:(.text._ZNK5clang12ast_matchers8internal21HasDeclarationMatcherINS_8QualTypeENS1_7MatcherINS_4DeclEEEE18matchesSpecializedERKNS_4TypeEPNS1_14ASTMatchFinderEPNS1_21BoundNodesTreeBuilderE[_ZNK5clang12ast_matchers8internal21HasDeclarationMatcherINS_8QualTypeENS1_7MatcherINS_4DeclEEEE18matchesSpecializedERKNS_4TypeEPNS1_14ASTMatchFinderEPNS1_21BoundNodesTreeBuilderE]+0x309): undefined reference to `clang::UsingType::getUnderlyingType() const' /usr/bin/ld: /tmp/go-link-1747404638/000002.o: in function `FunctionAnalyzer::dataTraverseStmtPost(clang::Stmt const*)': /syzkaller/gopath/src/github.com/google/syzkaller/tools/clang/declextract/declextract.cpp:783:(.text._ZN5clang19RecursiveASTVisitorI16FunctionAnalyzerE12TraverseStmtEPNS_4StmtEPN4llvm15SmallVectorImplINS5_14PointerIntPairIS4_Lj1EbNS5_21PointerLikeTypeTraitsIS4_EENS5_18PointerIntPairInfoIS4_Lj1ES9_EEEEEE[_ZN5clang19RecursiveASTVisitorI16FunctionAnalyzerE12TraverseStmtEPNS_4StmtEPN4llvm15SmallVectorImplINS5_14PointerIntPairIS4_Lj1EbNS5_21PointerLikeTypeTraitsIS4_EENS5_18PointerIntPairInfoIS4_Lj1ES9_EEEEEE]+0x1ca): undefined reference to `clang::SourceManager::getExpansionLineNumber(clang::SourceLocation, bool*) const' /usr/bin/ld: /tmp/go-link-1747404638/000002.o: in function `clang::RecursiveASTVisitor::TraverseSubstTemplateTypeParmPackType(clang::SubstTemplateTypeParmPackType*)': /usr/lib/llvm-21/include/clang/AST/RecursiveASTVisitor.h:1131:(.text._ZN5clang19RecursiveASTVisitorI16FunctionAnalyzerE12TraverseTypeENS_8QualTypeE[_ZN5clang19RecursiveASTVisitorI16FunctionAnalyzerE12TraverseTypeENS_8QualTypeE]+0x255): undefined reference to `clang::SubstTemplateTypeParmPackType::getArgumentPack() const' /usr/bin/ld: /tmp/go-link-1747404638/000002.o: in function `clang::RecursiveASTVisitor::TraverseNestedNameSpecifier(clang::NestedNameSpecifier*)': /usr/lib/llvm-21/include/clang/AST/RecursiveASTVisitor.h:789:(.text._ZN5clang19RecursiveASTVisitorI16FunctionAnalyzerE27TraverseNestedNameSpecifierEPNS_19NestedNameSpecifierE[_ZN5clang19RecursiveASTVisitorI16FunctionAnalyzerE27TraverseNestedNameSpecifierEPNS_19NestedNameSpecifierE]+0x30): undefined reference to `clang::NestedNameSpecifier::getKind() const' /usr/bin/ld: /tmp/go-link-1747404638/000002.o: in function `clang::RecursiveASTVisitor::TraverseSubstTemplateTypeParmPackTypeLoc(clang::SubstTemplateTypeParmPackTypeLoc)': /usr/lib/llvm-21/include/clang/AST/RecursiveASTVisitor.h:1437:(.text._ZN5clang19RecursiveASTVisitorI16FunctionAnalyzerE15TraverseTypeLocENS_7TypeLocE[_ZN5clang19RecursiveASTVisitorI16FunctionAnalyzerE15TraverseTypeLocENS_7TypeLocE]+0x11cf): undefined reference to `clang::SubstTemplateTypeParmPackType::getArgumentPack() const' /usr/bin/ld: /tmp/go-link-1747404638/000002.o: in function `clang::RecursiveASTVisitor::TraverseNestedNameSpecifierLoc(clang::NestedNameSpecifierLoc)': /usr/lib/llvm-21/include/clang/AST/RecursiveASTVisitor.h:813:(.text._ZN5clang19RecursiveASTVisitorI16FunctionAnalyzerE30TraverseNestedNameSpecifierLocENS_22NestedNameSpecifierLocE[_ZN5clang19RecursiveASTVisitorI16FunctionAnalyzerE30TraverseNestedNameSpecifierLocENS_22NestedNameSpecifierLocE]+0x29): undefined reference to `clang::NestedNameSpecifier::getKind() const' /usr/bin/ld: /usr/lib/llvm-21/include/clang/AST/RecursiveASTVisitor.h:813:(.text._ZN5clang19RecursiveASTVisitorI16FunctionAnalyzerE30TraverseNestedNameSpecifierLocENS_22NestedNameSpecifierLocE[_ZN5clang19RecursiveASTVisitorI16FunctionAnalyzerE30TraverseNestedNameSpecifierLocENS_22NestedNameSpecifierLocE]+0x57): undefined reference to `clang::NestedNameSpecifier::getKind() const' /usr/bin/ld: /usr/lib/llvm-21/include/clang/AST/RecursiveASTVisitor.h:822:(.text._ZN5clang19RecursiveASTVisitorI16FunctionAnalyzerE30TraverseNestedNameSpecifierLocENS_22NestedNameSpecifierLocE[_ZN5clang19RecursiveASTVisitorI16FunctionAnalyzerE30TraverseNestedNameSpecifierLocENS_22NestedNameSpecifierLocE]+0x64): undefined reference to `clang::NestedNameSpecifierLoc::getTypeLoc() const' collect2: error: ld returned 1 exit status # github.com/google/syzkaller/pkg/aflow/flow/common.test /usr/local/go/pkg/tool/linux_amd64/link: running g++ failed: exit status 1 /usr/bin/g++ -m64 -s -Wl,--build-id=0x1c485bfa39841878f0e88911cc2061e8dd106624 -o $WORK/b1005/common.test -Wl,--export-dynamic-symbol=_cgo_panic -Wl,--export-dynamic-symbol=_cgo_topofstack -Wl,--export-dynamic-symbol=crosscall2 -Wl,--compress-debug-sections=zlib /tmp/go-link-2956030371/go.o /tmp/go-link-2956030371/000000.o /tmp/go-link-2956030371/000001.o /tmp/go-link-2956030371/000002.o /tmp/go-link-2956030371/000003.o /tmp/go-link-2956030371/000004.o /tmp/go-link-2956030371/000005.o /tmp/go-link-2956030371/000006.o /tmp/go-link-2956030371/000007.o /tmp/go-link-2956030371/000008.o /tmp/go-link-2956030371/000009.o /tmp/go-link-2956030371/000010.o /tmp/go-link-2956030371/000011.o /tmp/go-link-2956030371/000012.o /tmp/go-link-2956030371/000013.o /tmp/go-link-2956030371/000014.o /tmp/go-link-2956030371/000015.o /tmp/go-link-2956030371/000016.o /tmp/go-link-2956030371/000017.o /tmp/go-link-2956030371/000018.o /tmp/go-link-2956030371/000019.o /tmp/go-link-2956030371/000020.o /tmp/go-link-2956030371/000021.o /tmp/go-link-2956030371/000022.o /tmp/go-link-2956030371/000023.o /tmp/go-link-2956030371/000024.o /tmp/go-link-2956030371/000025.o /tmp/go-link-2956030371/000026.o -O2 -g -lresolv -O2 -g -lclang-cpp -lclang -lLLVM -L/usr/lib/llvm-22/lib -L/usr/lib/llvm-21/lib -L/usr/lib/llvm-19/lib -O2 -g -O2 -g -lpthread -no-pie /usr/bin/ld: /tmp/go-link-2956030371/000008.o: in function `Indexer::NamedDeclEmitter::NamedDeclEmitter(Indexer*, clang::NamedDecl const*, char const*, std::__cxx11::basic_string, std::allocator > const&, bool)': /syzkaller/gopath/src/github.com/google/syzkaller/tools/clang/codesearch/codesearch.cpp:148:(.text+0x477): undefined reference to `clang::SourceManager::getExpansionLineNumber(clang::SourceLocation, bool*) const' /usr/bin/ld: /syzkaller/gopath/src/github.com/google/syzkaller/tools/clang/codesearch/codesearch.cpp:149:(.text+0x499): undefined reference to `clang::SourceManager::getExpansionLineNumber(clang::SourceLocation, bool*) const' /usr/bin/ld: /syzkaller/gopath/src/github.com/google/syzkaller/tools/clang/codesearch/codesearch.cpp:157:(.text+0x7c7): undefined reference to `clang::SourceManager::getExpansionLineNumber(clang::SourceLocation, bool*) const' /usr/bin/ld: /syzkaller/gopath/src/github.com/google/syzkaller/tools/clang/codesearch/codesearch.cpp:158:(.text+0x7d9): undefined reference to `clang::SourceManager::getExpansionLineNumber(clang::SourceLocation, bool*) const' /usr/bin/ld: /tmp/go-link-2956030371/000008.o: in function `Indexer::EmitReference(clang::SourceLocation, std::__cxx11::basic_string, std::allocator > const&, char const*, char const*)': /syzkaller/gopath/src/github.com/google/syzkaller/tools/clang/codesearch/codesearch.cpp:336:(.text+0x1a28): undefined reference to `clang::SourceManager::getExpansionLineNumber(clang::SourceLocation, bool*) const' /usr/bin/ld: /tmp/go-link-2956030371/000008.o: in function `clang::NestedNameSpecifierLoc::getBeginLoc() const': /usr/lib/llvm-21/include/clang/AST/NestedNameSpecifier.h:307:(.text+0x2006): undefined reference to `clang::NestedNameSpecifierLoc::getLocalSourceRange() const' /usr/bin/ld: /tmp/go-link-2956030371/000008.o: in function `Indexer::VisitTagType(clang::TagType const*)': /syzkaller/gopath/src/github.com/google/syzkaller/tools/clang/codesearch/codesearch.cpp:267:(.text+0x2038): undefined reference to `clang::Type::getAsTagDecl() const' /usr/bin/ld: /tmp/go-link-2956030371/000008.o: in function `Indexer::VisitMemberExpr(clang::MemberExpr const*)': /syzkaller/gopath/src/github.com/google/syzkaller/tools/clang/codesearch/codesearch.cpp:292:(.text+0x2176): undefined reference to `clang::Type::getAsRecordDecl() const' /usr/bin/ld: /syzkaller/gopath/src/github.com/google/syzkaller/tools/clang/codesearch/codesearch.cpp:294:(.text+0x21e3): undefined reference to `clang::Type::getAsRecordDecl() const' /usr/bin/ld: /tmp/go-link-2956030371/000008.o: in function `clang::RecursiveASTVisitor::TraverseSubstTemplateTypeParmPackType(clang::SubstTemplateTypeParmPackType*)': /usr/lib/llvm-21/include/clang/AST/RecursiveASTVisitor.h:1131:(.text._ZN5clang19RecursiveASTVisitorI7IndexerE12TraverseTypeENS_8QualTypeE[_ZN5clang19RecursiveASTVisitorI7IndexerE12TraverseTypeENS_8QualTypeE]+0x321): undefined reference to `clang::SubstTemplateTypeParmPackType::getArgumentPack() const' /usr/bin/ld: /tmp/go-link-2956030371/000008.o: in function `clang::RecursiveASTVisitor::TraverseNestedNameSpecifier(clang::NestedNameSpecifier*)': /usr/lib/llvm-21/include/clang/AST/RecursiveASTVisitor.h:789:(.text._ZN5clang19RecursiveASTVisitorI7IndexerE27TraverseNestedNameSpecifierEPNS_19NestedNameSpecifierE[_ZN5clang19RecursiveASTVisitorI7IndexerE27TraverseNestedNameSpecifierEPNS_19NestedNameSpecifierE]+0x2c): undefined reference to `clang::NestedNameSpecifier::getKind() const' /usr/bin/ld: /tmp/go-link-2956030371/000008.o: in function `clang::RecursiveASTVisitor::TraverseSubstTemplateTypeParmPackTypeLoc(clang::SubstTemplateTypeParmPackTypeLoc)': /usr/lib/llvm-21/include/clang/AST/RecursiveASTVisitor.h:1437:(.text._ZN5clang19RecursiveASTVisitorI7IndexerE15TraverseTypeLocENS_7TypeLocE[_ZN5clang19RecursiveASTVisitorI7IndexerE15TraverseTypeLocENS_7TypeLocE]+0x61e): undefined reference to `clang::SubstTemplateTypeParmPackType::getArgumentPack() const' /usr/bin/ld: /tmp/go-link-2956030371/000008.o: in function `clang::RecursiveASTVisitor::TraverseNestedNameSpecifierLoc(clang::NestedNameSpecifierLoc)': /usr/lib/llvm-21/include/clang/AST/RecursiveASTVisitor.h:813:(.text._ZN5clang19RecursiveASTVisitorI7IndexerE30TraverseNestedNameSpecifierLocENS_22NestedNameSpecifierLocE[_ZN5clang19RecursiveASTVisitorI7IndexerE30TraverseNestedNameSpecifierLocENS_22NestedNameSpecifierLocE]+0x29): undefined reference to `clang::NestedNameSpecifier::getKind() const' /usr/bin/ld: /usr/lib/llvm-21/include/clang/AST/RecursiveASTVisitor.h:813:(.text._ZN5clang19RecursiveASTVisitorI7IndexerE30TraverseNestedNameSpecifierLocENS_22NestedNameSpecifierLocE[_ZN5clang19RecursiveASTVisitorI7IndexerE30TraverseNestedNameSpecifierLocENS_22NestedNameSpecifierLocE]+0x57): undefined reference to `clang::NestedNameSpecifier::getKind() const' /usr/bin/ld: /usr/lib/llvm-21/include/clang/AST/RecursiveASTVisitor.h:822:(.text._ZN5clang19RecursiveASTVisitorI7IndexerE30TraverseNestedNameSpecifierLocENS_22NestedNameSpecifierLocE[_ZN5clang19RecursiveASTVisitorI7IndexerE30TraverseNestedNameSpecifierLocENS_22NestedNameSpecifierLocE]+0x64): undefined reference to `clang::NestedNameSpecifierLoc::getTypeLoc() const' collect2: error: ld returned 1 exit status # github.com/google/syzkaller/pkg/aflow/flow/reproc.test /usr/local/go/pkg/tool/linux_amd64/link: running g++ failed: exit status 1 /usr/bin/g++ -m64 -s -Wl,--build-id=0x6bacd70ec9930a49a63188fea30174f69b95ed03 -o $WORK/b1010/reproc.test -Wl,--export-dynamic-symbol=_cgo_panic -Wl,--export-dynamic-symbol=_cgo_topofstack -Wl,--export-dynamic-symbol=crosscall2 -Wl,--compress-debug-sections=zlib /tmp/go-link-1584531719/go.o /tmp/go-link-1584531719/000000.o /tmp/go-link-1584531719/000001.o /tmp/go-link-1584531719/000002.o /tmp/go-link-1584531719/000003.o /tmp/go-link-1584531719/000004.o /tmp/go-link-1584531719/000005.o /tmp/go-link-1584531719/000006.o /tmp/go-link-1584531719/000007.o /tmp/go-link-1584531719/000008.o /tmp/go-link-1584531719/000009.o /tmp/go-link-1584531719/000010.o /tmp/go-link-1584531719/000011.o /tmp/go-link-1584531719/000012.o /tmp/go-link-1584531719/000013.o /tmp/go-link-1584531719/000014.o /tmp/go-link-1584531719/000015.o /tmp/go-link-1584531719/000016.o /tmp/go-link-1584531719/000017.o /tmp/go-link-1584531719/000018.o /tmp/go-link-1584531719/000019.o /tmp/go-link-1584531719/000020.o /tmp/go-link-1584531719/000021.o /tmp/go-link-1584531719/000022.o /tmp/go-link-1584531719/000023.o /tmp/go-link-1584531719/000024.o /tmp/go-link-1584531719/000025.o /tmp/go-link-1584531719/000026.o -O2 -g -lclang-cpp -lclang -lLLVM -L/usr/lib/llvm-22/lib -L/usr/lib/llvm-21/lib -L/usr/lib/llvm-19/lib -O2 -g -lresolv -O2 -g -lpthread -O2 -g -no-pie /usr/bin/ld: /tmp/go-link-1584531719/000002.o: in function `Indexer::NamedDeclEmitter::NamedDeclEmitter(Indexer*, clang::NamedDecl const*, char const*, std::__cxx11::basic_string, std::allocator > const&, bool)': /syzkaller/gopath/src/github.com/google/syzkaller/tools/clang/codesearch/codesearch.cpp:148:(.text+0x477): undefined reference to `clang::SourceManager::getExpansionLineNumber(clang::SourceLocation, bool*) const' /usr/bin/ld: /syzkaller/gopath/src/github.com/google/syzkaller/tools/clang/codesearch/codesearch.cpp:149:(.text+0x499): undefined reference to `clang::SourceManager::getExpansionLineNumber(clang::SourceLocation, bool*) const' /usr/bin/ld: /syzkaller/gopath/src/github.com/google/syzkaller/tools/clang/codesearch/codesearch.cpp:157:(.text+0x7c7): undefined reference to `clang::SourceManager::getExpansionLineNumber(clang::SourceLocation, bool*) const' /usr/bin/ld: /syzkaller/gopath/src/github.com/google/syzkaller/tools/clang/codesearch/codesearch.cpp:158:(.text+0x7d9): undefined reference to `clang::SourceManager::getExpansionLineNumber(clang::SourceLocation, bool*) const' /usr/bin/ld: /tmp/go-link-1584531719/000002.o: in function `Indexer::EmitReference(clang::SourceLocation, std::__cxx11::basic_string, std::allocator > const&, char const*, char const*)': /syzkaller/gopath/src/github.com/google/syzkaller/tools/clang/codesearch/codesearch.cpp:336:(.text+0x1a28): undefined reference to `clang::SourceManager::getExpansionLineNumber(clang::SourceLocation, bool*) const' /usr/bin/ld: /tmp/go-link-1584531719/000002.o: in function `clang::NestedNameSpecifierLoc::getBeginLoc() const': /usr/lib/llvm-21/include/clang/AST/NestedNameSpecifier.h:307:(.text+0x2006): undefined reference to `clang::NestedNameSpecifierLoc::getLocalSourceRange() const' /usr/bin/ld: /tmp/go-link-1584531719/000002.o: in function `Indexer::VisitTagType(clang::TagType const*)': /syzkaller/gopath/src/github.com/google/syzkaller/tools/clang/codesearch/codesearch.cpp:267:(.text+0x2038): undefined reference to `clang::Type::getAsTagDecl() const' /usr/bin/ld: /tmp/go-link-1584531719/000002.o: in function `Indexer::VisitMemberExpr(clang::MemberExpr const*)': /syzkaller/gopath/src/github.com/google/syzkaller/tools/clang/codesearch/codesearch.cpp:292:(.text+0x2176): undefined reference to `clang::Type::getAsRecordDecl() const' /usr/bin/ld: /syzkaller/gopath/src/github.com/google/syzkaller/tools/clang/codesearch/codesearch.cpp:294:(.text+0x21e3): undefined reference to `clang::Type::getAsRecordDecl() const' /usr/bin/ld: /tmp/go-link-1584531719/000002.o: in function `clang::RecursiveASTVisitor::TraverseSubstTemplateTypeParmPackType(clang::SubstTemplateTypeParmPackType*)': /usr/lib/llvm-21/include/clang/AST/RecursiveASTVisitor.h:1131:(.text._ZN5clang19RecursiveASTVisitorI7IndexerE12TraverseTypeENS_8QualTypeE[_ZN5clang19RecursiveASTVisitorI7IndexerE12TraverseTypeENS_8QualTypeE]+0x321): undefined reference to `clang::SubstTemplateTypeParmPackType::getArgumentPack() const' /usr/bin/ld: /tmp/go-link-1584531719/000002.o: in function `clang::RecursiveASTVisitor::TraverseNestedNameSpecifier(clang::NestedNameSpecifier*)': /usr/lib/llvm-21/include/clang/AST/RecursiveASTVisitor.h:789:(.text._ZN5clang19RecursiveASTVisitorI7IndexerE27TraverseNestedNameSpecifierEPNS_19NestedNameSpecifierE[_ZN5clang19RecursiveASTVisitorI7IndexerE27TraverseNestedNameSpecifierEPNS_19NestedNameSpecifierE]+0x2c): undefined reference to `clang::NestedNameSpecifier::getKind() const' /usr/bin/ld: /tmp/go-link-1584531719/000002.o: in function `clang::RecursiveASTVisitor::TraverseSubstTemplateTypeParmPackTypeLoc(clang::SubstTemplateTypeParmPackTypeLoc)': /usr/lib/llvm-21/include/clang/AST/RecursiveASTVisitor.h:1437:(.text._ZN5clang19RecursiveASTVisitorI7IndexerE15TraverseTypeLocENS_7TypeLocE[_ZN5clang19RecursiveASTVisitorI7IndexerE15TraverseTypeLocENS_7TypeLocE]+0x61e): undefined reference to `clang::SubstTemplateTypeParmPackType::getArgumentPack() const' /usr/bin/ld: /tmp/go-link-1584531719/000002.o: in function `clang::RecursiveASTVisitor::TraverseNestedNameSpecifierLoc(clang::NestedNameSpecifierLoc)': /usr/lib/llvm-21/include/clang/AST/RecursiveASTVisitor.h:813:(.text._ZN5clang19RecursiveASTVisitorI7IndexerE30TraverseNestedNameSpecifierLocENS_22NestedNameSpecifierLocE[_ZN5clang19RecursiveASTVisitorI7IndexerE30TraverseNestedNameSpecifierLocENS_22NestedNameSpecifierLocE]+0x29): undefined reference to `clang::NestedNameSpecifier::getKind() const' /usr/bin/ld: /usr/lib/llvm-21/include/clang/AST/RecursiveASTVisitor.h:813:(.text._ZN5clang19RecursiveASTVisitorI7IndexerE30TraverseNestedNameSpecifierLocENS_22NestedNameSpecifierLocE[_ZN5clang19RecursiveASTVisitorI7IndexerE30TraverseNestedNameSpecifierLocENS_22NestedNameSpecifierLocE]+0x57): undefined reference to `clang::NestedNameSpecifier::getKind() const' /usr/bin/ld: /usr/lib/llvm-21/include/clang/AST/RecursiveASTVisitor.h:822:(.text._ZN5clang19RecursiveASTVisitorI7IndexerE30TraverseNestedNameSpecifierLocENS_22NestedNameSpecifierLocE[_ZN5clang19RecursiveASTVisitorI7IndexerE30TraverseNestedNameSpecifierLocENS_22NestedNameSpecifierLocE]+0x64): undefined reference to `clang::NestedNameSpecifierLoc::getTypeLoc() const' collect2: error: ld returned 1 exit status # github.com/google/syzkaller/pkg/aflow/flow/patching.test /usr/local/go/pkg/tool/linux_amd64/link: running g++ failed: exit status 1 /usr/bin/g++ -m64 -s -Wl,--build-id=0xe1ab47618d0b6a2d4152208ee80f957cf4c3e198 -o $WORK/b1007/patching.test -Wl,--export-dynamic-symbol=_cgo_panic -Wl,--export-dynamic-symbol=_cgo_topofstack -Wl,--export-dynamic-symbol=crosscall2 -Wl,--compress-debug-sections=zlib /tmp/go-link-3645911657/go.o /tmp/go-link-3645911657/000000.o /tmp/go-link-3645911657/000001.o /tmp/go-link-3645911657/000002.o /tmp/go-link-3645911657/000003.o /tmp/go-link-3645911657/000004.o /tmp/go-link-3645911657/000005.o /tmp/go-link-3645911657/000006.o /tmp/go-link-3645911657/000007.o /tmp/go-link-3645911657/000008.o /tmp/go-link-3645911657/000009.o /tmp/go-link-3645911657/000010.o /tmp/go-link-3645911657/000011.o /tmp/go-link-3645911657/000012.o /tmp/go-link-3645911657/000013.o /tmp/go-link-3645911657/000014.o /tmp/go-link-3645911657/000015.o /tmp/go-link-3645911657/000016.o /tmp/go-link-3645911657/000017.o /tmp/go-link-3645911657/000018.o /tmp/go-link-3645911657/000019.o /tmp/go-link-3645911657/000020.o /tmp/go-link-3645911657/000021.o /tmp/go-link-3645911657/000022.o /tmp/go-link-3645911657/000023.o /tmp/go-link-3645911657/000024.o /tmp/go-link-3645911657/000025.o /tmp/go-link-3645911657/000026.o -O2 -g -lclang-cpp -lclang -lLLVM -L/usr/lib/llvm-22/lib -L/usr/lib/llvm-21/lib -L/usr/lib/llvm-19/lib -O2 -g -lresolv -O2 -g -O2 -g -lpthread -no-pie /usr/bin/ld: /tmp/go-link-3645911657/000002.o: in function `Indexer::NamedDeclEmitter::NamedDeclEmitter(Indexer*, clang::NamedDecl const*, char const*, std::__cxx11::basic_string, std::allocator > const&, bool)': /syzkaller/gopath/src/github.com/google/syzkaller/tools/clang/codesearch/codesearch.cpp:148:(.text+0x477): undefined reference to `clang::SourceManager::getExpansionLineNumber(clang::SourceLocation, bool*) const' /usr/bin/ld: /syzkaller/gopath/src/github.com/google/syzkaller/tools/clang/codesearch/codesearch.cpp:149:(.text+0x499): undefined reference to `clang::SourceManager::getExpansionLineNumber(clang::SourceLocation, bool*) const' /usr/bin/ld: /syzkaller/gopath/src/github.com/google/syzkaller/tools/clang/codesearch/codesearch.cpp:157:(.text+0x7c7): undefined reference to `clang::SourceManager::getExpansionLineNumber(clang::SourceLocation, bool*) const' /usr/bin/ld: /syzkaller/gopath/src/github.com/google/syzkaller/tools/clang/codesearch/codesearch.cpp:158:(.text+0x7d9): undefined reference to `clang::SourceManager::getExpansionLineNumber(clang::SourceLocation, bool*) const' /usr/bin/ld: /tmp/go-link-3645911657/000002.o: in function `Indexer::EmitReference(clang::SourceLocation, std::__cxx11::basic_string, std::allocator > const&, char const*, char const*)': /syzkaller/gopath/src/github.com/google/syzkaller/tools/clang/codesearch/codesearch.cpp:336:(.text+0x1a28): undefined reference to `clang::SourceManager::getExpansionLineNumber(clang::SourceLocation, bool*) const' /usr/bin/ld: /tmp/go-link-3645911657/000002.o: in function `clang::NestedNameSpecifierLoc::getBeginLoc() const': /usr/lib/llvm-21/include/clang/AST/NestedNameSpecifier.h:307:(.text+0x2006): undefined reference to `clang::NestedNameSpecifierLoc::getLocalSourceRange() const' /usr/bin/ld: /tmp/go-link-3645911657/000002.o: in function `Indexer::VisitTagType(clang::TagType const*)': /syzkaller/gopath/src/github.com/google/syzkaller/tools/clang/codesearch/codesearch.cpp:267:(.text+0x2038): undefined reference to `clang::Type::getAsTagDecl() const' /usr/bin/ld: /tmp/go-link-3645911657/000002.o: in function `Indexer::VisitMemberExpr(clang::MemberExpr const*)': /syzkaller/gopath/src/github.com/google/syzkaller/tools/clang/codesearch/codesearch.cpp:292:(.text+0x2176): undefined reference to `clang::Type::getAsRecordDecl() const' /usr/bin/ld: /syzkaller/gopath/src/github.com/google/syzkaller/tools/clang/codesearch/codesearch.cpp:294:(.text+0x21e3): undefined reference to `clang::Type::getAsRecordDecl() const' /usr/bin/ld: /tmp/go-link-3645911657/000002.o: in function `clang::RecursiveASTVisitor::TraverseSubstTemplateTypeParmPackType(clang::SubstTemplateTypeParmPackType*)': /usr/lib/llvm-21/include/clang/AST/RecursiveASTVisitor.h:1131:(.text._ZN5clang19RecursiveASTVisitorI7IndexerE12TraverseTypeENS_8QualTypeE[_ZN5clang19RecursiveASTVisitorI7IndexerE12TraverseTypeENS_8QualTypeE]+0x321): undefined reference to `clang::SubstTemplateTypeParmPackType::getArgumentPack() const' /usr/bin/ld: /tmp/go-link-3645911657/000002.o: in function `clang::RecursiveASTVisitor::TraverseNestedNameSpecifier(clang::NestedNameSpecifier*)': /usr/lib/llvm-21/include/clang/AST/RecursiveASTVisitor.h:789:(.text._ZN5clang19RecursiveASTVisitorI7IndexerE27TraverseNestedNameSpecifierEPNS_19NestedNameSpecifierE[_ZN5clang19RecursiveASTVisitorI7IndexerE27TraverseNestedNameSpecifierEPNS_19NestedNameSpecifierE]+0x2c): undefined reference to `clang::NestedNameSpecifier::getKind() const' /usr/bin/ld: /tmp/go-link-3645911657/000002.o: in function `clang::RecursiveASTVisitor::TraverseSubstTemplateTypeParmPackTypeLoc(clang::SubstTemplateTypeParmPackTypeLoc)': /usr/lib/llvm-21/include/clang/AST/RecursiveASTVisitor.h:1437:(.text._ZN5clang19RecursiveASTVisitorI7IndexerE15TraverseTypeLocENS_7TypeLocE[_ZN5clang19RecursiveASTVisitorI7IndexerE15TraverseTypeLocENS_7TypeLocE]+0x61e): undefined reference to `clang::SubstTemplateTypeParmPackType::getArgumentPack() const' /usr/bin/ld: /tmp/go-link-3645911657/000002.o: in function `clang::RecursiveASTVisitor::TraverseNestedNameSpecifierLoc(clang::NestedNameSpecifierLoc)': /usr/lib/llvm-21/include/clang/AST/RecursiveASTVisitor.h:813:(.text._ZN5clang19RecursiveASTVisitorI7IndexerE30TraverseNestedNameSpecifierLocENS_22NestedNameSpecifierLocE[_ZN5clang19RecursiveASTVisitorI7IndexerE30TraverseNestedNameSpecifierLocENS_22NestedNameSpecifierLocE]+0x29): undefined reference to `clang::NestedNameSpecifier::getKind() const' /usr/bin/ld: /usr/lib/llvm-21/include/clang/AST/RecursiveASTVisitor.h:813:(.text._ZN5clang19RecursiveASTVisitorI7IndexerE30TraverseNestedNameSpecifierLocENS_22NestedNameSpecifierLocE[_ZN5clang19RecursiveASTVisitorI7IndexerE30TraverseNestedNameSpecifierLocENS_22NestedNameSpecifierLocE]+0x57): undefined reference to `clang::NestedNameSpecifier::getKind() const' /usr/bin/ld: /usr/lib/llvm-21/include/clang/AST/RecursiveASTVisitor.h:822:(.text._ZN5clang19RecursiveASTVisitorI7IndexerE30TraverseNestedNameSpecifierLocENS_22NestedNameSpecifierLocE[_ZN5clang19RecursiveASTVisitorI7IndexerE30TraverseNestedNameSpecifierLocENS_22NestedNameSpecifierLocE]+0x64): undefined reference to `clang::NestedNameSpecifierLoc::getTypeLoc() const' collect2: error: ld returned 1 exit status # github.com/google/syzkaller/syz-agent/agent.test /usr/local/go/pkg/tool/linux_amd64/link: running g++ failed: exit status 1 /usr/bin/g++ -m64 -s -Wl,--build-id=0x7ff47b35178a41680aa5d37744c323abeabbe7e8 -o $WORK/b1284/agent.test -Wl,--export-dynamic-symbol=_cgo_panic -Wl,--export-dynamic-symbol=_cgo_topofstack -Wl,--export-dynamic-symbol=crosscall2 -Wl,--compress-debug-sections=zlib /tmp/go-link-3273992641/go.o /tmp/go-link-3273992641/000000.o /tmp/go-link-3273992641/000001.o /tmp/go-link-3273992641/000002.o /tmp/go-link-3273992641/000003.o /tmp/go-link-3273992641/000004.o /tmp/go-link-3273992641/000005.o /tmp/go-link-3273992641/000006.o /tmp/go-link-3273992641/000007.o /tmp/go-link-3273992641/000008.o /tmp/go-link-3273992641/000009.o /tmp/go-link-3273992641/000010.o /tmp/go-link-3273992641/000011.o /tmp/go-link-3273992641/000012.o /tmp/go-link-3273992641/000013.o /tmp/go-link-3273992641/000014.o /tmp/go-link-3273992641/000015.o /tmp/go-link-3273992641/000016.o /tmp/go-link-3273992641/000017.o /tmp/go-link-3273992641/000018.o /tmp/go-link-3273992641/000019.o /tmp/go-link-3273992641/000020.o /tmp/go-link-3273992641/000021.o /tmp/go-link-3273992641/000022.o /tmp/go-link-3273992641/000023.o /tmp/go-link-3273992641/000024.o /tmp/go-link-3273992641/000025.o /tmp/go-link-3273992641/000026.o -O2 -g -lresolv -O2 -g -lpthread -O2 -g -O2 -g -lclang-cpp -lclang -lLLVM -L/usr/lib/llvm-22/lib -L/usr/lib/llvm-21/lib -L/usr/lib/llvm-19/lib -no-pie /usr/bin/ld: /tmp/go-link-3273992641/000026.o: in function `Indexer::NamedDeclEmitter::NamedDeclEmitter(Indexer*, clang::NamedDecl const*, char const*, std::__cxx11::basic_string, std::allocator > const&, bool)': /syzkaller/gopath/src/github.com/google/syzkaller/tools/clang/codesearch/codesearch.cpp:148:(.text+0x477): undefined reference to `clang::SourceManager::getExpansionLineNumber(clang::SourceLocation, bool*) const' /usr/bin/ld: /syzkaller/gopath/src/github.com/google/syzkaller/tools/clang/codesearch/codesearch.cpp:149:(.text+0x499): undefined reference to `clang::SourceManager::getExpansionLineNumber(clang::SourceLocation, bool*) const' /usr/bin/ld: /syzkaller/gopath/src/github.com/google/syzkaller/tools/clang/codesearch/codesearch.cpp:157:(.text+0x7c7): undefined reference to `clang::SourceManager::getExpansionLineNumber(clang::SourceLocation, bool*) const' /usr/bin/ld: /syzkaller/gopath/src/github.com/google/syzkaller/tools/clang/codesearch/codesearch.cpp:158:(.text+0x7d9): undefined reference to `clang::SourceManager::getExpansionLineNumber(clang::SourceLocation, bool*) const' /usr/bin/ld: /tmp/go-link-3273992641/000026.o: in function `Indexer::EmitReference(clang::SourceLocation, std::__cxx11::basic_string, std::allocator > const&, char const*, char const*)': /syzkaller/gopath/src/github.com/google/syzkaller/tools/clang/codesearch/codesearch.cpp:336:(.text+0x1a28): undefined reference to `clang::SourceManager::getExpansionLineNumber(clang::SourceLocation, bool*) const' /usr/bin/ld: /tmp/go-link-3273992641/000026.o: in function `clang::NestedNameSpecifierLoc::getBeginLoc() const': /usr/lib/llvm-21/include/clang/AST/NestedNameSpecifier.h:307:(.text+0x2006): undefined reference to `clang::NestedNameSpecifierLoc::getLocalSourceRange() const' /usr/bin/ld: /tmp/go-link-3273992641/000026.o: in function `Indexer::VisitTagType(clang::TagType const*)': /syzkaller/gopath/src/github.com/google/syzkaller/tools/clang/codesearch/codesearch.cpp:267:(.text+0x2038): undefined reference to `clang::Type::getAsTagDecl() const' /usr/bin/ld: /tmp/go-link-3273992641/000026.o: in function `Indexer::VisitMemberExpr(clang::MemberExpr const*)': /syzkaller/gopath/src/github.com/google/syzkaller/tools/clang/codesearch/codesearch.cpp:292:(.text+0x2176): undefined reference to `clang::Type::getAsRecordDecl() const' /usr/bin/ld: /syzkaller/gopath/src/github.com/google/syzkaller/tools/clang/codesearch/codesearch.cpp:294:(.text+0x21e3): undefined reference to `clang::Type::getAsRecordDecl() const' /usr/bin/ld: /tmp/go-link-3273992641/000026.o: in function `clang::RecursiveASTVisitor::TraverseSubstTemplateTypeParmPackType(clang::SubstTemplateTypeParmPackType*)': /usr/lib/llvm-21/include/clang/AST/RecursiveASTVisitor.h:1131:(.text._ZN5clang19RecursiveASTVisitorI7IndexerE12TraverseTypeENS_8QualTypeE[_ZN5clang19RecursiveASTVisitorI7IndexerE12TraverseTypeENS_8QualTypeE]+0x321): undefined reference to `clang::SubstTemplateTypeParmPackType::getArgumentPack() const' /usr/bin/ld: /tmp/go-link-3273992641/000026.o: in function `clang::RecursiveASTVisitor::TraverseNestedNameSpecifier(clang::NestedNameSpecifier*)': /usr/lib/llvm-21/include/clang/AST/RecursiveASTVisitor.h:789:(.text._ZN5clang19RecursiveASTVisitorI7IndexerE27TraverseNestedNameSpecifierEPNS_19NestedNameSpecifierE[_ZN5clang19RecursiveASTVisitorI7IndexerE27TraverseNestedNameSpecifierEPNS_19NestedNameSpecifierE]+0x2c): undefined reference to `clang::NestedNameSpecifier::getKind() const' /usr/bin/ld: /tmp/go-link-3273992641/000026.o: in function `clang::RecursiveASTVisitor::TraverseSubstTemplateTypeParmPackTypeLoc(clang::SubstTemplateTypeParmPackTypeLoc)': /usr/lib/llvm-21/include/clang/AST/RecursiveASTVisitor.h:1437:(.text._ZN5clang19RecursiveASTVisitorI7IndexerE15TraverseTypeLocENS_7TypeLocE[_ZN5clang19RecursiveASTVisitorI7IndexerE15TraverseTypeLocENS_7TypeLocE]+0x61e): undefined reference to `clang::SubstTemplateTypeParmPackType::getArgumentPack() const' /usr/bin/ld: /tmp/go-link-3273992641/000026.o: in function `clang::RecursiveASTVisitor::TraverseNestedNameSpecifierLoc(clang::NestedNameSpecifierLoc)': /usr/lib/llvm-21/include/clang/AST/RecursiveASTVisitor.h:813:(.text._ZN5clang19RecursiveASTVisitorI7IndexerE30TraverseNestedNameSpecifierLocENS_22NestedNameSpecifierLocE[_ZN5clang19RecursiveASTVisitorI7IndexerE30TraverseNestedNameSpecifierLocENS_22NestedNameSpecifierLocE]+0x29): undefined reference to `clang::NestedNameSpecifier::getKind() const' /usr/bin/ld: /usr/lib/llvm-21/include/clang/AST/RecursiveASTVisitor.h:813:(.text._ZN5clang19RecursiveASTVisitorI7IndexerE30TraverseNestedNameSpecifierLocENS_22NestedNameSpecifierLocE[_ZN5clang19RecursiveASTVisitorI7IndexerE30TraverseNestedNameSpecifierLocENS_22NestedNameSpecifierLocE]+0x57): undefined reference to `clang::NestedNameSpecifier::getKind() const' /usr/bin/ld: /usr/lib/llvm-21/include/clang/AST/RecursiveASTVisitor.h:822:(.text._ZN5clang19RecursiveASTVisitorI7IndexerE30TraverseNestedNameSpecifierLocENS_22NestedNameSpecifierLocE[_ZN5clang19RecursiveASTVisitorI7IndexerE30TraverseNestedNameSpecifierLocENS_22NestedNameSpecifierLocE]+0x64): undefined reference to `clang::NestedNameSpecifierLoc::getTypeLoc() const' collect2: error: ld returned 1 exit status # github.com/google/syzkaller/pkg/aflow/flow.test /usr/local/go/pkg/tool/linux_amd64/link: running g++ failed: exit status 1 /usr/bin/g++ -m64 -s -Wl,--build-id=0x5ec3166c9ea183430898acc4d5ff31292d0af693 -o $WORK/b1002/flow.test -Wl,--export-dynamic-symbol=_cgo_panic -Wl,--export-dynamic-symbol=_cgo_topofstack -Wl,--export-dynamic-symbol=crosscall2 -Wl,--compress-debug-sections=zlib /tmp/go-link-3650571369/go.o /tmp/go-link-3650571369/000000.o /tmp/go-link-3650571369/000001.o /tmp/go-link-3650571369/000002.o /tmp/go-link-3650571369/000003.o /tmp/go-link-3650571369/000004.o /tmp/go-link-3650571369/000005.o /tmp/go-link-3650571369/000006.o /tmp/go-link-3650571369/000007.o /tmp/go-link-3650571369/000008.o /tmp/go-link-3650571369/000009.o /tmp/go-link-3650571369/000010.o /tmp/go-link-3650571369/000011.o /tmp/go-link-3650571369/000012.o /tmp/go-link-3650571369/000013.o /tmp/go-link-3650571369/000014.o /tmp/go-link-3650571369/000015.o /tmp/go-link-3650571369/000016.o /tmp/go-link-3650571369/000017.o /tmp/go-link-3650571369/000018.o /tmp/go-link-3650571369/000019.o /tmp/go-link-3650571369/000020.o /tmp/go-link-3650571369/000021.o /tmp/go-link-3650571369/000022.o /tmp/go-link-3650571369/000023.o /tmp/go-link-3650571369/000024.o /tmp/go-link-3650571369/000025.o /tmp/go-link-3650571369/000026.o -O2 -g -lclang-cpp -lclang -lLLVM -L/usr/lib/llvm-22/lib -L/usr/lib/llvm-21/lib -L/usr/lib/llvm-19/lib -O2 -g -lresolv -O2 -g -lpthread -O2 -g -no-pie /usr/bin/ld: /tmp/go-link-3650571369/000002.o: in function `Indexer::NamedDeclEmitter::NamedDeclEmitter(Indexer*, clang::NamedDecl const*, char const*, std::__cxx11::basic_string, std::allocator > const&, bool)': /syzkaller/gopath/src/github.com/google/syzkaller/tools/clang/codesearch/codesearch.cpp:148:(.text+0x477): undefined reference to `clang::SourceManager::getExpansionLineNumber(clang::SourceLocation, bool*) const' /usr/bin/ld: /syzkaller/gopath/src/github.com/google/syzkaller/tools/clang/codesearch/codesearch.cpp:149:(.text+0x499): undefined reference to `clang::SourceManager::getExpansionLineNumber(clang::SourceLocation, bool*) const' /usr/bin/ld: /syzkaller/gopath/src/github.com/google/syzkaller/tools/clang/codesearch/codesearch.cpp:157:(.text+0x7c7): undefined reference to `clang::SourceManager::getExpansionLineNumber(clang::SourceLocation, bool*) const' /usr/bin/ld: /syzkaller/gopath/src/github.com/google/syzkaller/tools/clang/codesearch/codesearch.cpp:158:(.text+0x7d9): undefined reference to `clang::SourceManager::getExpansionLineNumber(clang::SourceLocation, bool*) const' /usr/bin/ld: /tmp/go-link-3650571369/000002.o: in function `Indexer::EmitReference(clang::SourceLocation, std::__cxx11::basic_string, std::allocator > const&, char const*, char const*)': /syzkaller/gopath/src/github.com/google/syzkaller/tools/clang/codesearch/codesearch.cpp:336:(.text+0x1a28): undefined reference to `clang::SourceManager::getExpansionLineNumber(clang::SourceLocation, bool*) const' /usr/bin/ld: /tmp/go-link-3650571369/000002.o: in function `clang::NestedNameSpecifierLoc::getBeginLoc() const': /usr/lib/llvm-21/include/clang/AST/NestedNameSpecifier.h:307:(.text+0x2006): undefined reference to `clang::NestedNameSpecifierLoc::getLocalSourceRange() const' /usr/bin/ld: /tmp/go-link-3650571369/000002.o: in function `Indexer::VisitTagType(clang::TagType const*)': /syzkaller/gopath/src/github.com/google/syzkaller/tools/clang/codesearch/codesearch.cpp:267:(.text+0x2038): undefined reference to `clang::Type::getAsTagDecl() const' /usr/bin/ld: /tmp/go-link-3650571369/000002.o: in function `Indexer::VisitMemberExpr(clang::MemberExpr const*)': /syzkaller/gopath/src/github.com/google/syzkaller/tools/clang/codesearch/codesearch.cpp:292:(.text+0x2176): undefined reference to `clang::Type::getAsRecordDecl() const' /usr/bin/ld: /syzkaller/gopath/src/github.com/google/syzkaller/tools/clang/codesearch/codesearch.cpp:294:(.text+0x21e3): undefined reference to `clang::Type::getAsRecordDecl() const' /usr/bin/ld: /tmp/go-link-3650571369/000002.o: in function `clang::RecursiveASTVisitor::TraverseSubstTemplateTypeParmPackType(clang::SubstTemplateTypeParmPackType*)': /usr/lib/llvm-21/include/clang/AST/RecursiveASTVisitor.h:1131:(.text._ZN5clang19RecursiveASTVisitorI7IndexerE12TraverseTypeENS_8QualTypeE[_ZN5clang19RecursiveASTVisitorI7IndexerE12TraverseTypeENS_8QualTypeE]+0x321): undefined reference to `clang::SubstTemplateTypeParmPackType::getArgumentPack() const' /usr/bin/ld: /tmp/go-link-3650571369/000002.o: in function `clang::RecursiveASTVisitor::TraverseNestedNameSpecifier(clang::NestedNameSpecifier*)': /usr/lib/llvm-21/include/clang/AST/RecursiveASTVisitor.h:789:(.text._ZN5clang19RecursiveASTVisitorI7IndexerE27TraverseNestedNameSpecifierEPNS_19NestedNameSpecifierE[_ZN5clang19RecursiveASTVisitorI7IndexerE27TraverseNestedNameSpecifierEPNS_19NestedNameSpecifierE]+0x2c): undefined reference to `clang::NestedNameSpecifier::getKind() const' /usr/bin/ld: /tmp/go-link-3650571369/000002.o: in function `clang::RecursiveASTVisitor::TraverseSubstTemplateTypeParmPackTypeLoc(clang::SubstTemplateTypeParmPackTypeLoc)': /usr/lib/llvm-21/include/clang/AST/RecursiveASTVisitor.h:1437:(.text._ZN5clang19RecursiveASTVisitorI7IndexerE15TraverseTypeLocENS_7TypeLocE[_ZN5clang19RecursiveASTVisitorI7IndexerE15TraverseTypeLocENS_7TypeLocE]+0x61e): undefined reference to `clang::SubstTemplateTypeParmPackType::getArgumentPack() const' /usr/bin/ld: /tmp/go-link-3650571369/000002.o: in function `clang::RecursiveASTVisitor::TraverseNestedNameSpecifierLoc(clang::NestedNameSpecifierLoc)': /usr/lib/llvm-21/include/clang/AST/RecursiveASTVisitor.h:813:(.text._ZN5clang19RecursiveASTVisitorI7IndexerE30TraverseNestedNameSpecifierLocENS_22NestedNameSpecifierLocE[_ZN5clang19RecursiveASTVisitorI7IndexerE30TraverseNestedNameSpecifierLocENS_22NestedNameSpecifierLocE]+0x29): undefined reference to `clang::NestedNameSpecifier::getKind() const' /usr/bin/ld: /usr/lib/llvm-21/include/clang/AST/RecursiveASTVisitor.h:813:(.text._ZN5clang19RecursiveASTVisitorI7IndexerE30TraverseNestedNameSpecifierLocENS_22NestedNameSpecifierLocE[_ZN5clang19RecursiveASTVisitorI7IndexerE30TraverseNestedNameSpecifierLocENS_22NestedNameSpecifierLocE]+0x57): undefined reference to `clang::NestedNameSpecifier::getKind() const' /usr/bin/ld: /usr/lib/llvm-21/include/clang/AST/RecursiveASTVisitor.h:822:(.text._ZN5clang19RecursiveASTVisitorI7IndexerE30TraverseNestedNameSpecifierLocENS_22NestedNameSpecifierLocE[_ZN5clang19RecursiveASTVisitorI7IndexerE30TraverseNestedNameSpecifierLocENS_22NestedNameSpecifierLocE]+0x64): undefined reference to `clang::NestedNameSpecifierLoc::getTypeLoc() const' collect2: error: ld returned 1 exit status FAIL github.com/google/syzkaller/pkg/aflow/flow [build failed] ? github.com/google/syzkaller/pkg/aflow/flow/assessment [no test files] FAIL github.com/google/syzkaller/pkg/aflow/flow/common [build failed] FAIL github.com/google/syzkaller/pkg/aflow/flow/patching [build failed] ? github.com/google/syzkaller/pkg/aflow/flow/repro [no test files] FAIL github.com/google/syzkaller/pkg/aflow/flow/reproc [build failed] ok github.com/google/syzkaller/pkg/aflow/tool/codeeditor (cached) ? github.com/google/syzkaller/pkg/aflow/tool/codeexpert [no test files] FAIL github.com/google/syzkaller/pkg/aflow/tool/codesearcher [build failed] ok github.com/google/syzkaller/pkg/aflow/tool/gitlog (cached) ok github.com/google/syzkaller/pkg/aflow/tool/grepper (cached) ok github.com/google/syzkaller/pkg/aflow/tool/patchdiff (cached) ok github.com/google/syzkaller/pkg/aflow/tool/syzlang (cached) ok github.com/google/syzkaller/pkg/aflow/tool/toolkit 2.885s ? github.com/google/syzkaller/pkg/aflow/trajectory [no test files] ok github.com/google/syzkaller/pkg/aflow/trajectory/html (cached) ok github.com/google/syzkaller/pkg/asset (cached) ok github.com/google/syzkaller/pkg/ast 0.917s ok github.com/google/syzkaller/pkg/auth (cached) ok github.com/google/syzkaller/pkg/bisect (cached) ok github.com/google/syzkaller/pkg/bisect/minimize (cached) ok github.com/google/syzkaller/pkg/build 2.862s ? github.com/google/syzkaller/pkg/clangtool [no test files] ? github.com/google/syzkaller/pkg/clangtool/tooltest [no test files] FAIL github.com/google/syzkaller/pkg/codesearch [build failed] ok github.com/google/syzkaller/pkg/compiler 4.111s ok github.com/google/syzkaller/pkg/config (cached) ok github.com/google/syzkaller/pkg/corpus (cached) ok github.com/google/syzkaller/pkg/cover (cached) ok github.com/google/syzkaller/pkg/cover/backend 0.354s ok github.com/google/syzkaller/pkg/coveragedb (cached) ? github.com/google/syzkaller/pkg/coveragedb/testutil [no test files] ok github.com/google/syzkaller/pkg/covermerger 0.736s ? github.com/google/syzkaller/pkg/covermerger/mocks [no test files] ok github.com/google/syzkaller/pkg/csource 23.282s ok github.com/google/syzkaller/pkg/db (cached) ? github.com/google/syzkaller/pkg/debugtracer [no test files] ? github.com/google/syzkaller/pkg/declextract [no test files] ok github.com/google/syzkaller/pkg/dungeon (cached) ok github.com/google/syzkaller/pkg/email (cached) ok github.com/google/syzkaller/pkg/email/lore (cached) ok github.com/google/syzkaller/pkg/email/sender (cached) ok github.com/google/syzkaller/pkg/execbackend (cached) ok github.com/google/syzkaller/pkg/flatrpc (cached) ok github.com/google/syzkaller/pkg/fuzzer (cached) ok github.com/google/syzkaller/pkg/fuzzer/queue (cached) ok github.com/google/syzkaller/pkg/gce (cached) ? github.com/google/syzkaller/pkg/gcpsecret [no test files] ? github.com/google/syzkaller/pkg/gcs [no test files] ? github.com/google/syzkaller/pkg/gcs/mocks [no test files] ok github.com/google/syzkaller/pkg/gerrit (cached) ok github.com/google/syzkaller/pkg/hash (cached) ? github.com/google/syzkaller/pkg/html [no test files] ok github.com/google/syzkaller/pkg/html/pages (cached) ok github.com/google/syzkaller/pkg/html/urlutil (cached) ? github.com/google/syzkaller/pkg/ifaceprobe [no test files] ok github.com/google/syzkaller/pkg/ifuzz (cached) ok github.com/google/syzkaller/pkg/ifuzz/arm64 (cached) ? github.com/google/syzkaller/pkg/ifuzz/arm64/gen [no test files] ? github.com/google/syzkaller/pkg/ifuzz/arm64/generated [no test files] ? github.com/google/syzkaller/pkg/ifuzz/iset [no test files] ? github.com/google/syzkaller/pkg/ifuzz/powerpc [no test files] ? github.com/google/syzkaller/pkg/ifuzz/powerpc/generated [no test files] ok github.com/google/syzkaller/pkg/ifuzz/riscv64 (cached) ? github.com/google/syzkaller/pkg/ifuzz/riscv64/gen [no test files] ? github.com/google/syzkaller/pkg/ifuzz/riscv64/generated [no test files] ? github.com/google/syzkaller/pkg/ifuzz/x86 [no test files] ? github.com/google/syzkaller/pkg/ifuzz/x86/gen [no test files] ? github.com/google/syzkaller/pkg/ifuzz/x86/generated [no test files] ok github.com/google/syzkaller/pkg/image (cached) ok github.com/google/syzkaller/pkg/instance (cached) ? github.com/google/syzkaller/pkg/kcidb [no test files] ok github.com/google/syzkaller/pkg/kconfig (cached) ? github.com/google/syzkaller/pkg/kcov [no test files] ok github.com/google/syzkaller/pkg/kd (cached) ok github.com/google/syzkaller/pkg/kfuzztest 0.970s ? github.com/google/syzkaller/pkg/kfuzztest-executor [no test files] ? github.com/google/syzkaller/pkg/kfuzztest-manager [no test files] ok github.com/google/syzkaller/pkg/log (cached) ok github.com/google/syzkaller/pkg/lore-relay 4.067s ok github.com/google/syzkaller/pkg/manager 0.879s ok github.com/google/syzkaller/pkg/manager/diff (cached) ok github.com/google/syzkaller/pkg/mgrconfig 1.342s ok github.com/google/syzkaller/pkg/osutil (cached) ok github.com/google/syzkaller/pkg/report 5.955s ok github.com/google/syzkaller/pkg/report/crash (cached) ok github.com/google/syzkaller/pkg/repro (cached) ok github.com/google/syzkaller/pkg/rpcserver (cached) ? github.com/google/syzkaller/pkg/rpcserver/mocks [no test files] ? github.com/google/syzkaller/pkg/rpctype [no test files] ok github.com/google/syzkaller/pkg/runtest 19.262s ok github.com/google/syzkaller/pkg/serializer (cached) ok github.com/google/syzkaller/pkg/signal (cached) ? github.com/google/syzkaller/pkg/spanner [no test files] ok github.com/google/syzkaller/pkg/stat (cached) ok github.com/google/syzkaller/pkg/stat/sample (cached) ? github.com/google/syzkaller/pkg/stat/syzbotstats [no test files] ok github.com/google/syzkaller/pkg/subsystem (cached) ok github.com/google/syzkaller/pkg/subsystem/linux (cached) ok github.com/google/syzkaller/pkg/subsystem/lists (cached) ok github.com/google/syzkaller/pkg/symbolizer 0.030s ? github.com/google/syzkaller/pkg/testutil [no test files] ok github.com/google/syzkaller/pkg/tool (cached) ? github.com/google/syzkaller/pkg/updater [no test files] ok github.com/google/syzkaller/pkg/validator (cached) ok github.com/google/syzkaller/pkg/vcs (cached) ok github.com/google/syzkaller/pkg/vminfo (cached) ok github.com/google/syzkaller/prog 14.107s ok github.com/google/syzkaller/prog/test (cached) ? github.com/google/syzkaller/sys [no test files] ? github.com/google/syzkaller/sys/darwin [no test files] ? github.com/google/syzkaller/sys/freebsd [no test files] ? github.com/google/syzkaller/sys/fuchsia [no test files] ? github.com/google/syzkaller/sys/fuchsia/fidlgen [no test files] ? github.com/google/syzkaller/sys/fuchsia/layout [no test files] ? github.com/google/syzkaller/sys/generated [no test files] ok github.com/google/syzkaller/sys/linux (cached) ok github.com/google/syzkaller/sys/netbsd (cached) ok github.com/google/syzkaller/sys/openbsd (cached) ? github.com/google/syzkaller/sys/syz-extract [no test files] ? github.com/google/syzkaller/sys/syz-sysgen [no test files] ? github.com/google/syzkaller/sys/targets [no test files] ? github.com/google/syzkaller/sys/test [no test files] ? github.com/google/syzkaller/sys/trusty [no test files] ? github.com/google/syzkaller/sys/windows [no test files] FAIL github.com/google/syzkaller/syz-agent/agent [build failed] ? github.com/google/syzkaller/syz-agent/lore-relay [no test files] ok github.com/google/syzkaller/syz-ci 3.469s ok github.com/google/syzkaller/syz-cluster/controller (cached) ok github.com/google/syzkaller/syz-cluster/dashboard (cached) ok github.com/google/syzkaller/syz-cluster/email-reporter (cached) ? github.com/google/syzkaller/syz-cluster/pkg/api [no test files] ok github.com/google/syzkaller/syz-cluster/pkg/app 0.027s ok github.com/google/syzkaller/syz-cluster/pkg/blob (cached) ok github.com/google/syzkaller/syz-cluster/pkg/controller (cached) ok github.com/google/syzkaller/syz-cluster/pkg/db (cached) ? github.com/google/syzkaller/syz-cluster/pkg/emailclient [no test files] ok github.com/google/syzkaller/syz-cluster/pkg/fuzzconfig 1.152s ok github.com/google/syzkaller/syz-cluster/pkg/report 0.032s ok github.com/google/syzkaller/syz-cluster/pkg/reporter (cached) ok github.com/google/syzkaller/syz-cluster/pkg/retest (cached) ? github.com/google/syzkaller/syz-cluster/pkg/service [no test files] ok github.com/google/syzkaller/syz-cluster/pkg/stats (cached) ok github.com/google/syzkaller/syz-cluster/pkg/triage (cached) ? github.com/google/syzkaller/syz-cluster/pkg/workflow [no test files] ? github.com/google/syzkaller/syz-cluster/reporter-server [no test files] ok github.com/google/syzkaller/syz-cluster/series-tracker (cached) ? github.com/google/syzkaller/syz-cluster/tools/db-mgmt [no test files] ? github.com/google/syzkaller/syz-cluster/tools/send-test-email [no test files] ? github.com/google/syzkaller/syz-cluster/workflow/boot [no test files] ? github.com/google/syzkaller/syz-cluster/workflow/build [no test files] ok github.com/google/syzkaller/syz-cluster/workflow/fuzz (cached) ? github.com/google/syzkaller/syz-cluster/workflow/retest [no test files] ? github.com/google/syzkaller/syz-cluster/workflow/triage [no test files] ok github.com/google/syzkaller/syz-hub (cached) ok github.com/google/syzkaller/syz-hub/state (cached) ? github.com/google/syzkaller/syz-kfuzztest [no test files] ok github.com/google/syzkaller/syz-manager (cached) ? github.com/google/syzkaller/syz-verifier [no test files] ? github.com/google/syzkaller/tools/arm64 [no test files] ? github.com/google/syzkaller/tools/clang [no test files] ? github.com/google/syzkaller/tools/clang/codesearch [no test files] ? github.com/google/syzkaller/tools/clang/declextract [no test files] ? github.com/google/syzkaller/tools/kfuzztest-gen [no test files] ? github.com/google/syzkaller/tools/syz-aflow [no test files] ? github.com/google/syzkaller/tools/syz-base-commit [no test files] ? github.com/google/syzkaller/tools/syz-benchcmp [no test files] ? github.com/google/syzkaller/tools/syz-bisect [no test files] ? github.com/google/syzkaller/tools/syz-build [no test files] ? github.com/google/syzkaller/tools/syz-check [no test files] ? github.com/google/syzkaller/tools/syz-codesearch [no test files] ? github.com/google/syzkaller/tools/syz-cover [no test files] ? github.com/google/syzkaller/tools/syz-covermerger [no test files] ? github.com/google/syzkaller/tools/syz-crush [no test files] ok github.com/google/syzkaller/tools/syz-db (cached) ? github.com/google/syzkaller/tools/syz-db-export [no test files] FAIL github.com/google/syzkaller/tools/syz-declextract [build failed] ? github.com/google/syzkaller/tools/syz-diff [no test files] ? github.com/google/syzkaller/tools/syz-execprog [no test files] ? github.com/google/syzkaller/tools/syz-expand [no test files] ? github.com/google/syzkaller/tools/syz-fillreports [no test files] ? github.com/google/syzkaller/tools/syz-fix-analyzer [no test files] ? github.com/google/syzkaller/tools/syz-fmt [no test files] ? github.com/google/syzkaller/tools/syz-hubtool [no test files] ok github.com/google/syzkaller/tools/syz-imagegen (cached) ? github.com/google/syzkaller/tools/syz-kcidb [no test files] ok github.com/google/syzkaller/tools/syz-kconf (cached) ok github.com/google/syzkaller/tools/syz-linter 0.839s ? github.com/google/syzkaller/tools/syz-lore [no test files] ? github.com/google/syzkaller/tools/syz-make [no test files] ? github.com/google/syzkaller/tools/syz-minconfig [no test files] ? github.com/google/syzkaller/tools/syz-mutate [no test files] ? github.com/google/syzkaller/tools/syz-prog2c [no test files] ? github.com/google/syzkaller/tools/syz-query-subsystems [no test files] ? github.com/google/syzkaller/tools/syz-reporter [no test files] ? github.com/google/syzkaller/tools/syz-repro [no test files] ? github.com/google/syzkaller/tools/syz-showprio [no test files] ? github.com/google/syzkaller/tools/syz-symbolize [no test files] ok github.com/google/syzkaller/tools/syz-testbed (cached) ? github.com/google/syzkaller/tools/syz-testbuild [no test files] ? github.com/google/syzkaller/tools/syz-trace2syz [no test files] ok github.com/google/syzkaller/tools/syz-trace2syz/parser (cached) ok github.com/google/syzkaller/tools/syz-trace2syz/proggen (cached) ? github.com/google/syzkaller/tools/syz-tty [no test files] ? github.com/google/syzkaller/tools/syz-upgrade [no test files] ? github.com/google/syzkaller/tools/syz-usbgen [no test files] ok github.com/google/syzkaller/vm (cached) ok github.com/google/syzkaller/vm/adb (cached) ? github.com/google/syzkaller/vm/bhyve [no test files] ? github.com/google/syzkaller/vm/cuttlefish [no test files] ok github.com/google/syzkaller/vm/dispatcher (cached) ? github.com/google/syzkaller/vm/gce [no test files] ? github.com/google/syzkaller/vm/gvisor [no test files] ok github.com/google/syzkaller/vm/isolated (cached) ok github.com/google/syzkaller/vm/proxyapp (cached) ? github.com/google/syzkaller/vm/proxyapp/mocks [no test files] ? github.com/google/syzkaller/vm/proxyapp/proxyrpc [no test files] ? github.com/google/syzkaller/vm/qemu [no test files] ? github.com/google/syzkaller/vm/starnix [no test files] ? github.com/google/syzkaller/vm/virtualbox [no test files] ok github.com/google/syzkaller/vm/vmimpl (cached) ? github.com/google/syzkaller/vm/vmm [no test files] ? github.com/google/syzkaller/vm/vmware [no test files] FAIL