[clazy] [Bug 444469] New: clazy missing link to libstdc++fs
    Hamish Moffatt 
    bugzilla_noreply at kde.org
       
    Wed Oct 27 06:02:42 BST 2021
    
    
  
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-bugs at kde.org
          Reporter: hamish-kde at risingsoftware.com
                CC: smartins at 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 the assignee for the bug.
    
    
More information about the Unassigned-bugs
mailing list