=> Bootstrap dependency digest>=20211023: found digest-20220214 ===> Skipping vulnerability checks. WARNING: No /usr/pkg/pkgdb/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /usr/pkg/pkgdb fetch-pkg-vulnerabilities'. ===> Building for ccls-0.20240202 [ 2%] Building CXX object CMakeFiles/ccls.dir/src/main.cc.o [ 4%] Building CXX object CMakeFiles/ccls.dir/src/config.cc.o [ 11%] Building CXX object CMakeFiles/ccls.dir/src/clang_tu.cc.o [ 11%] Building CXX object CMakeFiles/ccls.dir/third_party/siphash.cc.o [ 11%] Building CXX object CMakeFiles/ccls.dir/src/filesystem.cc.o [ 13%] Building CXX object CMakeFiles/ccls.dir/src/indexer.cc.o [ 16%] Building CXX object CMakeFiles/ccls.dir/src/include_complete.cc.o [ 18%] Building CXX object CMakeFiles/ccls.dir/src/fuzzy_match.cc.o [ 20%] Building CXX object CMakeFiles/ccls.dir/src/log.cc.o [ 23%] Building CXX object CMakeFiles/ccls.dir/src/lsp.cc.o [ 25%] Building CXX object CMakeFiles/ccls.dir/src/message_handler.cc.o [ 27%] Building CXX object CMakeFiles/ccls.dir/src/pipeline.cc.o [ 30%] Building CXX object CMakeFiles/ccls.dir/src/platform_posix.cc.o [ 32%] Building CXX object CMakeFiles/ccls.dir/src/platform_win.cc.o /pbulk/work/devel/ccls/work/ccls-0.20240202/src/include_complete.cc:117:37: warning: 'endswith' is deprecated: Use ends_with instead [-Wdeprecated-declarations] 117 | if (StringRef(path).endswith(suffix)) | ^~~~~~~~ | ends_with /pbulk/work/devel/ccls/work/.buildlink/include/llvm/ADT/StringRef.h:276:19: note: 'endswith' has been explicitly marked deprecated here 276 | [[nodiscard]] LLVM_DEPRECATED( | ^ /pbulk/work/devel/ccls/work/.buildlink/include/llvm/Support/Compiler.h:155:50: note: expanded from macro 'LLVM_DEPRECATED' 155 | #define LLVM_DEPRECATED(MSG, FIX) __attribute__((deprecated(MSG, FIX))) | ^ /pbulk/work/devel/ccls/work/ccls-0.20240202/src/include_complete.cc:158:25: warning: 'endswith' is deprecated: Use ends_with instead [-Wdeprecated-declarations] 158 | if (StringRef(path).endswith(suffix)) | ^~~~~~~~ | ends_with /pbulk/work/devel/ccls/work/.buildlink/include/llvm/ADT/StringRef.h:276:19: note: 'endswith' has been explicitly marked deprecated here 276 | [[nodiscard]] LLVM_DEPRECATED( | ^ /pbulk/work/devel/ccls/work/.buildlink/include/llvm/Support/Compiler.h:155:50: note: expanded from macro 'LLVM_DEPRECATED' [ 34%] Building CXX object CMakeFiles/ccls.dir/src/position.cc.o 155 | #define LLVM_DEPRECATED(MSG, FIX) __attribute__((deprecated(MSG, FIX))) | ^ [ 37%] Building CXX object CMakeFiles/ccls.dir/src/project.cc.o [ 39%] Building CXX object CMakeFiles/ccls.dir/src/query.cc.o 2 warnings generated. [ 41%] Building CXX object CMakeFiles/ccls.dir/src/sema_manager.cc.o [ 44%] Building CXX object CMakeFiles/ccls.dir/src/serializer.cc.o /pbulk/work/devel/ccls/work/ccls-0.20240202/src/query.cc:521:45: warning: 'startswith' is deprecated: Use starts_with instead [-Wdeprecated-declarations] 521 | if (llvm::StringRef(file.def->path).startswith(folder)) { | ^~~~~~~~~~ | starts_with /pbulk/work/devel/ccls/work/.buildlink/include/llvm/ADT/StringRef.h:261:19: note: 'startswith' has been explicitly marked deprecated here 261 | [[nodiscard]] LLVM_DEPRECATED( | ^ /pbulk/work/devel/ccls/work/.buildlink/include/llvm/Support/Compiler.h:155:50: note: expanded from macro 'LLVM_DEPRECATED' 155 | #define LLVM_DEPRECATED(MSG, FIX) __attribute__((deprecated(MSG, FIX))) | ^ [ 46%] Building CXX object CMakeFiles/ccls.dir/src/test.cc.o /pbulk/work/devel/ccls/work/ccls-0.20240202/src/clang_tu.cc:32:12: warning: 'getName' is deprecated: Use FileEntryRef::getName() instead. [-Wdeprecated-declarations] 32 | if (file.getName().startswith("/../")) { | ^ /pbulk/work/devel/ccls/work/.buildlink/include/clang/Basic/FileEntry.h:331:3: note: 'getName' has been explicitly marked deprecated here 331 | LLVM_DEPRECATED("Use FileEntryRef::getName() instead.", "") | ^ /pbulk/work/devel/ccls/work/.buildlink/include/llvm/Support/Compiler.h:155:50: note: expanded from macro 'LLVM_DEPRECATED' 155 | #define LLVM_DEPRECATED(MSG, FIX) __attribute__((deprecated(MSG, FIX))) | ^ /pbulk/work/devel/ccls/work/ccls-0.20240202/src/clang_tu.cc:32:22: warning: 'startswith' is deprecated: Use starts_with instead [-Wdeprecated-declarations] 32 | if (file.getName().startswith("/../")) { | ^~~~~~~~~~ | starts_with /pbulk/work/devel/ccls/work/.buildlink/include/llvm/ADT/StringRef.h:261:19: note: 'startswith' has been explicitly marked deprecated here 261 | [[nodiscard]] LLVM_DEPRECATED( | ^ /pbulk/work/devel/ccls/work/.buildlink/include/llvm/Support/Compiler.h:155:50: note: expanded from macro 'LLVM_DEPRECATED' 155 | #define LLVM_DEPRECATED(MSG, FIX) __attribute__((deprecated(MSG, FIX))) | ^ /pbulk/work/devel/ccls/work/ccls-0.20240202/src/clang_tu.cc:44:30: warning: 'getName' is deprecated: Use FileEntryRef::getName() instead. [-Wdeprecated-declarations] 44 | ret = normalizePath(file.getName()); | ^ /pbulk/work/devel/ccls/work/.buildlink/include/clang/Basic/FileEntry.h:331:3: note: 'getName' has been explicitly marked deprecated here 331 | LLVM_DEPRECATED("Use FileEntryRef::getName() instead.", "") | ^ /pbulk/work/devel/ccls/work/.buildlink/include/llvm/Support/Compiler.h:155:50: note: expanded from macro 'LLVM_DEPRECATED' 155 | #define LLVM_DEPRECATED(MSG, FIX) __attribute__((deprecated(MSG, FIX))) | ^ /pbulk/work/devel/ccls/work/ccls-0.20240202/src/indexer.cc:477:24: warning: 'endswith' is deprecated: Use ends_with instead [-Wdeprecated-declarations] 477 | if (StringRef(ret).endswith("*/") || StringRef(ret).endswith("\n/")) | ^~~~~~~~ | ends_with /pbulk/work/devel/ccls/work/.buildlink/include/llvm/ADT/StringRef.h:276:19: note: 'endswith' has been explicitly marked deprecated here 276 | [[nodiscard]] LLVM_DEPRECATED( | ^ /pbulk/work/devel/ccls/work/.buildlink/include/llvm/Support/Compiler.h:155:50: note: expanded from macro 'LLVM_DEPRECATED' 155 | #define LLVM_DEPRECATED(MSG, FIX) __attribute__((deprecated(MSG, FIX))) | ^ /pbulk/work/devel/ccls/work/ccls-0.20240202/src/indexer.cc:477:57: warning: 'endswith' is deprecated: Use ends_with instead [-Wdeprecated-declarations] 477 | if (StringRef(ret).endswith("*/") || StringRef(ret).endswith("\n/")) | ^~~~~~~~ | ends_with /pbulk/work/devel/ccls/work/.buildlink/include/llvm/ADT/StringRef.h:276:19: note: 'endswith' has been explicitly marked deprecated here 276 | [[nodiscard]] LLVM_DEPRECATED( | ^ /pbulk/work/devel/ccls/work/.buildlink/include/llvm/Support/Compiler.h:155:50: note: expanded from macro 'LLVM_DEPRECATED' 155 | #define LLVM_DEPRECATED(MSG, FIX) __attribute__((deprecated(MSG, FIX))) | ^ [ 48%] Building CXX object CMakeFiles/ccls.dir/src/utils.cc.o 3 warnings generated. /pbulk/work/devel/ccls/work/ccls-0.20240202/src/pipeline.cc:159:24: warning: 'startswith' is deprecated: Use starts_with instead [-Wdeprecated-declarations] 159 | if (StringRef(src).startswith(root)) { | ^~~~~~~~~~ | starts_with /pbulk/work/devel/ccls/work/.buildlink/include/llvm/ADT/StringRef.h:261:19: note: 'startswith' has been explicitly marked deprecated here 261 | [[nodiscard]] LLVM_DEPRECATED( | ^ /pbulk/work/devel/ccls/work/.buildlink/include/llvm/Support/Compiler.h:155:50: note: expanded from macro 'LLVM_DEPRECATED' 155 | #define LLVM_DEPRECATED(MSG, FIX) __attribute__((deprecated(MSG, FIX))) | ^ [ 51%] Building CXX object CMakeFiles/ccls.dir/src/working_files.cc.o 1 warning generated. [ 53%] Building CXX object CMakeFiles/ccls.dir/src/messages/ccls_call.cc.o /pbulk/work/devel/ccls/work/ccls-0.20240202/src/project.cc:88:13: warning: 'startswith' is deprecated: Use starts_with instead [-Wdeprecated-declarations] 88 | if (arg.startswith("-M")) { | ^~~~~~~~~~ | starts_with /pbulk/work/devel/ccls/work/.buildlink/include/llvm/ADT/StringRef.h:261:19: note: 'startswith' has been explicitly marked deprecated here 261 | [[nodiscard]] LLVM_DEPRECATED( | ^ /pbulk/work/devel/ccls/work/.buildlink/include/llvm/Support/Compiler.h:155:50: note: expanded from macro 'LLVM_DEPRECATED' 155 | #define LLVM_DEPRECATED(MSG, FIX) __attribute__((deprecated(MSG, FIX))) | ^ /pbulk/work/devel/ccls/work/ccls-0.20240202/src/project.cc:501:25: warning: 'startswith' is deprecated: Use starts_with instead [-Wdeprecated-declarations] 501 | if (StringRef(path).startswith(root)) { | ^~~~~~~~~~ | starts_with /pbulk/work/devel/ccls/work/.buildlink/include/llvm/ADT/StringRef.h:261:19: note: 'startswith' has been explicitly marked deprecated here 261 | [[nodiscard]] LLVM_DEPRECATED( | ^ /pbulk/work/devel/ccls/work/.buildlink/include/llvm/Support/Compiler.h:155:50: note: expanded from macro 'LLVM_DEPRECATED' 155 | #define LLVM_DEPRECATED(MSG, FIX) __attribute__((deprecated(MSG, FIX))) | ^ /pbulk/work/devel/ccls/work/ccls-0.20240202/src/project.cc:504:29: warning: 'startswith' is deprecated: Use starts_with instead [-Wdeprecated-declarations] 504 | if (StringRef(path).startswith(dir) && | ^~~~~~~~~~ | starts_with /pbulk/work/devel/ccls/work/.buildlink/include/llvm/ADT/StringRef.h:261:19: note: 'startswith' has been explicitly marked deprecated here 261 | [[nodiscard]] LLVM_DEPRECATED( | ^ /pbulk/work/devel/ccls/work/.buildlink/include/llvm/Support/Compiler.h:155:50: note: expanded from macro 'LLVM_DEPRECATED' 155 | #define LLVM_DEPRECATED(MSG, FIX) __attribute__((deprecated(MSG, FIX))) | ^ /pbulk/work/devel/ccls/work/ccls-0.20240202/src/project.cc:550:29: warning: 'startswith' is deprecated: Use starts_with instead [-Wdeprecated-declarations] 550 | if (StringRef(path).startswith(root)) | ^~~~~~~~~~ | starts_with /pbulk/work/devel/ccls/work/.buildlink/include/llvm/ADT/StringRef.h:261:19: note: 'startswith' has been explicitly marked deprecated here 261 | [[nodiscard]] LLVM_DEPRECATED( | ^ /pbulk/work/devel/ccls/work/.buildlink/include/llvm/Support/Compiler.h:155:50: note: expanded from macro 'LLVM_DEPRECATED' 155 | #define LLVM_DEPRECATED(MSG, FIX) __attribute__((deprecated(MSG, FIX))) | ^ /pbulk/work/devel/ccls/work/ccls-0.20240202/src/project.cc:644:25: warning: 'startswith' is deprecated: Use starts_with instead [-Wdeprecated-declarations] 644 | if (StringRef(path).startswith(root)) { | ^~~~~~~~~~ | starts_with /pbulk/work/devel/ccls/work/.buildlink/include/llvm/ADT/StringRef.h:261:19: note: 'startswith' has been explicitly marked deprecated here 261 | [[nodiscard]] LLVM_DEPRECATED( | ^ /pbulk/work/devel/ccls/work/.buildlink/include/llvm/Support/Compiler.h:155:50: note: expanded from macro 'LLVM_DEPRECATED' 155 | #define LLVM_DEPRECATED(MSG, FIX) __attribute__((deprecated(MSG, FIX))) | ^ /pbulk/work/devel/ccls/work/ccls-0.20240202/src/utils.cc:143:11: warning: 'startswith' is deprecated: Use starts_with instead [-Wdeprecated-declarations] 143 | if (p.startswith(root)) | ^~~~~~~~~~ | starts_with /pbulk/work/devel/ccls/work/.buildlink/include/llvm/ADT/StringRef.h:261:19: note: 'startswith' has been explicitly marked deprecated here 261 | [[nodiscard]] LLVM_DEPRECATED( | ^ /pbulk/work/devel/ccls/work/.buildlink/include/llvm/Support/Compiler.h:155:50: note: expanded from macro 'LLVM_DEPRECATED' 155 | #define LLVM_DEPRECATED(MSG, FIX) __attribute__((deprecated(MSG, FIX))) | ^ /pbulk/work/devel/ccls/work/ccls-0.20240202/src/utils.cc:145:11: warning: 'startswith' is deprecated: Use starts_with instead [-Wdeprecated-declarations] 145 | if (p.startswith(real)) { | ^~~~~~~~~~ | starts_with /pbulk/work/devel/ccls/work/.buildlink/include/llvm/ADT/StringRef.h:261:19: note: 'startswith' has been explicitly marked deprecated here 261 | [[nodiscard]] LLVM_DEPRECATED( | ^ /pbulk/work/devel/ccls/work/.buildlink/include/llvm/Support/Compiler.h:155:50: note: expanded from macro 'LLVM_DEPRECATED' 155 | #define LLVM_DEPRECATED(MSG, FIX) __attribute__((deprecated(MSG, FIX))) | ^ [ 55%] Building CXX object CMakeFiles/ccls.dir/src/messages/ccls_info.cc.o [ 58%] Building CXX object CMakeFiles/ccls.dir/src/messages/ccls_inheritance.cc.o [ 60%] Building CXX object CMakeFiles/ccls.dir/src/messages/ccls_member.cc.o /pbulk/work/devel/ccls/work/ccls-0.20240202/src/test.cc:111:16: warning: 'startswith' is deprecated: Use starts_with instead [-Wdeprecated-declarations] 111 | if (line.startswith("EXTRA_FLAGS:")) { | ^~~~~~~~~~ | starts_with /pbulk/work/devel/ccls/work/.buildlink/include/llvm/ADT/StringRef.h:261:19: note: 'startswith' has been explicitly marked deprecated here 261 | [[nodiscard]] LLVM_DEPRECATED( | ^ /pbulk/work/devel/ccls/work/.buildlink/include/llvm/Support/Compiler.h:155:50: note: expanded from macro 'LLVM_DEPRECATED' 155 | #define LLVM_DEPRECATED(MSG, FIX) __attribute__((deprecated(MSG, FIX))) | ^ /pbulk/work/devel/ccls/work/ccls-0.20240202/src/test.cc:132:28: warning: 'startswith' is deprecated: Use starts_with instead [-Wdeprecated-declarations] 132 | if (line_with_ending.startswith("*/")) | ^~~~~~~~~~ | starts_with /pbulk/work/devel/ccls/work/.buildlink/include/llvm/ADT/StringRef.h:261:19: note: 'startswith' has been explicitly marked deprecated here 261 | [[nodiscard]] LLVM_DEPRECATED( | ^ /pbulk/work/devel/ccls/work/.buildlink/include/llvm/Support/Compiler.h:155:50: note: expanded from macro 'LLVM_DEPRECATED' 155 | #define LLVM_DEPRECATED(MSG, FIX) __attribute__((deprecated(MSG, FIX))) | ^ /pbulk/work/devel/ccls/work/ccls-0.20240202/src/test.cc:135:28: warning: 'startswith' is deprecated: Use starts_with instead [-Wdeprecated-declarations] 135 | if (line_with_ending.startswith("OUTPUT:")) { | ^~~~~~~~~~ | starts_with /pbulk/work/devel/ccls/work/.buildlink/include/llvm/ADT/StringRef.h:261:19: note: 'startswith' has been explicitly marked deprecated here 261 | [[nodiscard]] LLVM_DEPRECATED( | ^ /pbulk/work/devel/ccls/work/.buildlink/include/llvm/Support/Compiler.h:155:50: note: expanded from macro 'LLVM_DEPRECATED' 155 | #define LLVM_DEPRECATED(MSG, FIX) __attribute__((deprecated(MSG, FIX))) | ^ /pbulk/work/devel/ccls/work/ccls-0.20240202/src/test.cc:240:32: warning: 'endswith' is deprecated: Use ends_with instead [-Wdeprecated-declarations] 240 | if (StringRef(entry.first).endswith(filename)) | ^~~~~~~~ | ends_with /pbulk/work/devel/ccls/work/.buildlink/include/llvm/ADT/StringRef.h:276:19: note: 'endswith' has been explicitly marked deprecated here 276 | [[nodiscard]] LLVM_DEPRECATED( | ^ /pbulk/work/devel/ccls/work/.buildlink/include/llvm/Support/Compiler.h:155:50: note: expanded from macro 'LLVM_DEPRECATED' 155 | #define LLVM_DEPRECATED(MSG, FIX) __attribute__((deprecated(MSG, FIX))) | ^ /pbulk/work/devel/ccls/work/ccls-0.20240202/src/test.cc:254:29: warning: 'endswith' is deprecated: Use ends_with instead [-Wdeprecated-declarations] 254 | if (StringRef(db->path).endswith(path)) | ^~~~~~~~ | ends_with /pbulk/work/devel/ccls/work/.buildlink/include/llvm/ADT/StringRef.h:276:19: note: 'endswith' has been explicitly marked deprecated here 276 | [[nodiscard]] LLVM_DEPRECATED( | ^ /pbulk/work/devel/ccls/work/.buildlink/include/llvm/Support/Compiler.h:155:50: note: expanded from macro 'LLVM_DEPRECATED' 155 | #define LLVM_DEPRECATED(MSG, FIX) __attribute__((deprecated(MSG, FIX))) | ^ 5 warnings generated. 2 warnings generated. [ 62%] Building CXX object CMakeFiles/ccls.dir/src/messages/ccls_navigate.cc.o 2 warnings generated. [ 65%] Building CXX object CMakeFiles/ccls.dir/src/messages/ccls_reload.cc.o [ 67%] Building CXX object CMakeFiles/ccls.dir/src/messages/ccls_vars.cc.o 1 warning generated. [ 69%] Building CXX object CMakeFiles/ccls.dir/src/messages/initialize.cc.o [ 72%] Building CXX object CMakeFiles/ccls.dir/src/messages/textDocument_code.cc.o [ 74%] Building CXX object CMakeFiles/ccls.dir/src/messages/textDocument_completion.cc.o [ 76%] Building CXX object CMakeFiles/ccls.dir/src/messages/textDocument_definition.cc.o 5 warnings generated. [ 79%] Building CXX object CMakeFiles/ccls.dir/src/messages/textDocument_did.cc.o [ 81%] Building CXX object CMakeFiles/ccls.dir/src/messages/textDocument_foldingRange.cc.o [ 83%] Building CXX object CMakeFiles/ccls.dir/src/messages/textDocument_formatting.cc.o [ 86%] Building CXX object CMakeFiles/ccls.dir/src/messages/textDocument_document.cc.o [ 88%] Building CXX object CMakeFiles/ccls.dir/src/messages/textDocument_hover.cc.o [ 90%] Building CXX object CMakeFiles/ccls.dir/src/messages/textDocument_references.cc.o [ 93%] Building CXX object CMakeFiles/ccls.dir/src/messages/textDocument_rename.cc.o [ 95%] Building CXX object CMakeFiles/ccls.dir/src/messages/textDocument_signatureHelp.cc.o [ 97%] Building CXX object CMakeFiles/ccls.dir/src/messages/workspace.cc.o /pbulk/work/devel/ccls/work/ccls-0.20240202/src/messages/textDocument_completion.cc:342:33: warning: 'endswith' is deprecated: Use ends_with instead [-Wdeprecated-declarations] 342 | if (StringRef(chunk.Text).endswith("::")) | ^~~~~~~~ | ends_with /pbulk/work/devel/ccls/work/.buildlink/include/llvm/ADT/StringRef.h:276:19: note: 'endswith' has been explicitly marked deprecated here 276 | [[nodiscard]] LLVM_DEPRECATED( | ^ /pbulk/work/devel/ccls/work/.buildlink/include/llvm/Support/Compiler.h:155:50: note: expanded from macro 'LLVM_DEPRECATED' 155 | #define LLVM_DEPRECATED(MSG, FIX) __attribute__((deprecated(MSG, FIX))) | ^ /pbulk/work/devel/ccls/work/ccls-0.20240202/src/messages/textDocument_completion.cc:516:63: warning: 'startswith' is deprecated: Use starts_with instead [-Wdeprecated-declarations] 516 | ccOpts.IncludeCodePatterns = StringRef(buffer_line).ltrim().startswith("#"); | ^~~~~~~~~~ | starts_with /pbulk/work/devel/ccls/work/.buildlink/include/llvm/ADT/StringRef.h:261:19: note: 'startswith' has been explicitly marked deprecated here 261 | [[nodiscard]] LLVM_DEPRECATED( | ^ /pbulk/work/devel/ccls/work/.buildlink/include/llvm/Support/Compiler.h:155:50: note: expanded from macro 'LLVM_DEPRECATED' 155 | #define LLVM_DEPRECATED(MSG, FIX) __attribute__((deprecated(MSG, FIX))) | ^ 2 warnings generated. /pbulk/work/devel/ccls/work/ccls-0.20240202/src/messages/workspace.cc:38:26: warning: 'startswith' is deprecated: Use starts_with instead [-Wdeprecated-declarations] 38 | StringRef(path).startswith(g_config->cache.directory)) || | ^~~~~~~~~~ | starts_with /pbulk/work/devel/ccls/work/.buildlink/include/llvm/ADT/StringRef.h:261:19: note: 'startswith' has been explicitly marked deprecated here 261 | [[nodiscard]] LLVM_DEPRECATED( | ^ /pbulk/work/devel/ccls/work/.buildlink/include/llvm/Support/Compiler.h:155:50: note: expanded from macro 'LLVM_DEPRECATED' 155 | #define LLVM_DEPRECATED(MSG, FIX) __attribute__((deprecated(MSG, FIX))) | ^ 1 warning generated. [100%] Linking CXX executable ccls /usr/bin/ld: CMakeFiles/ccls.dir/src/pipeline.cc.o: in function `ccls::pipeline::(anonymous namespace)::indexer_Parse(ccls::SemaManager*, ccls::WorkingFiles*, ccls::Project*, ccls::VFS*, ccls::GroupMatch const&)': pipeline.cc:(.text+0x2002): undefined reference to `__atomic_load_8' /usr/bin/ld: pipeline.cc:(.text+0x4999): undefined reference to `__atomic_fetch_add_8' /usr/bin/ld: pipeline.cc:(.text+0x53a0): undefined reference to `__atomic_fetch_add_8' /usr/bin/ld: CMakeFiles/ccls.dir/src/pipeline.cc.o: in function `ccls::pipeline::mainLoop()': pipeline.cc:(.text+0x64d2): undefined reference to `__atomic_load_8' /usr/bin/ld: pipeline.cc:(.text+0x65b9): undefined reference to `__atomic_load_8' /usr/bin/ld: pipeline.cc:(.text+0x678f): undefined reference to `__atomic_load_8' /usr/bin/ld: pipeline.cc:(.text+0x6911): undefined reference to `__atomic_store_8' /usr/bin/ld: CMakeFiles/ccls.dir/src/pipeline.cc.o: in function `ccls::pipeline::standalone(std::__cxx11::basic_string, std::allocator > const&)': pipeline.cc:(.text+0x77bb): undefined reference to `__atomic_load_8' /usr/bin/ld: pipeline.cc:(.text+0x77cf): undefined reference to `__atomic_load_8' /usr/bin/ld: CMakeFiles/ccls.dir/src/pipeline.cc.o: in function `ccls::pipeline::index(std::__cxx11::basic_string, std::allocator > const&, std::vector > const&, ccls::IndexMode, bool, ccls::RequestId)': pipeline.cc:(.text+0x7b2c): undefined reference to `__atomic_fetch_add_8' /usr/bin/ld: CMakeFiles/ccls.dir/src/pipeline.cc.o: in function `ccls::pipeline::notifyOrRequest(char const*, bool, std::function const&)': pipeline.cc:(.text+0x9673): undefined reference to `__atomic_fetch_add_8' /usr/bin/ld: CMakeFiles/ccls.dir/src/project.cc.o: in function `ccls::Project::index(ccls::WorkingFiles*, ccls::RequestId const&)': project.cc:(.text+0x5666): undefined reference to `__atomic_store_8' /usr/bin/ld: CMakeFiles/ccls.dir/src/messages/ccls_info.cc.o: in function `ccls::MessageHandler::ccls_info(ccls::EmptyParam&, ccls::ReplyOnce&)': ccls_info.cc:(.text+0x5a): undefined reference to `__atomic_load_8' /usr/bin/ld: ccls_info.cc:(.text+0x70): undefined reference to `__atomic_load_8' /usr/bin/ld: ccls_info.cc:(.text+0x86): undefined reference to `__atomic_load_8' /usr/bin/ld: CMakeFiles/ccls.dir/src/messages/textDocument_did.cc.o: in function `ccls::MessageHandler::textDocument_didOpen(ccls::DidOpenTextDocumentParam&)': textDocument_did.cc:(.text+0x317): undefined reference to `__atomic_load_8' /usr/bin/ld: textDocument_did.cc:(.text+0x32d): undefined reference to `__atomic_load_8' clang++: error: linker command failed with exit code 1 (use -v to see invocation) --- ccls --- *** [ccls] Error code 1 make[2]: stopped in /pbulk/work/devel/ccls/work/ccls-0.20240202/cmake-pkgsrc-build 1 error make[2]: stopped in /pbulk/work/devel/ccls/work/ccls-0.20240202/cmake-pkgsrc-build --- CMakeFiles/ccls.dir/all --- *** [CMakeFiles/ccls.dir/all] Error code 2 make[1]: stopped in /pbulk/work/devel/ccls/work/ccls-0.20240202/cmake-pkgsrc-build 1 error make[1]: stopped in /pbulk/work/devel/ccls/work/ccls-0.20240202/cmake-pkgsrc-build *** [all] Error code 2 make: stopped in /pbulk/work/devel/ccls/work/ccls-0.20240202/cmake-pkgsrc-build 1 error make: stopped in /pbulk/work/devel/ccls/work/ccls-0.20240202/cmake-pkgsrc-build *** Error code 2 Stop. make[1]: stopped in /usr/pkgsrc/devel/ccls *** Error code 1 Stop. make: stopped in /usr/pkgsrc/devel/ccls