[clazy] [Bug 380929] New: Failed to make by clang-5.0svn
Leslie Zhai
bugzilla_noreply at kde.org
Wed Jun 7 09:16:54 BST 2017
https://bugs.kde.org/show_bug.cgi?id=380929
Bug ID: 380929
Summary: Failed to make by clang-5.0svn
Product: clazy
Version: unspecified
Platform: Other
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: NOR
Component: general
Assignee: unassigned-bugs at kde.org
Reporter: lesliezhai at llvm.org.cn
CC: smartins at kde.org
Target Milestone: ---
Hi KDE developers,
I am building clazy-git by clang-5.0svn
clazy-git: commit 66ac3ee6ff20ee94a041fb6eb90eb4fb2bb3957b
clang-5.0svn: Fedora clang version 5.0.0 (trunk 304519) (based on LLVM
5.0.0svn)
but failed:
Scanning dependencies of target clazy-standalone
[ 98%] Building CXX object
CMakeFiles/clazy-standalone.dir/src/ClazyStandaloneMain.cpp.o
[100%] Linking CXX executable bin/clazy-standalone
CMakeFiles/clazy-standalone.dir/src/ClazyStandaloneMain.cpp.o: In function
`clang::ast_matchers::hasName(std::__cxx11::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&)':
/usr/include/clang/ASTMatchers/ASTMatchers.h:2242: undefined reference to
`clang::ast_matchers::internal::HasNameMatcher::HasNameMatcher(std::vector<std::__cxx11::basic_string<char,
std::char_traits<char>, std::allocator<char> >,
std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>,
std::allocator<char> > > >)'
CMakeFiles/clazy-standalone.dir/src/ClazyStandaloneMain.cpp.o: In function
`clang::ast_matchers::internal::matcher_forEachOverridden0Matcher::matches(clang::CXXMethodDecl
const&, clang::ast_matchers::internal::ASTMatchFinder*,
clang::ast_matchers::internal::BoundNodesTreeBuilder*) const':
/usr/include/clang/ASTMatchers/ASTMatchers.h:4101: undefined reference to
`clang::CXXMethodDecl::overridden_methods() const'
CMakeFiles/clazy-standalone.dir/src/ClazyStandaloneMain.cpp.o:(.data.rel.ro._ZTV15ClazyToolAction[_ZTV15ClazyToolAction]+0x20):
undefined reference to
`clang::tooling::FrontendActionFactory::runInvocation(std::shared_ptr<clang::CompilerInvocation>,
clang::FileManager*, std::shared_ptr<clang::PCHContainerOperations>,
clang::DiagnosticConsumer*)'
lib/ClangLazy.so: undefined reference to
`llvm::Registry<clang::PluginASTAction>::add_node(llvm::Registry<clang::PluginASTAction>::node*)'
lib/ClangLazy.so: undefined reference to
`clang::DeclarationName::getCXXDeductionGuideTemplate() const'
lib/ClangLazy.so: undefined reference to
`clang::QualType::isTriviallyCopyableType(clang::ASTContext const&) const'
clang-5.0: error: linker command failed with exit code 1 (use -v to see
invocation)
CMakeFiles/clazy-standalone.dir/build.make:155: recipe for target
'bin/clazy-standalone' failed
make[2]: *** [bin/clazy-standalone] Error 1
CMakeFiles/Makefile2:142: recipe for target
'CMakeFiles/clazy-standalone.dir/all' failed
make[1]: *** [CMakeFiles/clazy-standalone.dir/all] Error 2
Makefile:127: recipe for target 'all' failed
make: *** [all] Error 2
I am trying to fix it :)
Regards,
Leslie Zhai
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Unassigned-bugs
mailing list