https://bugs.kde.org/show_bug.cgi?id=485968
Bug ID: 485968 Summary: Clazy doesn't build against Clang 18+ Classification: Developer tools Product: clazy Version: unspecified Platform: Ubuntu OS: Linux Status: REPORTED Severity: major Priority: NOR Component: general Assignee: unassigned-b...@kde.org Reporter: t...@ngus.net CC: smart...@kde.org Target Milestone: --- SUMMARY Attempts to build Clazy against Clang 18 and later fail. STEPS TO REPRODUCE 1. Install Clang 18. 2. Checkout Clazy master branch. 3. Build Clazy OBSERVED RESULT ... [120/120] Linking CXX executable bin/clazy-standalone FAILED: bin/clazy-standalone : && /usr/bin/c++ -fno-common -Woverloaded-virtual -Wcast-qual -fno-strict-aliasing -pedantic -Wno-long-long -Wall -W -Wno-unused-parameter -Wwrite-strings -fno-exceptions -fno-rtti -fPIC -O3 -DNDEBUG CMakeFiles/clazy-standalone.dir/src/ClazyStandaloneMain.cpp.o -o bin/clazy-standalone -L/usr/lib/llvm-18/lib -Wl,-rpath,/usr/lib/llvm-18/lib:/home/runner/work/graphia/graphia/clazy/lib: lib/ClazyPlugin.so /usr/lib/llvm-18/lib/libclangFrontend.a /usr/lib/llvm-18/lib/libclangDriver.a /usr/lib/llvm-18/lib/libclangCodeGen.a /usr/lib/llvm-18/lib/libclangSema.a /usr/lib/llvm-18/lib/libclangAnalysis.a /usr/lib/llvm-18/lib/libclangRewriteFrontend.a /usr/lib/llvm-18/lib/libclangRewrite.a /usr/lib/llvm-18/lib/libclangAST.a /usr/lib/llvm-18/lib/libclangASTMatchers.a /usr/lib/llvm-18/lib/libclangParse.a /usr/lib/llvm-18/lib/libclangLex.a /usr/lib/llvm-18/lib/libclangBasic.a /usr/lib/llvm-18/lib/libclangARCMigrate.a /usr/lib/llvm-18/lib/libclangEdit.a /usr/lib/llvm-18/lib/libclangFrontendTool.a /usr/lib/llv /usr/bin/ld: lib/ClazyPlugin.so: undefined reference to `clang::api_notes::APINotesManager::~APINotesManager()' /usr/bin/ld: lib/ClazyPlugin.so: undefined reference to `clang::api_notes::APINotesManager::loadCurrentModuleAPINotes(clang::Module*, bool, llvm::ArrayRef<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >)' /usr/bin/ld: lib/ClazyPlugin.so: undefined reference to `clang::api_notes::APINotesManager::APINotesManager(clang::SourceManager&, clang::LangOptions const&)' collect2: error: ld returned 1 exit status EXPECTED RESULT Successful build. SOFTWARE/OS VERSIONS Ubuntu 20.04 LTS Clang 18 installed via https://apt.llvm.org/ -- You are receiving this mail because: You are watching all bug changes.