? github.com/google/syzkaller/dashboard/api [no test files] ok github.com/google/syzkaller/dashboard/app (cached) ? 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] ok github.com/google/syzkaller/executor 2.476s ok github.com/google/syzkaller/pkg/aflow (cached) 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/pkg/aflow/flow/reproc.test /usr/local/go/pkg/tool/linux_arm64/link: running g++ failed: exit status 1 /usr/bin/g++ -s -Wl,--build-id=0xdb943ced0a987c9035de7a3866e98f1d0ad9123f -o $WORK/b1016/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-3775752058/go.o /tmp/go-link-3775752058/000000.o /tmp/go-link-3775752058/000001.o /tmp/go-link-3775752058/000002.o /tmp/go-link-3775752058/000003.o /tmp/go-link-3775752058/000004.o /tmp/go-link-3775752058/000005.o /tmp/go-link-3775752058/000006.o /tmp/go-link-3775752058/000007.o /tmp/go-link-3775752058/000008.o /tmp/go-link-3775752058/000009.o /tmp/go-link-3775752058/000010.o /tmp/go-link-3775752058/000011.o /tmp/go-link-3775752058/000012.o /tmp/go-link-3775752058/000013.o /tmp/go-link-3775752058/000014.o /tmp/go-link-3775752058/000015.o /tmp/go-link-3775752058/000016.o /tmp/go-link-3775752058/000017.o /tmp/go-link-3775752058/000018.o /tmp/go-link-3775752058/000019.o /tmp/go-link-3775752058/000020.o /tmp/go-link-3775752058/000021.o /tmp/go-link-3775752058/000022.o /tmp/go-link-3775752058/000023.o /tmp/go-link-3775752058/000024.o /tmp/go-link-3775752058/000025.o /tmp/go-link-3775752058/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-3775752058/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+0x37c): 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+0x398): 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+0xbb4): 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+0xbc8): undefined reference to `clang::SourceManager::getExpansionLineNumber(clang::SourceLocation, bool*) const' /usr/bin/ld: /tmp/go-link-3775752058/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+0x125c): undefined reference to `clang::SourceManager::getExpansionLineNumber(clang::SourceLocation, bool*) const' /usr/bin/ld: /tmp/go-link-3775752058/000002.o: in function `clang::NestedNameSpecifierLoc::getBeginLoc() const': /usr/lib/llvm-21/include/clang/AST/NestedNameSpecifier.h:307:(.text+0x1688): undefined reference to `clang::NestedNameSpecifierLoc::getLocalSourceRange() const' /usr/bin/ld: /tmp/go-link-3775752058/000002.o: in function `Indexer::VisitTagType(clang::TagType const*)': /syzkaller/gopath/src/github.com/google/syzkaller/tools/clang/codesearch/codesearch.cpp:267:(.text+0x16cc): undefined reference to `clang::Type::getAsTagDecl() const' /usr/bin/ld: /tmp/go-link-3775752058/000002.o: in function `Indexer::VisitMemberExpr(clang::MemberExpr const*)': /syzkaller/gopath/src/github.com/google/syzkaller/tools/clang/codesearch/codesearch.cpp:292:(.text+0x1828): undefined reference to `clang::Type::getAsRecordDecl() const' /usr/bin/ld: /syzkaller/gopath/src/github.com/google/syzkaller/tools/clang/codesearch/codesearch.cpp:294:(.text+0x1888): undefined reference to `clang::Type::getAsRecordDecl() const' /usr/bin/ld: /tmp/go-link-3775752058/000002.o: in function `clang::RecursiveASTVisitor::TraverseSubstTemplateTypeParmPackType(clang::SubstTemplateTypeParmPackType*)': /usr/lib/llvm-21/include/clang/AST/RecursiveASTVisitor.h:1131:(.text._ZN5clang19RecursiveASTVisitorI7IndexerE12TraverseTypeENS_8QualTypeE[_ZN5clang19RecursiveASTVisitorI7IndexerE12TraverseTypeENS_8QualTypeE]+0x3cc): undefined reference to `clang::SubstTemplateTypeParmPackType::getArgumentPack() const' /usr/bin/ld: /tmp/go-link-3775752058/000002.o: in function `clang::RecursiveASTVisitor::TraverseNestedNameSpecifier(clang::NestedNameSpecifier*)': /usr/lib/llvm-21/include/clang/AST/RecursiveASTVisitor.h:789:(.text._ZN5clang19RecursiveASTVisitorI7IndexerE27TraverseNestedNameSpecifierEPNS_19NestedNameSpecifierE[_ZN5clang19RecursiveASTVisitorI7IndexerE27TraverseNestedNameSpecifierEPNS_19NestedNameSpecifierE]+0x38): undefined reference to `clang::NestedNameSpecifier::getKind() const' /usr/bin/ld: /tmp/go-link-3775752058/000002.o: in function `clang::RecursiveASTVisitor::TraverseSubstTemplateTypeParmPackTypeLoc(clang::SubstTemplateTypeParmPackTypeLoc)': /usr/lib/llvm-21/include/clang/AST/RecursiveASTVisitor.h:1437:(.text._ZN5clang19RecursiveASTVisitorI7IndexerE15TraverseTypeLocENS_7TypeLocE[_ZN5clang19RecursiveASTVisitorI7IndexerE15TraverseTypeLocENS_7TypeLocE]+0x370): undefined reference to `clang::SubstTemplateTypeParmPackType::getArgumentPack() const' /usr/bin/ld: /tmp/go-link-3775752058/000002.o: in function `clang::RecursiveASTVisitor::TraverseNestedNameSpecifierLoc(clang::NestedNameSpecifierLoc)': /usr/lib/llvm-21/include/clang/AST/RecursiveASTVisitor.h:813:(.text._ZN5clang19RecursiveASTVisitorI7IndexerE30TraverseNestedNameSpecifierLocENS_22NestedNameSpecifierLocE[_ZN5clang19RecursiveASTVisitorI7IndexerE30TraverseNestedNameSpecifierLocENS_22NestedNameSpecifierLocE]+0x44): 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]+0x70): 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_arm64/link: running g++ failed: exit status 1 /usr/bin/g++ -s -Wl,--build-id=0x1f62efcfcf899c7c8cc91d92996f6ec81919f56e -o $WORK/b1013/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-3625674082/go.o /tmp/go-link-3625674082/000000.o /tmp/go-link-3625674082/000001.o /tmp/go-link-3625674082/000002.o /tmp/go-link-3625674082/000003.o /tmp/go-link-3625674082/000004.o /tmp/go-link-3625674082/000005.o /tmp/go-link-3625674082/000006.o /tmp/go-link-3625674082/000007.o /tmp/go-link-3625674082/000008.o /tmp/go-link-3625674082/000009.o /tmp/go-link-3625674082/000010.o /tmp/go-link-3625674082/000011.o /tmp/go-link-3625674082/000012.o /tmp/go-link-3625674082/000013.o /tmp/go-link-3625674082/000014.o /tmp/go-link-3625674082/000015.o /tmp/go-link-3625674082/000016.o /tmp/go-link-3625674082/000017.o /tmp/go-link-3625674082/000018.o /tmp/go-link-3625674082/000019.o /tmp/go-link-3625674082/000020.o /tmp/go-link-3625674082/000021.o /tmp/go-link-3625674082/000022.o /tmp/go-link-3625674082/000023.o /tmp/go-link-3625674082/000024.o /tmp/go-link-3625674082/000025.o /tmp/go-link-3625674082/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-3625674082/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+0x37c): 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+0x398): 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+0xbb4): 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+0xbc8): undefined reference to `clang::SourceManager::getExpansionLineNumber(clang::SourceLocation, bool*) const' /usr/bin/ld: /tmp/go-link-3625674082/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+0x125c): undefined reference to `clang::SourceManager::getExpansionLineNumber(clang::SourceLocation, bool*) const' /usr/bin/ld: /tmp/go-link-3625674082/000002.o: in function `clang::NestedNameSpecifierLoc::getBeginLoc() const': /usr/lib/llvm-21/include/clang/AST/NestedNameSpecifier.h:307:(.text+0x1688): undefined reference to `clang::NestedNameSpecifierLoc::getLocalSourceRange() const' /usr/bin/ld: /tmp/go-link-3625674082/000002.o: in function `Indexer::VisitTagType(clang::TagType const*)': /syzkaller/gopath/src/github.com/google/syzkaller/tools/clang/codesearch/codesearch.cpp:267:(.text+0x16cc): undefined reference to `clang::Type::getAsTagDecl() const' /usr/bin/ld: /tmp/go-link-3625674082/000002.o: in function `Indexer::VisitMemberExpr(clang::MemberExpr const*)': /syzkaller/gopath/src/github.com/google/syzkaller/tools/clang/codesearch/codesearch.cpp:292:(.text+0x1828): undefined reference to `clang::Type::getAsRecordDecl() const' /usr/bin/ld: /syzkaller/gopath/src/github.com/google/syzkaller/tools/clang/codesearch/codesearch.cpp:294:(.text+0x1888): undefined reference to `clang::Type::getAsRecordDecl() const' /usr/bin/ld: /tmp/go-link-3625674082/000002.o: in function `clang::RecursiveASTVisitor::TraverseSubstTemplateTypeParmPackType(clang::SubstTemplateTypeParmPackType*)': /usr/lib/llvm-21/include/clang/AST/RecursiveASTVisitor.h:1131:(.text._ZN5clang19RecursiveASTVisitorI7IndexerE12TraverseTypeENS_8QualTypeE[_ZN5clang19RecursiveASTVisitorI7IndexerE12TraverseTypeENS_8QualTypeE]+0x3cc): undefined reference to `clang::SubstTemplateTypeParmPackType::getArgumentPack() const' /usr/bin/ld: /tmp/go-link-3625674082/000002.o: in function `clang::RecursiveASTVisitor::TraverseNestedNameSpecifier(clang::NestedNameSpecifier*)': /usr/lib/llvm-21/include/clang/AST/RecursiveASTVisitor.h:789:(.text._ZN5clang19RecursiveASTVisitorI7IndexerE27TraverseNestedNameSpecifierEPNS_19NestedNameSpecifierE[_ZN5clang19RecursiveASTVisitorI7IndexerE27TraverseNestedNameSpecifierEPNS_19NestedNameSpecifierE]+0x38): undefined reference to `clang::NestedNameSpecifier::getKind() const' /usr/bin/ld: /tmp/go-link-3625674082/000002.o: in function `clang::RecursiveASTVisitor::TraverseSubstTemplateTypeParmPackTypeLoc(clang::SubstTemplateTypeParmPackTypeLoc)': /usr/lib/llvm-21/include/clang/AST/RecursiveASTVisitor.h:1437:(.text._ZN5clang19RecursiveASTVisitorI7IndexerE15TraverseTypeLocENS_7TypeLocE[_ZN5clang19RecursiveASTVisitorI7IndexerE15TraverseTypeLocENS_7TypeLocE]+0x370): undefined reference to `clang::SubstTemplateTypeParmPackType::getArgumentPack() const' /usr/bin/ld: /tmp/go-link-3625674082/000002.o: in function `clang::RecursiveASTVisitor::TraverseNestedNameSpecifierLoc(clang::NestedNameSpecifierLoc)': /usr/lib/llvm-21/include/clang/AST/RecursiveASTVisitor.h:813:(.text._ZN5clang19RecursiveASTVisitorI7IndexerE30TraverseNestedNameSpecifierLocENS_22NestedNameSpecifierLocE[_ZN5clang19RecursiveASTVisitorI7IndexerE30TraverseNestedNameSpecifierLocENS_22NestedNameSpecifierLocE]+0x44): 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]+0x70): undefined reference to `clang::NestedNameSpecifierLoc::getTypeLoc() const' collect2: error: ld returned 1 exit status # github.com/google/syzkaller/tools/syz-declextract.test /usr/local/go/pkg/tool/linux_arm64/link: running g++ failed: exit status 1 /usr/bin/g++ -s -Wl,--build-id=0x0834b69b7a0166a6b2f39b1a951839036d79c1b8 -o $WORK/b1620/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-2063491438/go.o /tmp/go-link-2063491438/000000.o /tmp/go-link-2063491438/000001.o /tmp/go-link-2063491438/000002.o /tmp/go-link-2063491438/000003.o /tmp/go-link-2063491438/000004.o /tmp/go-link-2063491438/000005.o /tmp/go-link-2063491438/000006.o /tmp/go-link-2063491438/000007.o /tmp/go-link-2063491438/000008.o /tmp/go-link-2063491438/000009.o /tmp/go-link-2063491438/000010.o /tmp/go-link-2063491438/000011.o /tmp/go-link-2063491438/000012.o /tmp/go-link-2063491438/000013.o /tmp/go-link-2063491438/000014.o /tmp/go-link-2063491438/000015.o /tmp/go-link-2063491438/000016.o /tmp/go-link-2063491438/000017.o /tmp/go-link-2063491438/000018.o /tmp/go-link-2063491438/000019.o /tmp/go-link-2063491438/000020.o /tmp/go-link-2063491438/000021.o /tmp/go-link-2063491438/000022.o /tmp/go-link-2063491438/000023.o /tmp/go-link-2063491438/000024.o /tmp/go-link-2063491438/000025.o /tmp/go-link-2063491438/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-2063491438/000002.o: in function `clang::RecordType::getDecl() const': /usr/lib/llvm-21/include/clang/AST/Type.h:6144:(.text+0x33fc): undefined reference to `clang::TagType::getDecl() const' /usr/bin/ld: /tmp/go-link-2063491438/000002.o: in function `clang::EnumType::getDecl() const': /usr/lib/llvm-21/include/clang/AST/Type.h:6167:(.text+0x4c8c): undefined reference to `clang::TagType::getDecl() const' /usr/bin/ld: /tmp/go-link-2063491438/000002.o: in function `clang::RecordType::getDecl() const': /usr/lib/llvm-21/include/clang/AST/Type.h:6144:(.text+0x6198): undefined reference to `clang::TagType::getDecl() const' /usr/bin/ld: /tmp/go-link-2063491438/000002.o: in function `FunctionAnalyzer::getTypingEntity(clang::Expr const*)': /syzkaller/gopath/src/github.com/google/syzkaller/tools/clang/declextract/declextract.cpp:861:(.text+0x6448): undefined reference to `clang::SourceManager::getExpansionLineNumber(clang::SourceLocation, bool*) const' /usr/bin/ld: /tmp/go-link-2063491438/000002.o: in function `FunctionAnalyzer::VisitSwitchCase(clang::SwitchCase const*)': /syzkaller/gopath/src/github.com/google/syzkaller/tools/clang/declextract/declextract.cpp:741:(.text+0x8b50): undefined reference to `clang::SourceManager::getExpansionLineNumber(clang::SourceLocation, bool*) const' /usr/bin/ld: /tmp/go-link-2063491438/000002.o: in function `Extractor::matchFileOps()': /syzkaller/gopath/src/github.com/google/syzkaller/tools/clang/declextract/declextract.cpp:957:(.text+0x9d40): undefined reference to `clang::Type::getAsRecordDecl() const' /usr/bin/ld: /tmp/go-link-2063491438/000002.o: in function `Extractor::matchNetlinkFamily()': /syzkaller/gopath/src/github.com/google/syzkaller/tools/clang/declextract/declextract.cpp:601:(.text+0xae64): 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+0xb134): undefined reference to `clang::Type::getAsRecordDecl() const' /usr/bin/ld: /tmp/go-link-2063491438/000002.o: in function `Extractor::matchIouring()': /syzkaller/gopath/src/github.com/google/syzkaller/tools/clang/declextract/declextract.cpp:932:(.text+0xcd64): undefined reference to `clang::Type::getAsRecordDecl() const' /usr/bin/ld: /tmp/go-link-2063491438/000002.o: in function `Extractor::matchNetlinkPolicy()': /syzkaller/gopath/src/github.com/google/syzkaller/tools/clang/declextract/declextract.cpp:557:(.text+0xd5a8): undefined reference to `clang::Type::getAsRecordDecl() const' /usr/bin/ld: /tmp/go-link-2063491438/000002.o: in function `Extractor::matchFunctionDef()': /syzkaller/gopath/src/github.com/google/syzkaller/tools/clang/declextract/declextract.cpp:822:(.text+0xe774): 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+0xe78c): undefined reference to `clang::SourceManager::getExpansionLineNumber(clang::SourceLocation, bool*) const' /usr/bin/ld: /tmp/go-link-2063491438/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]+0x48): undefined reference to `clang::NestedNameSpecifierLoc::getTypeLoc() const' /usr/bin/ld: /tmp/go-link-2063491438/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]+0x24): 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]+0x30): undefined reference to `clang::NestedNameSpecifier::getAsNamespace() const' /usr/bin/ld: /tmp/go-link-2063491438/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]+0x7c): 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]+0x94): undefined reference to `clang::TagType::getDecl() const' /usr/bin/ld: /usr/lib/llvm-21/include/clang/AST/Type.h:6167:(.text._ZNK5clang4Type13isIntegerTypeEv[_ZNK5clang4Type13isIntegerTypeEv]+0x64): undefined reference to `clang::TagType::getDecl() const' /usr/bin/ld: /usr/lib/llvm-21/include/clang/AST/Type.h:6167:(.text._ZNK5clang4Type13isIntegerTypeEv[_ZNK5clang4Type13isIntegerTypeEv]+0x7c): undefined reference to `clang::TagType::getDecl() const' /usr/bin/ld: /tmp/go-link-2063491438/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]+0xa0): 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]+0xcc): undefined reference to `clang::InjectedClassNameType::getDecl() const' /usr/bin/ld: /tmp/go-link-2063491438/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]+0x2bc): undefined reference to `clang::UsingType::getUnderlyingType() const' /usr/bin/ld: /tmp/go-link-2063491438/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]+0x228): undefined reference to `clang::SourceManager::getExpansionLineNumber(clang::SourceLocation, bool*) const' /usr/bin/ld: /tmp/go-link-2063491438/000002.o: in function `clang::RecursiveASTVisitor::TraverseSubstTemplateTypeParmPackType(clang::SubstTemplateTypeParmPackType*)': /usr/lib/llvm-21/include/clang/AST/RecursiveASTVisitor.h:1131:(.text._ZN5clang19RecursiveASTVisitorI16FunctionAnalyzerE12TraverseTypeENS_8QualTypeE[_ZN5clang19RecursiveASTVisitorI16FunctionAnalyzerE12TraverseTypeENS_8QualTypeE]+0x210): undefined reference to `clang::SubstTemplateTypeParmPackType::getArgumentPack() const' /usr/bin/ld: /tmp/go-link-2063491438/000002.o: in function `clang::RecursiveASTVisitor::TraverseNestedNameSpecifier(clang::NestedNameSpecifier*)': /usr/lib/llvm-21/include/clang/AST/RecursiveASTVisitor.h:789:(.text._ZN5clang19RecursiveASTVisitorI16FunctionAnalyzerE27TraverseNestedNameSpecifierEPNS_19NestedNameSpecifierE[_ZN5clang19RecursiveASTVisitorI16FunctionAnalyzerE27TraverseNestedNameSpecifierEPNS_19NestedNameSpecifierE]+0x38): undefined reference to `clang::NestedNameSpecifier::getKind() const' /usr/bin/ld: /tmp/go-link-2063491438/000002.o: in function `clang::RecursiveASTVisitor::TraverseSubstTemplateTypeParmPackTypeLoc(clang::SubstTemplateTypeParmPackTypeLoc)': /usr/lib/llvm-21/include/clang/AST/RecursiveASTVisitor.h:1437:(.text._ZN5clang19RecursiveASTVisitorI16FunctionAnalyzerE15TraverseTypeLocENS_7TypeLocE[_ZN5clang19RecursiveASTVisitorI16FunctionAnalyzerE15TraverseTypeLocENS_7TypeLocE]+0xf8c): undefined reference to `clang::SubstTemplateTypeParmPackType::getArgumentPack() const' /usr/bin/ld: /tmp/go-link-2063491438/000002.o: in function `clang::RecursiveASTVisitor::TraverseNestedNameSpecifierLoc(clang::NestedNameSpecifierLoc)': /usr/lib/llvm-21/include/clang/AST/RecursiveASTVisitor.h:813:(.text._ZN5clang19RecursiveASTVisitorI16FunctionAnalyzerE30TraverseNestedNameSpecifierLocENS_22NestedNameSpecifierLocE[_ZN5clang19RecursiveASTVisitorI16FunctionAnalyzerE30TraverseNestedNameSpecifierLocENS_22NestedNameSpecifierLocE]+0x44): 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]+0x70): 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_arm64/link: running g++ failed: exit status 1 /usr/bin/g++ -s -Wl,--build-id=0x64bb2cfde0f0776c816caa8bb983192dc56161f7 -o $WORK/b1287/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-519748593/go.o /tmp/go-link-519748593/000000.o /tmp/go-link-519748593/000001.o /tmp/go-link-519748593/000002.o /tmp/go-link-519748593/000003.o /tmp/go-link-519748593/000004.o /tmp/go-link-519748593/000005.o /tmp/go-link-519748593/000006.o /tmp/go-link-519748593/000007.o /tmp/go-link-519748593/000008.o /tmp/go-link-519748593/000009.o /tmp/go-link-519748593/000010.o /tmp/go-link-519748593/000011.o /tmp/go-link-519748593/000012.o /tmp/go-link-519748593/000013.o /tmp/go-link-519748593/000014.o /tmp/go-link-519748593/000015.o /tmp/go-link-519748593/000016.o /tmp/go-link-519748593/000017.o /tmp/go-link-519748593/000018.o /tmp/go-link-519748593/000019.o /tmp/go-link-519748593/000020.o /tmp/go-link-519748593/000021.o /tmp/go-link-519748593/000022.o /tmp/go-link-519748593/000023.o /tmp/go-link-519748593/000024.o /tmp/go-link-519748593/000025.o /tmp/go-link-519748593/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-519748593/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+0x37c): 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+0x398): 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+0xbb4): 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+0xbc8): undefined reference to `clang::SourceManager::getExpansionLineNumber(clang::SourceLocation, bool*) const' /usr/bin/ld: /tmp/go-link-519748593/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+0x125c): undefined reference to `clang::SourceManager::getExpansionLineNumber(clang::SourceLocation, bool*) const' /usr/bin/ld: /tmp/go-link-519748593/000026.o: in function `clang::NestedNameSpecifierLoc::getBeginLoc() const': /usr/lib/llvm-21/include/clang/AST/NestedNameSpecifier.h:307:(.text+0x1688): undefined reference to `clang::NestedNameSpecifierLoc::getLocalSourceRange() const' /usr/bin/ld: /tmp/go-link-519748593/000026.o: in function `Indexer::VisitTagType(clang::TagType const*)': /syzkaller/gopath/src/github.com/google/syzkaller/tools/clang/codesearch/codesearch.cpp:267:(.text+0x16cc): undefined reference to `clang::Type::getAsTagDecl() const' /usr/bin/ld: /tmp/go-link-519748593/000026.o: in function `Indexer::VisitMemberExpr(clang::MemberExpr const*)': /syzkaller/gopath/src/github.com/google/syzkaller/tools/clang/codesearch/codesearch.cpp:292:(.text+0x1828): undefined reference to `clang::Type::getAsRecordDecl() const' /usr/bin/ld: /syzkaller/gopath/src/github.com/google/syzkaller/tools/clang/codesearch/codesearch.cpp:294:(.text+0x1888): undefined reference to `clang::Type::getAsRecordDecl() const' /usr/bin/ld: /tmp/go-link-519748593/000026.o: in function `clang::RecursiveASTVisitor::TraverseSubstTemplateTypeParmPackType(clang::SubstTemplateTypeParmPackType*)': /usr/lib/llvm-21/include/clang/AST/RecursiveASTVisitor.h:1131:(.text._ZN5clang19RecursiveASTVisitorI7IndexerE12TraverseTypeENS_8QualTypeE[_ZN5clang19RecursiveASTVisitorI7IndexerE12TraverseTypeENS_8QualTypeE]+0x3cc): undefined reference to `clang::SubstTemplateTypeParmPackType::getArgumentPack() const' /usr/bin/ld: /tmp/go-link-519748593/000026.o: in function `clang::RecursiveASTVisitor::TraverseNestedNameSpecifier(clang::NestedNameSpecifier*)': /usr/lib/llvm-21/include/clang/AST/RecursiveASTVisitor.h:789:(.text._ZN5clang19RecursiveASTVisitorI7IndexerE27TraverseNestedNameSpecifierEPNS_19NestedNameSpecifierE[_ZN5clang19RecursiveASTVisitorI7IndexerE27TraverseNestedNameSpecifierEPNS_19NestedNameSpecifierE]+0x38): undefined reference to `clang::NestedNameSpecifier::getKind() const' /usr/bin/ld: /tmp/go-link-519748593/000026.o: in function `clang::RecursiveASTVisitor::TraverseSubstTemplateTypeParmPackTypeLoc(clang::SubstTemplateTypeParmPackTypeLoc)': /usr/lib/llvm-21/include/clang/AST/RecursiveASTVisitor.h:1437:(.text._ZN5clang19RecursiveASTVisitorI7IndexerE15TraverseTypeLocENS_7TypeLocE[_ZN5clang19RecursiveASTVisitorI7IndexerE15TraverseTypeLocENS_7TypeLocE]+0x370): undefined reference to `clang::SubstTemplateTypeParmPackType::getArgumentPack() const' /usr/bin/ld: /tmp/go-link-519748593/000026.o: in function `clang::RecursiveASTVisitor::TraverseNestedNameSpecifierLoc(clang::NestedNameSpecifierLoc)': /usr/lib/llvm-21/include/clang/AST/RecursiveASTVisitor.h:813:(.text._ZN5clang19RecursiveASTVisitorI7IndexerE30TraverseNestedNameSpecifierLocENS_22NestedNameSpecifierLocE[_ZN5clang19RecursiveASTVisitorI7IndexerE30TraverseNestedNameSpecifierLocENS_22NestedNameSpecifierLocE]+0x44): 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]+0x70): 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_arm64/link: running g++ failed: exit status 1 /usr/bin/g++ -s -Wl,--build-id=0x9116d9db1b63f56880d25a50573eec60fbb71869 -o $WORK/b1008/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-949186084/go.o /tmp/go-link-949186084/000000.o /tmp/go-link-949186084/000001.o /tmp/go-link-949186084/000002.o /tmp/go-link-949186084/000003.o /tmp/go-link-949186084/000004.o /tmp/go-link-949186084/000005.o /tmp/go-link-949186084/000006.o /tmp/go-link-949186084/000007.o /tmp/go-link-949186084/000008.o /tmp/go-link-949186084/000009.o /tmp/go-link-949186084/000010.o /tmp/go-link-949186084/000011.o /tmp/go-link-949186084/000012.o /tmp/go-link-949186084/000013.o /tmp/go-link-949186084/000014.o /tmp/go-link-949186084/000015.o /tmp/go-link-949186084/000016.o /tmp/go-link-949186084/000017.o /tmp/go-link-949186084/000018.o /tmp/go-link-949186084/000019.o /tmp/go-link-949186084/000020.o /tmp/go-link-949186084/000021.o /tmp/go-link-949186084/000022.o /tmp/go-link-949186084/000023.o /tmp/go-link-949186084/000024.o /tmp/go-link-949186084/000025.o /tmp/go-link-949186084/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-949186084/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+0x37c): 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+0x398): 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+0xbb4): 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+0xbc8): undefined reference to `clang::SourceManager::getExpansionLineNumber(clang::SourceLocation, bool*) const' /usr/bin/ld: /tmp/go-link-949186084/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+0x125c): undefined reference to `clang::SourceManager::getExpansionLineNumber(clang::SourceLocation, bool*) const' /usr/bin/ld: /tmp/go-link-949186084/000002.o: in function `clang::NestedNameSpecifierLoc::getBeginLoc() const': /usr/lib/llvm-21/include/clang/AST/NestedNameSpecifier.h:307:(.text+0x1688): undefined reference to `clang::NestedNameSpecifierLoc::getLocalSourceRange() const' /usr/bin/ld: /tmp/go-link-949186084/000002.o: in function `Indexer::VisitTagType(clang::TagType const*)': /syzkaller/gopath/src/github.com/google/syzkaller/tools/clang/codesearch/codesearch.cpp:267:(.text+0x16cc): undefined reference to `clang::Type::getAsTagDecl() const' /usr/bin/ld: /tmp/go-link-949186084/000002.o: in function `Indexer::VisitMemberExpr(clang::MemberExpr const*)': /syzkaller/gopath/src/github.com/google/syzkaller/tools/clang/codesearch/codesearch.cpp:292:(.text+0x1828): undefined reference to `clang::Type::getAsRecordDecl() const' /usr/bin/ld: /syzkaller/gopath/src/github.com/google/syzkaller/tools/clang/codesearch/codesearch.cpp:294:(.text+0x1888): undefined reference to `clang::Type::getAsRecordDecl() const' /usr/bin/ld: /tmp/go-link-949186084/000002.o: in function `clang::RecursiveASTVisitor::TraverseSubstTemplateTypeParmPackType(clang::SubstTemplateTypeParmPackType*)': /usr/lib/llvm-21/include/clang/AST/RecursiveASTVisitor.h:1131:(.text._ZN5clang19RecursiveASTVisitorI7IndexerE12TraverseTypeENS_8QualTypeE[_ZN5clang19RecursiveASTVisitorI7IndexerE12TraverseTypeENS_8QualTypeE]+0x3cc): undefined reference to `clang::SubstTemplateTypeParmPackType::getArgumentPack() const' /usr/bin/ld: /tmp/go-link-949186084/000002.o: in function `clang::RecursiveASTVisitor::TraverseNestedNameSpecifier(clang::NestedNameSpecifier*)': /usr/lib/llvm-21/include/clang/AST/RecursiveASTVisitor.h:789:(.text._ZN5clang19RecursiveASTVisitorI7IndexerE27TraverseNestedNameSpecifierEPNS_19NestedNameSpecifierE[_ZN5clang19RecursiveASTVisitorI7IndexerE27TraverseNestedNameSpecifierEPNS_19NestedNameSpecifierE]+0x38): undefined reference to `clang::NestedNameSpecifier::getKind() const' /usr/bin/ld: /tmp/go-link-949186084/000002.o: in function `clang::RecursiveASTVisitor::TraverseSubstTemplateTypeParmPackTypeLoc(clang::SubstTemplateTypeParmPackTypeLoc)': /usr/lib/llvm-21/include/clang/AST/RecursiveASTVisitor.h:1437:(.text._ZN5clang19RecursiveASTVisitorI7IndexerE15TraverseTypeLocENS_7TypeLocE[_ZN5clang19RecursiveASTVisitorI7IndexerE15TraverseTypeLocENS_7TypeLocE]+0x370): undefined reference to `clang::SubstTemplateTypeParmPackType::getArgumentPack() const' /usr/bin/ld: /tmp/go-link-949186084/000002.o: in function `clang::RecursiveASTVisitor::TraverseNestedNameSpecifierLoc(clang::NestedNameSpecifierLoc)': /usr/lib/llvm-21/include/clang/AST/RecursiveASTVisitor.h:813:(.text._ZN5clang19RecursiveASTVisitorI7IndexerE30TraverseNestedNameSpecifierLocENS_22NestedNameSpecifierLocE[_ZN5clang19RecursiveASTVisitorI7IndexerE30TraverseNestedNameSpecifierLocENS_22NestedNameSpecifierLocE]+0x44): 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]+0x70): 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] # github.com/google/syzkaller/pkg/aflow/flow/common.test /usr/local/go/pkg/tool/linux_arm64/link: running g++ failed: exit status 1 /usr/bin/g++ -s -Wl,--build-id=0x27210cb1cfda43c3ae96f9e622b6aa7a45af1296 -o $WORK/b1011/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-3379817821/go.o /tmp/go-link-3379817821/000000.o /tmp/go-link-3379817821/000001.o /tmp/go-link-3379817821/000002.o /tmp/go-link-3379817821/000003.o /tmp/go-link-3379817821/000004.o /tmp/go-link-3379817821/000005.o /tmp/go-link-3379817821/000006.o /tmp/go-link-3379817821/000007.o /tmp/go-link-3379817821/000008.o /tmp/go-link-3379817821/000009.o /tmp/go-link-3379817821/000010.o /tmp/go-link-3379817821/000011.o /tmp/go-link-3379817821/000012.o /tmp/go-link-3379817821/000013.o /tmp/go-link-3379817821/000014.o /tmp/go-link-3379817821/000015.o /tmp/go-link-3379817821/000016.o /tmp/go-link-3379817821/000017.o /tmp/go-link-3379817821/000018.o /tmp/go-link-3379817821/000019.o /tmp/go-link-3379817821/000020.o /tmp/go-link-3379817821/000021.o /tmp/go-link-3379817821/000022.o /tmp/go-link-3379817821/000023.o /tmp/go-link-3379817821/000024.o /tmp/go-link-3379817821/000025.o /tmp/go-link-3379817821/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-3379817821/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+0x37c): 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+0x398): 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+0xbb4): 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+0xbc8): undefined reference to `clang::SourceManager::getExpansionLineNumber(clang::SourceLocation, bool*) const' /usr/bin/ld: /tmp/go-link-3379817821/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+0x125c): undefined reference to `clang::SourceManager::getExpansionLineNumber(clang::SourceLocation, bool*) const' /usr/bin/ld: /tmp/go-link-3379817821/000008.o: in function `clang::NestedNameSpecifierLoc::getBeginLoc() const': /usr/lib/llvm-21/include/clang/AST/NestedNameSpecifier.h:307:(.text+0x1688): undefined reference to `clang::NestedNameSpecifierLoc::getLocalSourceRange() const' /usr/bin/ld: /tmp/go-link-3379817821/000008.o: in function `Indexer::VisitTagType(clang::TagType const*)': /syzkaller/gopath/src/github.com/google/syzkaller/tools/clang/codesearch/codesearch.cpp:267:(.text+0x16cc): undefined reference to `clang::Type::getAsTagDecl() const' /usr/bin/ld: /tmp/go-link-3379817821/000008.o: in function `Indexer::VisitMemberExpr(clang::MemberExpr const*)': /syzkaller/gopath/src/github.com/google/syzkaller/tools/clang/codesearch/codesearch.cpp:292:(.text+0x1828): undefined reference to `clang::Type::getAsRecordDecl() const' /usr/bin/ld: /syzkaller/gopath/src/github.com/google/syzkaller/tools/clang/codesearch/codesearch.cpp:294:(.text+0x1888): undefined reference to `clang::Type::getAsRecordDecl() const' /usr/bin/ld: /tmp/go-link-3379817821/000008.o: in function `clang::RecursiveASTVisitor::TraverseSubstTemplateTypeParmPackType(clang::SubstTemplateTypeParmPackType*)': /usr/lib/llvm-21/include/clang/AST/RecursiveASTVisitor.h:1131:(.text._ZN5clang19RecursiveASTVisitorI7IndexerE12TraverseTypeENS_8QualTypeE[_ZN5clang19RecursiveASTVisitorI7IndexerE12TraverseTypeENS_8QualTypeE]+0x3cc): undefined reference to `clang::SubstTemplateTypeParmPackType::getArgumentPack() const' /usr/bin/ld: /tmp/go-link-3379817821/000008.o: in function `clang::RecursiveASTVisitor::TraverseNestedNameSpecifier(clang::NestedNameSpecifier*)': /usr/lib/llvm-21/include/clang/AST/RecursiveASTVisitor.h:789:(.text._ZN5clang19RecursiveASTVisitorI7IndexerE27TraverseNestedNameSpecifierEPNS_19NestedNameSpecifierE[_ZN5clang19RecursiveASTVisitorI7IndexerE27TraverseNestedNameSpecifierEPNS_19NestedNameSpecifierE]+0x38): undefined reference to `clang::NestedNameSpecifier::getKind() const' /usr/bin/ld: /tmp/go-link-3379817821/000008.o: in function `clang::RecursiveASTVisitor::TraverseSubstTemplateTypeParmPackTypeLoc(clang::SubstTemplateTypeParmPackTypeLoc)': /usr/lib/llvm-21/include/clang/AST/RecursiveASTVisitor.h:1437:(.text._ZN5clang19RecursiveASTVisitorI7IndexerE15TraverseTypeLocENS_7TypeLocE[_ZN5clang19RecursiveASTVisitorI7IndexerE15TraverseTypeLocENS_7TypeLocE]+0x370): undefined reference to `clang::SubstTemplateTypeParmPackType::getArgumentPack() const' /usr/bin/ld: /tmp/go-link-3379817821/000008.o: in function `clang::RecursiveASTVisitor::TraverseNestedNameSpecifierLoc(clang::NestedNameSpecifierLoc)': /usr/lib/llvm-21/include/clang/AST/RecursiveASTVisitor.h:813:(.text._ZN5clang19RecursiveASTVisitorI7IndexerE30TraverseNestedNameSpecifierLocENS_22NestedNameSpecifierLocE[_ZN5clang19RecursiveASTVisitorI7IndexerE30TraverseNestedNameSpecifierLocENS_22NestedNameSpecifierLocE]+0x44): 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]+0x70): undefined reference to `clang::NestedNameSpecifierLoc::getTypeLoc() const' collect2: error: ld returned 1 exit status 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] ok github.com/google/syzkaller/pkg/aflow/tool/codesearcher (cached) 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 (cached) ? 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 (cached) 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 (cached) ? github.com/google/syzkaller/pkg/clangtool [no test files] ? github.com/google/syzkaller/pkg/clangtool/tooltest [no test files] ok github.com/google/syzkaller/pkg/codesearch (cached) ok github.com/google/syzkaller/pkg/compiler (cached) 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 (cached) ok github.com/google/syzkaller/pkg/coveragedb (cached) ? github.com/google/syzkaller/pkg/coveragedb/mocks [no test files] ? github.com/google/syzkaller/pkg/coveragedb/spannerclient [no test files] ok github.com/google/syzkaller/pkg/covermerger (cached) ? github.com/google/syzkaller/pkg/covermerger/mocks [no test files] ok github.com/google/syzkaller/pkg/csource (cached) 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/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 (cached) ? 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 (cached) ok github.com/google/syzkaller/pkg/manager (cached) ok github.com/google/syzkaller/pkg/manager/diff (cached) ok github.com/google/syzkaller/pkg/mgrconfig (cached) ok github.com/google/syzkaller/pkg/osutil (cached) ok github.com/google/syzkaller/pkg/report (cached) 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 (cached) ok github.com/google/syzkaller/pkg/serializer (cached) ok github.com/google/syzkaller/pkg/signal (cached) 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 (cached) ? 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 (cached) 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 (cached) 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 (cached) 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 (cached) ok github.com/google/syzkaller/syz-cluster/pkg/report (cached) 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 (cached) ? 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