=> 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 include-what-you-use-0.18 [ 1%] Copying clang's __clang_cuda_builtin_vars.h... [ 1%] Copying clang's __clang_cuda_cmath.h... [ 1%] Copying clang's __clang_cuda_complex_builtins.h... [ 2%] Copying clang's __clang_cuda_device_functions.h... [ 2%] Copying clang's __clang_cuda_intrinsics.h... [ 3%] Copying clang's __clang_cuda_libdevice_declares.h... [ 3%] Copying clang's __clang_cuda_math.h... [ 4%] Copying clang's __clang_cuda_math_forward_declares.h... [ 4%] Copying clang's __clang_cuda_runtime_wrapper.h... [ 5%] Copying clang's __clang_cuda_texture_intrinsics.h... [ 5%] Copying clang's __clang_hip_cmath.h... [ 6%] Copying clang's __clang_hip_libdevice_declares.h... [ 7%] Copying clang's __clang_hip_math.h... [ 7%] Copying clang's __clang_hip_runtime_wrapper.h... [ 8%] Copying clang's __stddef_max_align_t.h... [ 8%] Copying clang's __wmmintrin_aes.h... [ 9%] Copying clang's __wmmintrin_pclmul.h... [ 9%] Copying clang's adxintrin.h... [ 10%] Copying clang's altivec.h... [ 10%] Copying clang's ammintrin.h... [ 11%] Copying clang's amxintrin.h... [ 11%] Copying clang's arm64intr.h... [ 12%] Copying clang's arm_acle.h... [ 13%] Copying clang's arm_bf16.h... [ 13%] Copying clang's arm_cde.h... [ 14%] Copying clang's arm_cmse.h... [ 14%] Copying clang's arm_fp16.h... [ 15%] Copying clang's arm_mve.h... [ 15%] Copying clang's arm_neon.h... [ 16%] Copying clang's arm_sve.h... [ 16%] Copying clang's armintr.h... [ 17%] Copying clang's avx2intrin.h... [ 17%] Copying clang's avx512bf16intrin.h... [ 18%] Copying clang's avx512bitalgintrin.h... [ 19%] Copying clang's avx512bwintrin.h... [ 19%] Copying clang's avx512cdintrin.h... [ 20%] Copying clang's avx512dqintrin.h... [ 20%] Copying clang's avx512erintrin.h... [ 21%] Copying clang's avx512fintrin.h... [ 21%] Copying clang's avx512fp16intrin.h... [ 22%] Copying clang's avx512ifmaintrin.h... [ 23%] Copying clang's avx512pfintrin.h... [ 23%] Copying clang's avx512ifmavlintrin.h... [ 23%] Copying clang's avx512vbmi2intrin.h... [ 24%] Copying clang's avx512vbmiintrin.h... [ 25%] Copying clang's avx512vbmivlintrin.h... [ 25%] Copying clang's avx512vlbf16intrin.h... [ 26%] Copying clang's avx512vlbitalgintrin.h... [ 26%] Copying clang's avx512vlbwintrin.h... [ 27%] Copying clang's avx512vlcdintrin.h... [ 27%] Copying clang's avx512vldqintrin.h... [ 28%] Copying clang's avx512vlfp16intrin.h... [ 28%] Copying clang's avx512vlintrin.h... [ 29%] Copying clang's avx512vlvbmi2intrin.h... [ 29%] Copying clang's avx512vlvnniintrin.h... [ 30%] Copying clang's avx512vlvp2intersectintrin.h... [ 30%] Copying clang's avx512vnniintrin.h... [ 31%] Copying clang's avx512vp2intersectintrin.h... [ 32%] Copying clang's avx512vpopcntdqintrin.h... [ 32%] Copying clang's avx512vpopcntdqvlintrin.h... [ 33%] Copying clang's avxintrin.h... [ 33%] Copying clang's avxvnniintrin.h... [ 34%] Copying clang's bmi2intrin.h... [ 34%] Copying clang's bmiintrin.h... [ 35%] Copying clang's builtins.h... [ 35%] Copying clang's cet.h... [ 36%] Copying clang's cetintrin.h... [ 36%] Copying clang's cldemoteintrin.h... [ 37%] Copying clang's clflushoptintrin.h... [ 38%] Copying clang's clwbintrin.h... [ 38%] Copying clang's clzerointrin.h... [ 39%] Copying clang's cpuid.h... [ 39%] Copying clang's crc32intrin.h... [ 40%] Copying clang's cuda_wrappers/algorithm... [ 40%] Copying clang's cuda_wrappers/complex... [ 41%] Copying clang's cuda_wrappers/new... [ 41%] Copying clang's emmintrin.h... [ 42%] Copying clang's enqcmdintrin.h... [ 42%] Copying clang's f16cintrin.h... [ 43%] Copying clang's float.h... [ 44%] Copying clang's fma4intrin.h... [ 44%] Copying clang's fmaintrin.h... [ 45%] Copying clang's fxsrintrin.h... [ 45%] Copying clang's gfniintrin.h... [ 46%] Copying clang's hexagon_circ_brev_intrinsics.h... [ 46%] Copying clang's hexagon_protos.h... [ 47%] Copying clang's hexagon_types.h... [ 47%] Copying clang's hresetintrin.h... [ 48%] Copying clang's htmintrin.h... [ 48%] Copying clang's htmxlintrin.h... [ 49%] Copying clang's hvx_hexagon_protos.h... [ 50%] Copying clang's ia32intrin.h... [ 50%] Copying clang's immintrin.h... [ 51%] Copying clang's intrin.h... [ 51%] Copying clang's inttypes.h... [ 52%] Copying clang's invpcidintrin.h... [ 52%] Copying clang's iso646.h... [ 53%] Copying clang's keylockerintrin.h... [ 53%] Copying clang's limits.h... [ 54%] Copying clang's lwpintrin.h... [ 54%] Copying clang's lzcntintrin.h... [ 55%] Copying clang's mm3dnow.h... [ 55%] Copying clang's mm_malloc.h... [ 56%] Copying clang's mmintrin.h... [ 57%] Copying clang's module.modulemap... [ 57%] Copying clang's movdirintrin.h... [ 58%] Copying clang's msa.h... [ 58%] Copying clang's mwaitxintrin.h... [ 59%] Copying clang's nmmintrin.h... [ 59%] Copying clang's opencl-c-base.h... [ 60%] Copying clang's opencl-c.h... [ 60%] Copying clang's openmp_wrappers/__clang_openmp_device_functions.h... [ 61%] Copying clang's openmp_wrappers/cmath... [ 61%] Copying clang's openmp_wrappers/complex... [ 62%] Copying clang's openmp_wrappers/complex.h... [ 63%] Copying clang's openmp_wrappers/complex_cmath.h... [ 63%] Copying clang's openmp_wrappers/math.h... [ 64%] Copying clang's openmp_wrappers/new... [ 64%] Copying clang's pconfigintrin.h... [ 65%] Copying clang's pkuintrin.h... [ 65%] Copying clang's pmmintrin.h... [ 66%] Copying clang's popcntintrin.h... [ 66%] Copying clang's ppc_wrappers/emmintrin.h... [ 67%] Copying clang's ppc_wrappers/mm_malloc.h... [ 67%] Copying clang's ppc_wrappers/mmintrin.h... [ 68%] Copying clang's ppc_wrappers/pmmintrin.h... [ 69%] Copying clang's ppc_wrappers/smmintrin.h... [ 69%] Copying clang's ppc_wrappers/tmmintrin.h... [ 70%] Copying clang's ppc_wrappers/xmmintrin.h... [ 70%] Copying clang's prfchwintrin.h... [ 71%] Copying clang's ptwriteintrin.h... [ 71%] Copying clang's rdseedintrin.h... [ 72%] Copying clang's riscv_vector.h... [ 72%] Copying clang's rtmintrin.h... [ 73%] Copying clang's s390intrin.h... [ 73%] Copying clang's serializeintrin.h... [ 74%] Copying clang's sgxintrin.h... [ 75%] Copying clang's shaintrin.h... [ 75%] Copying clang's smmintrin.h... [ 76%] Copying clang's stdalign.h... [ 76%] Copying clang's stdarg.h... [ 77%] Copying clang's stdatomic.h... [ 77%] Copying clang's stdbool.h... [ 78%] Copying clang's stddef.h... [ 78%] Copying clang's stdint.h... [ 79%] Copying clang's stdnoreturn.h... [ 79%] Copying clang's tbmintrin.h... [ 80%] Copying clang's tgmath.h... [ 80%] Copying clang's tmmintrin.h... [ 81%] Copying clang's tsxldtrkintrin.h... [ 82%] Copying clang's uintrintrin.h... [ 82%] Copying clang's unwind.h... [ 83%] Copying clang's vadefs.h... [ 83%] Copying clang's vaesintrin.h... [ 84%] Copying clang's varargs.h... [ 84%] Copying clang's vecintrin.h... [ 85%] Copying clang's vpclmulqdqintrin.h... [ 85%] Copying clang's waitpkgintrin.h... [ 86%] Copying clang's wasm_simd128.h... [ 86%] Copying clang's wbnoinvdintrin.h... [ 87%] Copying clang's wmmintrin.h... [ 88%] Copying clang's x86gprintrin.h... [ 88%] Copying clang's x86intrin.h... [ 89%] Copying clang's xmmintrin.h... [ 89%] Copying clang's xopintrin.h... [ 90%] Copying clang's xsavecintrin.h... [ 90%] Copying clang's xsaveintrin.h... [ 91%] Copying clang's xsaveoptintrin.h... [ 91%] Copying clang's xsavesintrin.h... [ 92%] Copying clang's xtestintrin.h... [ 92%] Built target clang-resource-headers [ 92%] Building CXX object CMakeFiles/include-what-you-use.dir/iwyu.cc.o [ 93%] Building CXX object CMakeFiles/include-what-you-use.dir/iwyu_ast_util.cc.o In file included from /work/devel/include-what-you-use/work/.buildlink/include/clang/Sema/CodeCompleteConsumer.h:21:0, from /work/devel/include-what-you-use/work/.buildlink/include/clang/Frontend/ASTUnit.h:28, from /work/devel/include-what-you-use/work/.buildlink/include/clang/Frontend/FrontendAction.h:23, from /work/devel/include-what-you-use/work/include-what-you-use-0.18/iwyu.cc:136: /work/devel/include-what-you-use/work/.buildlink/include/clang/Sema/DeclSpec.h: In member function 'clang::CXXScopeSpec& clang::DeclaratorChunk::MemberPointerTypeInfo::Scope()': /work/devel/include-what-you-use/work/.buildlink/include/clang/Sema/DeclSpec.h:1531:56: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast<CXXScopeSpec *>(ScopeMem); ^ /work/devel/include-what-you-use/work/.buildlink/include/clang/Sema/DeclSpec.h: In member function 'const clang::CXXScopeSpec& clang::DeclaratorChunk::MemberPointerTypeInfo::Scope() const': /work/devel/include-what-you-use/work/.buildlink/include/clang/Sema/DeclSpec.h:1534:62: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast<const CXXScopeSpec *>(ScopeMem); ^ In file included from /work/devel/include-what-you-use/work/.buildlink/include/llvm/ADT/StringRef.h:14:0, from /work/devel/include-what-you-use/work/.buildlink/include/llvm/Support/raw_ostream.h:17, from /work/devel/include-what-you-use/work/include-what-you-use-0.18/iwyu_port.h:16, from /work/devel/include-what-you-use/work/include-what-you-use-0.18/iwyu_ast_util.h:19, from /work/devel/include-what-you-use/work/include-what-you-use-0.18/iwyu_ast_util.cc:12: /work/devel/include-what-you-use/work/.buildlink/include/llvm/ADT/iterator_range.h: In member function 'clang::Stmt::child_range clang::InitListExpr::children()': /work/devel/include-what-you-use/work/.buildlink/include/llvm/ADT/iterator_range.h:42:45: warning: '*((void*)& CCR +16)' may be used uninitialized in this function [-Wmaybe-uninitialized] end_iterator(std::move(end_iterator)) {} ^ In file included from /work/devel/include-what-you-use/work/.buildlink/include/clang/AST/DeclCXX.h:22:0, from /work/devel/include-what-you-use/work/.buildlink/include/clang/AST/ASTTypeTraits.h:19, from /work/devel/include-what-you-use/work/.buildlink/include/clang/AST/ASTNodeTraverser.h:18, from /work/devel/include-what-you-use/work/.buildlink/include/clang/AST/ASTDumper.h:12, from /work/devel/include-what-you-use/work/include-what-you-use-0.18/iwyu_ast_util.cc:28: /work/devel/include-what-you-use/work/.buildlink/include/clang/AST/Expr.h:4980:23: note: 'CCR' was declared here const_child_range CCR = const_cast<const InitListExpr *>(this)->children(); ^ In file included from /work/devel/include-what-you-use/work/.buildlink/include/llvm/ADT/StringRef.h:14:0, from /work/devel/include-what-you-use/work/.buildlink/include/llvm/Support/raw_ostream.h:17, from /work/devel/include-what-you-use/work/include-what-you-use-0.18/iwyu_port.h:16, from /work/devel/include-what-you-use/work/include-what-you-use-0.18/iwyu_ast_util.h:19, from /work/devel/include-what-you-use/work/include-what-you-use-0.18/iwyu_ast_util.cc:12: /work/devel/include-what-you-use/work/.buildlink/include/llvm/ADT/iterator_range.h:42:45: warning: '*((void*)& CCR +40)' may be used uninitialized in this function [-Wmaybe-uninitialized] end_iterator(std::move(end_iterator)) {} ^ In file included from /work/devel/include-what-you-use/work/.buildlink/include/clang/AST/DeclCXX.h:22:0, from /work/devel/include-what-you-use/work/.buildlink/include/clang/AST/ASTTypeTraits.h:19, from /work/devel/include-what-you-use/work/.buildlink/include/clang/AST/ASTNodeTraverser.h:18, from /work/devel/include-what-you-use/work/.buildlink/include/clang/AST/ASTDumper.h:12, from /work/devel/include-what-you-use/work/include-what-you-use-0.18/iwyu_ast_util.cc:28: /work/devel/include-what-you-use/work/.buildlink/include/clang/AST/Expr.h:4980:23: note: 'CCR' was declared here const_child_range CCR = const_cast<const InitListExpr *>(this)->children(); ^ In file included from /work/devel/include-what-you-use/work/.buildlink/include/llvm/ADT/StringRef.h:14:0, from /work/devel/include-what-you-use/work/.buildlink/include/llvm/Support/raw_ostream.h:17, from /work/devel/include-what-you-use/work/include-what-you-use-0.18/iwyu_port.h:16, from /work/devel/include-what-you-use/work/include-what-you-use-0.18/iwyu_ast_util.h:19, from /work/devel/include-what-you-use/work/include-what-you-use-0.18/iwyu.cc:104: /work/devel/include-what-you-use/work/.buildlink/include/llvm/ADT/iterator_range.h: In member function 'clang::Stmt::child_range clang::InitListExpr::children()': /work/devel/include-what-you-use/work/.buildlink/include/llvm/ADT/iterator_range.h:42:45: warning: '*((void*)& CCR +16)' may be used uninitialized in this function [-Wmaybe-uninitialized] end_iterator(std::move(end_iterator)) {} ^ In file included from /work/devel/include-what-you-use/work/.buildlink/include/clang/AST/ASTConcept.h:17:0, from /work/devel/include-what-you-use/work/.buildlink/include/clang/AST/DeclTemplate.h:17, from /work/devel/include-what-you-use/work/include-what-you-use-0.18/iwyu.cc:126: /work/devel/include-what-you-use/work/.buildlink/include/clang/AST/Expr.h:4980:23: note: 'CCR' was declared here const_child_range CCR = const_cast<const InitListExpr *>(this)->children(); ^ In file included from /work/devel/include-what-you-use/work/.buildlink/include/llvm/ADT/StringRef.h:14:0, from /work/devel/include-what-you-use/work/.buildlink/include/llvm/Support/raw_ostream.h:17, from /work/devel/include-what-you-use/work/include-what-you-use-0.18/iwyu_port.h:16, from /work/devel/include-what-you-use/work/include-what-you-use-0.18/iwyu_ast_util.h:19, from /work/devel/include-what-you-use/work/include-what-you-use-0.18/iwyu.cc:104: /work/devel/include-what-you-use/work/.buildlink/include/llvm/ADT/iterator_range.h:42:45: warning: '*((void*)& CCR +40)' may be used uninitialized in this function [-Wmaybe-uninitialized] end_iterator(std::move(end_iterator)) {} ^ In file included from /work/devel/include-what-you-use/work/.buildlink/include/clang/AST/ASTConcept.h:17:0, from /work/devel/include-what-you-use/work/.buildlink/include/clang/AST/DeclTemplate.h:17, from /work/devel/include-what-you-use/work/include-what-you-use-0.18/iwyu.cc:126: /work/devel/include-what-you-use/work/.buildlink/include/clang/AST/Expr.h:4980:23: note: 'CCR' was declared here const_child_range CCR = const_cast<const InitListExpr *>(this)->children(); ^ [ 94%] Building CXX object CMakeFiles/include-what-you-use.dir/iwyu_cache.cc.o [ 94%] Building CXX object CMakeFiles/include-what-you-use.dir/iwyu_driver.cc.o [ 95%] Building CXX object CMakeFiles/include-what-you-use.dir/iwyu_getopt.cc.o [ 95%] Building CXX object CMakeFiles/include-what-you-use.dir/iwyu_globals.cc.o In file included from /work/devel/include-what-you-use/work/.buildlink/include/clang/Sema/CodeCompleteConsumer.h:21:0, from /work/devel/include-what-you-use/work/.buildlink/include/clang/Frontend/ASTUnit.h:28, from /work/devel/include-what-you-use/work/.buildlink/include/clang/Frontend/FrontendAction.h:23, from /work/devel/include-what-you-use/work/include-what-you-use-0.18/iwyu_driver.cc:36: /work/devel/include-what-you-use/work/.buildlink/include/clang/Sema/DeclSpec.h: In member function 'clang::CXXScopeSpec& clang::DeclaratorChunk::MemberPointerTypeInfo::Scope()': /work/devel/include-what-you-use/work/.buildlink/include/clang/Sema/DeclSpec.h:1531:56: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast<CXXScopeSpec *>(ScopeMem); ^ /work/devel/include-what-you-use/work/.buildlink/include/clang/Sema/DeclSpec.h: In member function 'const clang::CXXScopeSpec& clang::DeclaratorChunk::MemberPointerTypeInfo::Scope() const': /work/devel/include-what-you-use/work/.buildlink/include/clang/Sema/DeclSpec.h:1534:62: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast<const CXXScopeSpec *>(ScopeMem); ^ [ 96%] Building CXX object CMakeFiles/include-what-you-use.dir/iwyu_include_picker.cc.o [ 96%] Building CXX object CMakeFiles/include-what-you-use.dir/iwyu_lexer_utils.cc.o [ 97%] Building CXX object CMakeFiles/include-what-you-use.dir/iwyu_location_util.cc.o [ 97%] Building CXX object CMakeFiles/include-what-you-use.dir/iwyu_output.cc.o [ 98%] Building CXX object CMakeFiles/include-what-you-use.dir/iwyu_path_util.cc.o [ 98%] Building CXX object CMakeFiles/include-what-you-use.dir/iwyu_preprocessor.cc.o [ 99%] Building CXX object CMakeFiles/include-what-you-use.dir/iwyu_verrs.cc.o [100%] Linking CXX executable bin/include-what-you-use ld: warning: libstdc++.so.7, needed by /work/devel/include-what-you-use/work/.buildlink/lib/libclang-cpp.so, may conflict with libstdc++.so.8 CMakeFiles/include-what-you-use.dir/iwyu.cc.o: In function `include_what_you_use::InstantiatedTemplateVisitor::ReplayUsesFromCache(include_what_you_use::FullUseCache const&, clang::NamedDecl const*, clang::SourceLocation)': iwyu.cc:(.text._ZN20include_what_you_use27InstantiatedTemplateVisitor19ReplayUsesFromCacheERKNS_12FullUseCacheEPKN5clang9NamedDeclENS4_14SourceLocationE[_ZN20include_what_you_use27InstantiatedTemplateVisitor19ReplayUsesFromCacheERKNS_12FullUseCacheEPKN5clang9NamedDeclENS4_14SourceLocationE]+0x2f6): undefined reference to `clang::NamedDecl::getQualifiedNameAsString() const' CMakeFiles/include-what-you-use.dir/iwyu.cc.o: In function `include_what_you_use::IwyuBaseAstVisitor<include_what_you_use::IwyuAstConsumer>::ReportDeclUse(clang::SourceLocation, clang::NamedDecl const*, char const*, unsigned int)': iwyu.cc:(.text._ZN20include_what_you_use18IwyuBaseAstVisitorINS_15IwyuAstConsumerEE13ReportDeclUseEN5clang14SourceLocationEPKNS3_9NamedDeclEPKcj[_ZN20include_what_you_use18IwyuBaseAstVisitorINS_15IwyuAstConsumerEE13ReportDeclUseEN5clang14SourceLocationEPKNS3_9NamedDeclEPKcj]+0x234): undefined reference to `clang::NamedDecl::getQualifiedNameAsString() const' CMakeFiles/include-what-you-use.dir/iwyu.cc.o: In function `include_what_you_use::IwyuBaseAstVisitor<include_what_you_use::InstantiatedTemplateVisitor>::ReportDeclUse(clang::SourceLocation, clang::NamedDecl const*, char const*, unsigned int)': iwyu.cc:(.text._ZN20include_what_you_use18IwyuBaseAstVisitorINS_27InstantiatedTemplateVisitorEE13ReportDeclUseEN5clang14SourceLocationEPKNS3_9NamedDeclEPKcj[_ZN20include_what_you_use18IwyuBaseAstVisitorINS_27InstantiatedTemplateVisitorEE13ReportDeclUseEN5clang14SourceLocationEPKNS3_9NamedDeclEPKcj]+0x264): undefined reference to `clang::NamedDecl::getQualifiedNameAsString() const' CMakeFiles/include-what-you-use.dir/iwyu.cc.o: In function `include_what_you_use::InstantiatedTemplateVisitor::ReplayClassMemberUsesFromPrecomputedList(clang::TemplateSpecializationType const*)': iwyu.cc:(.text._ZN20include_what_you_use27InstantiatedTemplateVisitor40ReplayClassMemberUsesFromPrecomputedListEPKN5clang26TemplateSpecializationTypeE[_ZN20include_what_you_use27InstantiatedTemplateVisitor40ReplayClassMemberUsesFromPrecomputedListEPKN5clang26TemplateSpecializationTypeE]+0x2d2): undefined reference to `clang::NamedDecl::getQualifiedNameAsString() const' CMakeFiles/include-what-you-use.dir/iwyu.cc.o: In function `include_what_you_use::BaseAstVisitor<include_what_you_use::InstantiatedTemplateVisitor>::TraverseCXXDestructorDecl(clang::CXXDestructorDecl*)': iwyu.cc:(.text._ZN20include_what_you_use14BaseAstVisitorINS_27InstantiatedTemplateVisitorEE25TraverseCXXDestructorDeclEPN5clang17CXXDestructorDeclE[_ZN20include_what_you_use14BaseAstVisitorINS_27InstantiatedTemplateVisitorEE25TraverseCXXDestructorDeclEPN5clang17CXXDestructorDeclE]+0x4c7): undefined reference to `clang::NamedDecl::getQualifiedNameAsString() const' CMakeFiles/include-what-you-use.dir/iwyu.cc.o:iwyu.cc:(.text._ZN5clang19RecursiveASTVisitorIN20include_what_you_use27InstantiatedTemplateVisitorEE25TraverseCXXConversionDeclEPNS_17CXXConversionDeclE[_ZN5clang19RecursiveASTVisitorIN20include_what_you_use27InstantiatedTemplateVisitorEE25TraverseCXXConversionDeclEPNS_17CXXConversionDeclE]+0x120): more undefined references to `clang::NamedDecl::getQualifiedNameAsString() const' follow CMakeFiles/include-what-you-use.dir/iwyu_ast_util.cc.o: In function `include_what_you_use::PrintableLoc(clang::SourceLocation)': iwyu_ast_util.cc:(.text._ZN20include_what_you_use12PrintableLocEN5clang14SourceLocationE+0x3a): undefined reference to `clang::SourceLocation::printToString(clang::SourceManager const&) const' CMakeFiles/include-what-you-use.dir/iwyu_ast_util.cc.o: In function `include_what_you_use::PrintableType(clang::Type const*)': iwyu_ast_util.cc:(.text._ZN20include_what_you_use13PrintableTypeEPKN5clang4TypeE+0x2d): undefined reference to `clang::QualType::getAsString() const' CMakeFiles/include-what-you-use.dir/iwyu_ast_util.cc.o: In function `include_what_you_use::PrintableTypeLoc(clang::TypeLoc const&)': iwyu_ast_util.cc:(.text._ZN20include_what_you_use16PrintableTypeLocERKN5clang7TypeLocE+0x39): undefined reference to `clang::QualType::getAsString() const' CMakeFiles/include-what-you-use.dir/iwyu_ast_util.cc.o: In function `include_what_you_use::GetTplTypeResugarMapForFunctionExplicitTplArgs(clang::FunctionDecl const*, clang::TemplateArgumentListInfo const&) [clone .isra.7126]': iwyu_ast_util.cc:(.text._ZN20include_what_you_useL46GetTplTypeResugarMapForFunctionExplicitTplArgsEPKN5clang12FunctionDeclERKNS0_24TemplateArgumentListInfoE.isra.7126+0x13d): undefined reference to `clang::QualType::getAsString() const' CMakeFiles/include-what-you-use.dir/iwyu_ast_util.cc.o: In function `include_what_you_use::GetTplTypeResugarMapForFunctionNoCallExpr(clang::FunctionDecl const*, unsigned int) [clone .constprop.8994]': iwyu_ast_util.cc:(.text._ZN20include_what_you_useL41GetTplTypeResugarMapForFunctionNoCallExprEPKN5clang12FunctionDeclEj.constprop.8994+0x193): undefined reference to `clang::QualType::getAsString() const' CMakeFiles/include-what-you-use.dir/iwyu_ast_util.cc.o: In function `include_what_you_use::(anonymous namespace)::DumpASTNode(llvm::raw_ostream&, include_what_you_use::ASTNode const*)': iwyu_ast_util.cc:(.text._ZN20include_what_you_use12_GLOBAL__N_111DumpASTNodeERN4llvm11raw_ostreamEPKNS_7ASTNodeE+0x15e): undefined reference to `clang::QualType::getAsString() const' CMakeFiles/include-what-you-use.dir/iwyu_ast_util.cc.o:iwyu_ast_util.cc:(.text._ZN20include_what_you_useL21ResugarTypeComponentsERKSt3mapIPKN5clang4TypeES4_St4lessIS4_ESaISt4pairIKS4_S4_EEE+0x24c): more undefined references to `clang::QualType::getAsString() const' follow CMakeFiles/include-what-you-use.dir/iwyu_driver.cc.o: In function `include_what_you_use::(anonymous namespace)::GetExecutablePath(char const*)': iwyu_driver.cc:(.text._ZN20include_what_you_use12_GLOBAL__N_117GetExecutablePathEPKc+0x22): undefined reference to `llvm::sys::fs::getMainExecutable(char const*, void*)' CMakeFiles/include-what-you-use.dir/iwyu_driver.cc.o: In function `include_what_you_use::CreateCompilerInstance(int, char const**)': iwyu_driver.cc:(.text._ZN20include_what_you_use22CreateCompilerInstanceEiPPKc+0x3f): undefined reference to `llvm::sys::fs::getMainExecutable(char const*, void*)' iwyu_driver.cc:(.text._ZN20include_what_you_use22CreateCompilerInstanceEiPPKc+0x32f): undefined reference to `llvm::sys::getDefaultTargetTriple()' iwyu_driver.cc:(.text._ZN20include_what_you_use22CreateCompilerInstanceEiPPKc+0x36f): undefined reference to `clang::driver::Driver::Driver(llvm::StringRef, llvm::StringRef, clang::DiagnosticsEngine&, std::string, llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem>)' CMakeFiles/include-what-you-use.dir/iwyu_globals.cc.o: In function `include_what_you_use::OptionsParser::OptionsParser(int, char**)': iwyu_globals.cc:(.text._ZN20include_what_you_use13OptionsParserC2EiPPc+0x4fa): undefined reference to `clang::getClangFullVersion()' CMakeFiles/include-what-you-use.dir/iwyu_output.cc.o: In function `include_what_you_use::internal::GetShortNameAsString(clang::NamedDecl const*) [clone .localalias.42]': iwyu_output.cc:(.text._ZN20include_what_you_use8internal20GetShortNameAsStringEPKN5clang9NamedDeclE+0xc5): undefined reference to `clang::DeclarationName::getAsString() const' --- bin/include-what-you-use --- *** [bin/include-what-you-use] Error code 1 make[2]: stopped in /work/devel/include-what-you-use/work/include-what-you-use-0.18 1 error make[2]: stopped in /work/devel/include-what-you-use/work/include-what-you-use-0.18 --- CMakeFiles/include-what-you-use.dir/all --- *** [CMakeFiles/include-what-you-use.dir/all] Error code 2 make[1]: stopped in /work/devel/include-what-you-use/work/include-what-you-use-0.18 1 error make[1]: stopped in /work/devel/include-what-you-use/work/include-what-you-use-0.18 *** [all] Error code 2 make: stopped in /work/devel/include-what-you-use/work/include-what-you-use-0.18 1 error make: stopped in /work/devel/include-what-you-use/work/include-what-you-use-0.18 *** Error code 2 Stop. make[1]: stopped in /tree/pkgsrc/devel/include-what-you-use *** Error code 1 Stop. make: stopped in /tree/pkgsrc/devel/include-what-you-use