https://llvm.org/bugs/show_bug.cgi?id=23869

            Bug ID: 23869
           Summary: clang-check not linking
           Product: clang
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Modules
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected]
    Classification: Unclassified

using debian gcc 4.7.4-3

and https://github.com/llvm-mirror/clang.git branch master
commit dbc8c32dde18a4611afe51c281ceefd2201e6b89 Date:   Tue Jun 16 22:32:44
2015 +0000

and using llvm mirror commit 4a80b4b0c017c9c13b3c3e806b8f6159addb9bed Date:  
Wed Jun 17 01:21:20 2015 +0000

Linking CXX executable ../../bin/clang-check
CMakeFiles/clang-check.dir/ClangCheck.cpp.o: In function
`std::unique_ptr<clang::tooling::FrontendActionFactory,
std::default_delete<clang::tooling::FrontendActionFactory> >
clang::tooling::newFrontendActionFactory<(anonymous
namespace)::ClangCheckActionFactory>((anonymous
namespace)::ClangCheckActionFactory*,
clang::tooling::SourceFileCallbacks*)::FrontendActionFactoryAdapter::ConsumerFactoryAdaptor::ConsumerFactoryAdaptor((anonymous
namespace)::ClangCheckActionFactory*, clang::tooling::SourceFileCallbacks*)':
ClangCheck.cpp:(.text._ZZN5clang7tooling24newFrontendActionFactoryIN12_GLOBAL__N_123ClangCheckActionFactoryEEESt10unique_ptrINS0_21FrontendActionFactoryESt14default_deleteIS5_EEPT_PNS0_19SourceFileCallbacksEEN28FrontendActionFactoryAdapter22ConsumerFactoryAdaptorC2EPS3_SC_+0x27):
undefined reference to `vtable for
std::unique_ptr<clang::tooling::FrontendActionFactory,
std::default_delete<clang::tooling::FrontendActionFactory> >
clang::tooling::newFrontendActionFactory<(anonymous
namespace)::ClangCheckActionFactory>((anonymous
namespace)::ClangCheckActionFactory*,
clang::tooling::SourceFileCallbacks*)::FrontendActionFactoryAdapter::ConsumerFactoryAdaptor'
collect2: error: ld returned 1 exit status
make[2]: *** [bin/clang-check] Error 1
make[2]: Target `tools/clang-check/CMakeFiles/clang-check.dir/build' not remade
because of errors.
make[1]: *** [tools/clang-check/CMakeFiles/clang-check.dir/all] Error 2
make[1]: Target `all' not remade because of errors.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to