https://bugs.kde.org/show_bug.cgi?id=444469
Bug ID: 444469 Summary: clazy missing link to libstdc++fs Product: clazy Version: unspecified Platform: Other OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: general Assignee: unassigned-b...@kde.org Reporter: hamish-...@risingsoftware.com CC: smart...@kde.org Target Milestone: --- SUMMARY clazy 1.10 fails to build on Debian 10 because it needs to link against libstdc++fs. STEPS TO REPRODUCE 1. Install llvm-11, llvm-11-dev, libclang-11-dev, libclang-cpp11-dev from buster backports 2. Configure with PATH=/usr/lib/llvm-11/bin:$PATH cmake .. 3. make OBSERVED RESULT clazy-standalone fails to link with the error: /usr/bin/ld: lib/ClazyPlugin.so: undefined reference to `std::filesystem::__cxx11::path::_M_find_extension() const' /usr/bin/ld: lib/ClazyPlugin.so: undefined reference to `std::filesystem::__cxx11::path::_M_split_cmpts()' Adding stdc++fs to the link libraries in CMakeLists.txt fixes it. libstdc++ is from gcc 8. It works on Debian 11 (bullseye) which has libstdc++ from gcc 10. -- You are receiving this mail because: You are watching all bug changes.