? 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 3.043s 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/common.test /usr/local/go/pkg/tool/linux_arm64/link: running g++ failed: exit status 1 /usr/bin/g++ -s -Wl,--build-id=0x95847dd230727846ebfa5903c4f8e254189e6319 -o $WORK/b1002/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-886856158/go.o /tmp/go-link-886856158/000000.o /tmp/go-link-886856158/000001.o /tmp/go-link-886856158/000002.o /tmp/go-link-886856158/000003.o /tmp/go-link-886856158/000004.o /tmp/go-link-886856158/000005.o /tmp/go-link-886856158/000006.o /tmp/go-link-886856158/000007.o /tmp/go-link-886856158/000008.o /tmp/go-link-886856158/000009.o /tmp/go-link-886856158/000010.o /tmp/go-link-886856158/000011.o /tmp/go-link-886856158/000012.o /tmp/go-link-886856158/000013.o /tmp/go-link-886856158/000014.o /tmp/go-link-886856158/000015.o /tmp/go-link-886856158/000016.o /tmp/go-link-886856158/000017.o /tmp/go-link-886856158/000018.o /tmp/go-link-886856158/000019.o /tmp/go-link-886856158/000020.o /tmp/go-link-886856158/000021.o /tmp/go-link-886856158/000022.o /tmp/go-link-886856158/000023.o /tmp/go-link-886856158/000024.o /tmp/go-link-886856158/000025.o /tmp/go-link-886856158/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-886856158/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-886856158/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-886856158/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-886856158/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-886856158/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-886856158/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-886856158/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-886856158/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-886856158/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 # 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=0x48835bbc80cd4de08b4573f69189228c1c70dd2a -o $WORK/b1623/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-391108574/go.o /tmp/go-link-391108574/000000.o /tmp/go-link-391108574/000001.o /tmp/go-link-391108574/000002.o /tmp/go-link-391108574/000003.o /tmp/go-link-391108574/000004.o /tmp/go-link-391108574/000005.o /tmp/go-link-391108574/000006.o /tmp/go-link-391108574/000007.o /tmp/go-link-391108574/000008.o /tmp/go-link-391108574/000009.o /tmp/go-link-391108574/000010.o /tmp/go-link-391108574/000011.o /tmp/go-link-391108574/000012.o /tmp/go-link-391108574/000013.o /tmp/go-link-391108574/000014.o /tmp/go-link-391108574/000015.o /tmp/go-link-391108574/000016.o /tmp/go-link-391108574/000017.o /tmp/go-link-391108574/000018.o /tmp/go-link-391108574/000019.o /tmp/go-link-391108574/000020.o /tmp/go-link-391108574/000021.o /tmp/go-link-391108574/000022.o /tmp/go-link-391108574/000023.o /tmp/go-link-391108574/000024.o /tmp/go-link-391108574/000025.o /tmp/go-link-391108574/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-391108574/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-391108574/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-391108574/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-391108574/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-391108574/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-391108574/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-391108574/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-391108574/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-391108574/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-391108574/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-391108574/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-391108574/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-391108574/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-391108574/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-391108574/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-391108574/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-391108574/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-391108574/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-391108574/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-391108574/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/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=0x2f4ed6408e69a70db48b8b51993a27a3c6d797d1 -o $WORK/b1004/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-44833586/go.o /tmp/go-link-44833586/000000.o /tmp/go-link-44833586/000001.o /tmp/go-link-44833586/000002.o /tmp/go-link-44833586/000003.o /tmp/go-link-44833586/000004.o /tmp/go-link-44833586/000005.o /tmp/go-link-44833586/000006.o /tmp/go-link-44833586/000007.o /tmp/go-link-44833586/000008.o /tmp/go-link-44833586/000009.o /tmp/go-link-44833586/000010.o /tmp/go-link-44833586/000011.o /tmp/go-link-44833586/000012.o /tmp/go-link-44833586/000013.o /tmp/go-link-44833586/000014.o /tmp/go-link-44833586/000015.o /tmp/go-link-44833586/000016.o /tmp/go-link-44833586/000017.o /tmp/go-link-44833586/000018.o /tmp/go-link-44833586/000019.o /tmp/go-link-44833586/000020.o /tmp/go-link-44833586/000021.o /tmp/go-link-44833586/000022.o /tmp/go-link-44833586/000023.o /tmp/go-link-44833586/000024.o /tmp/go-link-44833586/000025.o /tmp/go-link-44833586/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-44833586/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-44833586/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-44833586/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-44833586/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-44833586/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-44833586/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-44833586/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-44833586/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-44833586/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/reproc.test /usr/local/go/pkg/tool/linux_arm64/link: running g++ failed: exit status 1 /usr/bin/g++ -s -Wl,--build-id=0xaf90cc6f40396671132aa5d17a96961d34426193 -o $WORK/b1007/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-2791911195/go.o /tmp/go-link-2791911195/000000.o /tmp/go-link-2791911195/000001.o /tmp/go-link-2791911195/000002.o /tmp/go-link-2791911195/000003.o /tmp/go-link-2791911195/000004.o /tmp/go-link-2791911195/000005.o /tmp/go-link-2791911195/000006.o /tmp/go-link-2791911195/000007.o /tmp/go-link-2791911195/000008.o /tmp/go-link-2791911195/000009.o /tmp/go-link-2791911195/000010.o /tmp/go-link-2791911195/000011.o /tmp/go-link-2791911195/000012.o /tmp/go-link-2791911195/000013.o /tmp/go-link-2791911195/000014.o /tmp/go-link-2791911195/000015.o /tmp/go-link-2791911195/000016.o /tmp/go-link-2791911195/000017.o /tmp/go-link-2791911195/000018.o /tmp/go-link-2791911195/000019.o /tmp/go-link-2791911195/000020.o /tmp/go-link-2791911195/000021.o /tmp/go-link-2791911195/000022.o /tmp/go-link-2791911195/000023.o /tmp/go-link-2791911195/000024.o /tmp/go-link-2791911195/000025.o /tmp/go-link-2791911195/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-2791911195/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-2791911195/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-2791911195/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-2791911195/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-2791911195/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-2791911195/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-2791911195/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-2791911195/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-2791911195/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/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=0x147a771e16c05ce5ee70478fe21d4e4d45e23e5d -o $WORK/b1281/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-1825998920/go.o /tmp/go-link-1825998920/000000.o /tmp/go-link-1825998920/000001.o /tmp/go-link-1825998920/000002.o /tmp/go-link-1825998920/000003.o /tmp/go-link-1825998920/000004.o /tmp/go-link-1825998920/000005.o /tmp/go-link-1825998920/000006.o /tmp/go-link-1825998920/000007.o /tmp/go-link-1825998920/000008.o /tmp/go-link-1825998920/000009.o /tmp/go-link-1825998920/000010.o /tmp/go-link-1825998920/000011.o /tmp/go-link-1825998920/000012.o /tmp/go-link-1825998920/000013.o /tmp/go-link-1825998920/000014.o /tmp/go-link-1825998920/000015.o /tmp/go-link-1825998920/000016.o /tmp/go-link-1825998920/000017.o /tmp/go-link-1825998920/000018.o /tmp/go-link-1825998920/000019.o /tmp/go-link-1825998920/000020.o /tmp/go-link-1825998920/000021.o /tmp/go-link-1825998920/000022.o /tmp/go-link-1825998920/000023.o /tmp/go-link-1825998920/000024.o /tmp/go-link-1825998920/000025.o /tmp/go-link-1825998920/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-1825998920/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-1825998920/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-1825998920/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-1825998920/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-1825998920/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-1825998920/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-1825998920/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-1825998920/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-1825998920/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=0xa7fd1258bb174d9a285e97d6d85960f5148aa883 -o $WORK/b999/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-1810896566/go.o /tmp/go-link-1810896566/000000.o /tmp/go-link-1810896566/000001.o /tmp/go-link-1810896566/000002.o /tmp/go-link-1810896566/000003.o /tmp/go-link-1810896566/000004.o /tmp/go-link-1810896566/000005.o /tmp/go-link-1810896566/000006.o /tmp/go-link-1810896566/000007.o /tmp/go-link-1810896566/000008.o /tmp/go-link-1810896566/000009.o /tmp/go-link-1810896566/000010.o /tmp/go-link-1810896566/000011.o /tmp/go-link-1810896566/000012.o /tmp/go-link-1810896566/000013.o /tmp/go-link-1810896566/000014.o /tmp/go-link-1810896566/000015.o /tmp/go-link-1810896566/000016.o /tmp/go-link-1810896566/000017.o /tmp/go-link-1810896566/000018.o /tmp/go-link-1810896566/000019.o /tmp/go-link-1810896566/000020.o /tmp/go-link-1810896566/000021.o /tmp/go-link-1810896566/000022.o /tmp/go-link-1810896566/000023.o /tmp/go-link-1810896566/000024.o /tmp/go-link-1810896566/000025.o /tmp/go-link-1810896566/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-1810896566/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-1810896566/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-1810896566/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-1810896566/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-1810896566/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-1810896566/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-1810896566/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-1810896566/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-1810896566/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] 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/testutil [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/execbackend 6.502s ok github.com/google/syzkaller/pkg/flatrpc (cached) ok github.com/google/syzkaller/pkg/fuzzer 10.915s 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) ? 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 (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