We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
With -DBUILD_SHARED_LIBS=on:
... [3108/3491] Linking CXX shared library lib/libclangTidyHICPPModule.so.6.0.0svn FAILED: lib/libclangTidyHICPPModule.so.6.0.0svn : && /usr/bin/g++ -fPIC -fPIC -fvisibility-inlines-hidden -Werror=date-time -std=c++11 -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers - pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing - O3 -fdiagnostics-color=always -Wno-class-memaccess -Wno-implicit-fallthrough -march=native -pipe -Wl,-z,defs -Wl,-O3 -Wl,--gc-sections -shared -Wl,-soname,libclangTidyHICPPModu le.so.6 -o lib/libclangTidyHICPPModule.so.6.0.0svn tools/clang/tools/extra/clang-tidy/hicpp/CMakeFiles/clangTidyHICPPModule.dir/ExceptionBaseclassCheck.cpp.o tools/clang/tools/ext ra/clang-tidy/hicpp/CMakeFiles/clangTidyHICPPModule.dir/NoAssemblerCheck.cpp.o tools/clang/tools/extra/clang-tidy/hicpp/CMakeFiles/clangTidyHICPPModule.dir/HICPPTidyModule.cpp.o t ools/clang/tools/extra/clang-tidy/hicpp/CMakeFiles/clangTidyHICPPModule.dir/SignedBitwiseCheck.cpp.o -Wl,-rpath,"\$ORIGIN/../lib" lib/libclangAST.so.6.0.0svn lib/libclangASTMatch ers.so.6.0.0svn lib/libclangBasic.so.6.0.0svn lib/libclangLex.so.6.0.0svn lib/libclangTidy.so.6.0.0svn lib/libclangTidyCppCoreGuidelinesModule.so.6.0.0svn lib/libclangTidyGoogleMo dule.so.6.0.0svn lib/libclangTidyMiscModule.so.6.0.0svn lib/libclangTidyModernizeModule.so.6.0.0svn lib/libclangTidyReadabilityModule.so.6.0.0svn lib/libclangTidyUtils.so.6.0.0svn lib/libLLVMSupport.so.6.0.0svn && : tools/clang/tools/extra/clang-tidy/hicpp/CMakeFiles/clangTidyHICPPModule.dir/HICPPTidyModule.cpp.o:HICPPTidyModule.cpp:function std::_Function_handler<clang::tidy::ClangTidyCheck* (llvm::StringRef, clang::tidy::ClangTidyContext*), void clang::tidy::ClangTidyCheckFactories::registerCheck<clang::tidy::bugprone::UseAfterMoveCheck>(llvm::StringRef)::{lambda(ll vm::StringRef, clang::tidy::ClangTidyContext*)#1}>::_M_invoke(std::_Any_data const&, llvm::StringRef&&, clang::tidy::ClangTidyContext*&&): error: undefined reference to 'vtable fo r clang::tidy::bugprone::UseAfterMoveCheck' /usr/lib/gcc/x86_64-pc-linux-gnu/8.0.0/../../../../x86_64-pc-linux-gnu/bin/ld: the vtable symbol may be undefined because the class is missing its key function collect2: error: ld returned 1 exit status
Adding lib/libclangTidyBugproneModule.so to the link command fixes the issue.
The text was updated successfully, but these errors were encountered:
Thanks for the report. Should be fixed in r318972.
Sorry, something went wrong.
changed the description
No branches or pull requests
Extended Description
With -DBUILD_SHARED_LIBS=on:
Adding lib/libclangTidyBugproneModule.so to the link command fixes the issue.
The text was updated successfully, but these errors were encountered: