-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Description
Trying to build chill with LLVM 9:
$> module load llvm-upstream-9.0.1
$> cmake ../chill-source \
-DBOOSTHOME=/usr \
-DIEGENHOME=`spack location -i iegenlib` \
-DFRONTEND=Clang
$> make -j24
[ 2%] Built target chill_io
[ 7%] Built target chill_ast
[ 18%] Built target chill_cuda
[ 18%] Built target omega_basic
[ 20%] Built target chill_printer
[ 20%] Built target chill_scanner
[ 22%] Built target chill_ir
[ 26%] Built target codegen_rose
[ 31%] Built target codegen_chill
[ 38%] Built target codegen
[ 39%] Built target parseRel
[ 42%] Built target chill_parser
[ 57%] Built target chill_core
[ 92%] Built target omega_lib
[ 95%] Linking CXX executable chill
[ 95%] Linking CXX executable cuda-chill
/usr/local/llvm-9.0.1/lib/libclangAnalysis.a(ExprMutationAnalyzer.cpp.o): In function `clang::ast_matchers::internal::matcher_hasDecayedType0Matcher::matches(clang::DecayedType const&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const':
ExprMutationAnalyzer.cpp:(.text._ZNK5clang12ast_matchers8internal30matcher_hasDecayedType0Matcher7matchesERKNS_11DecayedTypeEPNS1_14ASTMatchFinderEPNS1_21BoundNodesTreeBuilderE[_ZNK5clang12ast_matchers8internal30matcher_hasDecayedType0Matcher7matchesERKNS_11DecayedTypeEPNS1_14ASTMatchFinderEPNS1_21BoundNodesTreeBuilderE]+0x2c): undefined reference to `clang::ast_matchers::internal::DynTypedMatcher::matches(clang::ast_type_traits::DynTypedNode const&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const'
/usr/local/llvm-9.0.1/lib/libclangAnalysis.a(ExprMutationAnalyzer.cpp.o): In function `clang::ast_matchers::internal::matcher_namesType0Matcher::matches(clang::ElaboratedType const&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const':
ExprMutationAnalyzer.cpp:(.text._ZNK5clang12ast_matchers8internal25matcher_namesType0Matcher7matchesERKNS_14ElaboratedTypeEPNS1_14ASTMatchFinderEPNS1_21BoundNodesTreeBuilderE[_ZNK5clang12ast_matchers8internal25matcher_namesType0Matcher7matchesERKNS_14ElaboratedTypeEPNS1_14ASTMatchFinderEPNS1_21BoundNodesTreeBuilderE]+0x2c): undefined reference to `clang::ast_matchers::internal::DynTypedMatcher::matches(clang::ast_type_traits::DynTypedNode const&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const'
/usr/local/llvm-9.0.1/lib/libclangAnalysis.a(ExprMutationAnalyzer.cpp.o): In function `clang::ast_matchers::internal::matcher_hasImplicitDestinationType0Matcher::matches(clang::ImplicitCastExpr const&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const':
ExprMutationAnalyzer.cpp:(.text._ZNK5clang12ast_matchers8internal42matcher_hasImplicitDestinationType0Matcher7matchesERKNS_16ImplicitCastExprEPNS1_14ASTMatchFinderEPNS1_21BoundNodesTreeBuilderE[_ZNK5clang12ast_matchers8internal42matcher_hasImplicitDestinationType0Matcher7matchesERKNS_16ImplicitCastExprEPNS1_14ASTMatchFinderEPNS1_21BoundNodesTreeBuilderE]+0x2c): undefined reference to `clang::ast_matchers::internal::DynTypedMatcher::matches(clang::ast_type_traits::DynTypedNode const&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const'
/usr/local/llvm-9.0.1/lib/libclangAnalysis.a(ExprMutationAnalyzer.cpp.o): In function `clang::ast_matchers::internal::matcher_hasDestinationType0Matcher::matches(clang::ExplicitCastExpr const&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const':
<see attachment output.txt for full output>
Full link errors: output.txt
System info:
x86_64Ubuntu 18.04LLVM 9.0.1chill v0.3
Any ideas?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels