[2263/3391] Building CXX object tools/clang/lib/Lex/CMakeFiles/obj.clangLex.dir[2263/3391] Building CXX object tools/clang/lib/Parse/CMakeFiles/obj.clangParse[2264/3391] Building CXX object tools/clang/lib/Lex/CMakeFiles/obj.clangLex.dir[2264/3391] Building CXX object tools/clang/lib/Parse/CMakeFiles/obj.clangParse[2265/3391] Building CXX object tools/clang/lib/Lex/CMakeFiles/obj.clangLex.dir[2265/3391] Building CXX object tools/clang/lib/Parse/CMakeFiles/obj.clangParse[2266/3391] Building CXX object tools/clang/lib/Lex/CMakeFiles/obj.clangLex.dir[2267/3391] Building CXX object tools/clang/lib/Parse/CMakeFiles/obj.clangParse[2268/3391] Building CXX object tools/clang/lib/Parse/CMakeFiles/obj.clangParse.dir/ParseAST.cpp.o In file included from /home/package_building/llvm-11.1.0.src/tools/clang/include/clang/Basic/LLVM.h:21:0, from /home/package_building/llvm-11.1.0.src/tools/clang/include/clang/Basic/LangOptions.h:18, from /home/package_building/llvm-11.1.0.src/tools/clang/include/clang/Parse/ParseAST.h:16, from /home/package_building/llvm-11.1.0.src/tools/clang/lib/Parse/ParseAST.cpp:13: /home/package_building/llvm-11.1.0.src/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /home/package_building/llvm-11.1.0.src/include/llvm/Support/Casting.h:215:68: required from 'struct llvm::cast_retty' /home/package_building/llvm-11.1.0.src/include/llvm/Support/Casting.h:334:1: required by substitution of 'template std::enable_if_t<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type> llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /home/package_building/llvm-11.1.0.src/tools/clang/include/clang/AST/Stmt.h:1664:65: required from here /home/package_building/llvm-11.1.0.src/include/llvm/Support/Casting.h:45:69: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type {aka const clang::Stmt*}' [-Wignored-attributes] typename add_lvalue_reference_if_not_pointer::type; ^ /home/package_building/llvm-11.1.0.src/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /home/package_building/llvm-11.1.0.src/include/llvm/Support/Casting.h:334:1: required by substitution of 'template std::enable_if_t<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type> llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /home/package_building/llvm-11.1.0.src/tools/clang/include/clang/AST/Stmt.h:1664:65: required from here /home/package_building/llvm-11.1.0.src/include/llvm/Support/Casting.h:215:68: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType {aka const clang::Stmt*}' [-Wignored-attributes] To, From, typename simplify_type::SimpleType>::ret_type; ^ /home/package_building/llvm-11.1.0.src/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /home/package_building/llvm-11.1.0.src/include/llvm/Support/Casting.h:290:1: required by substitution of 'template std::enable_if_t<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type> llvm::cast_or_null(const Y&) [with X = clang::CallExpr; Y = const clang::Stmt*]' /home/package_building/llvm-11.1.0.src/tools/clang/include/clang/AST/ExprCXX.h:259:52: required from here /home/package_building/llvm-11.1.0.src/include/llvm/Support/Casting.h:215:68: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType {aka const clang::Stmt*}' [-Wignored-attributes] /home/package_building/llvm-11.1.0.src/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /home/package_building/llvm-11.1.0.src/include/llvm/Support/Casting.h:345:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /home/package_building/llvm-11.1.0.src/tools/clang/include/clang/AST/Stmt.h:1664:65: required from here /home/package_building/llvm-11.1.0.src/include/llvm/Support/Casting.h:143:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType {aka const clang::Stmt*}' [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ /home/package_building/llvm-11.1.0.src/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CallExpr; Y = const clang::Stmt*]': /home/package_building/llvm-11.1.0.src/include/llvm/Support/Casting.h:311:3: required from 'typename llvm::cast_retty::ret_type llvm::cast_or_null(Y*) [with X = clang::CallExpr; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CallExpr*]' /home/package_building/llvm-11.1.0.src/tools/clang/include/clang/AST/ExprCXX.h:259:52: required from here /home/package_building/llvm-11.1.0.src/include/llvm/Support/Casting.h:143:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType {aka const clang::Stmt*}' [-Wignored-attributes] [2268/3391] Building CXX object tools/clang/lib/Parse/CMakeFiles/obj.clangParse[2269/3391] Building CXX object tools/clang/lib/Parse/CMakeFiles/obj.clangParse.dir/ParseCXXInlineMethods.cpp.o In file included from /home/package_building/llvm-11.1.0.src/tools/clang/include/clang/Basic/LLVM.h:21:0, from /home/package_building/llvm-11.1.0.src/tools/clang/include/clang/Basic/SourceLocation.h:17, from /home/package_building/llvm-11.1.0.src/tools/clang/include/clang/AST/Availability.h:16, from /home/package_building/llvm-11.1.0.src/tools/clang/include/clang/Parse/Parser.h:16, from /home/package_building/llvm-11.1.0.src/tools/clang/lib/Parse/ParseCXXInlineMethods.cpp:13: /home/package_building/llvm-11.1.0.src/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /home/package_building/llvm-11.1.0.src/include/llvm/Support/Casting.h:215:68: required from 'struct llvm::cast_retty' /home/package_building/llvm-11.1.0.src/include/llvm/Support/Casting.h:334:1: required by substitution of 'template std::enable_if_t<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type> llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /home/package_building/llvm-11.1.0.src/tools/clang/include/clang/AST/Stmt.h:1664:65: required from here /home/package_building/llvm-11.1.0.src/include/llvm/Support/Casting.h:45:69: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type {aka const clang::Stmt*}' [-Wignored-attributes] typename add_lvalue_reference_if_not_pointer::type; ^ /home/package_building/llvm-11.1.0.src/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /home/package_building/llvm-11.1.0.src/include/llvm/Support/Casting.h:334:1: required by substitution of 'template std::enable_if_t<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type> llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /home/package_building/llvm-11.1.0.src/tools/clang/include/clang/AST/Stmt.h:1664:65: required from here /home/package_building/llvm-11.1.0.src/include/llvm/Support/Casting.h:215:68: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType {aka const clang::Stmt*}' [-Wignored-attributes] To, From, typename simplify_type::SimpleType>::ret_type; ^ /home/package_building/llvm-11.1.0.src/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /home/package_building/llvm-11.1.0.src/include/llvm/Support/Casting.h:290:1: required by substitution of 'template std::enable_if_t<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type> llvm::cast_or_null(const Y&) [with X = clang::CallExpr; Y = const clang::Stmt*]' /home/package_building/llvm-11.1.0.src/tools/clang/include/clang/AST/ExprCXX.h:259:52: required from here /home/package_building/llvm-11.1.0.src/include/llvm/Support/Casting.h:215:68: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType {aka const clang::Stmt*}' [-Wignored-attributes] /home/package_building/llvm-11.1.0.src/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /home/package_building/llvm-11.1.0.src/include/llvm/Support/Casting.h:345:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /home/package_building/llvm-11.1.0.src/tools/clang/include/clang/AST/Stmt.h:1664:65: required from here /home/package_building/llvm-11.1.0.src/include/llvm/Support/Casting.h:143:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType {aka const clang::Stmt*}' [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ /home/package_building/llvm-11.1.0.src/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CallExpr; Y = const clang::Stmt*]': /home/package_building/llvm-11.1.0.src/include/llvm/Support/Casting.h:311:3: required from 'typename llvm::cast_retty::ret_type llvm::cast_or_null(Y*) [with X = clang::CallExpr; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CallExpr*]' /home/package_building/llvm-11.1.0.src/tools/clang/include/clang/AST/ExprCXX.h:259:52: required from here /home/package_building/llvm-11.1.0.src/include/llvm/Support/Casting.h:143:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType {aka const clang::Stmt*}' [-Wignored-attributes] [2269/3391] Building CXX object tools/clang/lib/Parse/CMakeFiles/obj.clangParse[2270/3391] Building CXX object tools/clang/lib/Parse/CMakeFiles/obj.clangParse.dir/ParseDecl.cpp.o In file included from /home/package_building/llvm-11.1.0.src/tools/clang/include/clang/Basic/LLVM.h:21:0, from /home/package_building/llvm-11.1.0.src/tools/clang/include/clang/Basic/SourceLocation.h:17, from /home/package_building/llvm-11.1.0.src/tools/clang/include/clang/AST/Availability.h:16, from /home/package_building/llvm-11.1.0.src/tools/clang/include/clang/Parse/Parser.h:16, from /home/package_building/llvm-11.1.0.src/tools/clang/lib/Parse/ParseDecl.cpp:13: /home/package_building/llvm-11.1.0.src/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /home/package_building/llvm-11.1.0.src/include/llvm/Support/Casting.h:215:68: reld[20855]: unhandled signal 11 code 0x1 at 0x0000000000000090 in libbfd-2.38.so[3fb894e000+dc000] quired from 'struct llvm::cast_retty' sepc: 0000003fb899f820 ra : 0000003fb899fae4 sp : 0000003fff925390 /home/package_building/llvm-11.1.0.src/include/llvm/Support/Casting.h:334:1: required by substitution of 'template std::enable_if_t<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type> llvm::dyn_cast(const Y&) [wit gp : 00000000001efe70 tp : 0000003fb87c0d00 t0 : 0000000000000000 h X = clang::CaseStmt; Y = const clang::Stmt*]' /home/package_building/llvm-11.1.0.src/tools/clang/include/clang/AST/Stmt.h:1664:65: required from here /home/package_building/llvm-11.1.0.src/include/llvm/Support/Casting.h:45:69: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type {aka const clang::Stmt*}' [-Wignored-attributes] typename add_lvalue_reference_if_not_pointer::type; ^ /home/package_building/llvm-11.1.0.src/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty2 : 00000000bfcb1138 a3 : 00000000015e8cf0 a4 : 0000003fb8a33a60 [m': a5 : 0000000000000000 a6 : 000000000000000e a7 : 0000000000000003 s2 : 00000000bfcba750 s3 : 0000000000000000 s4 : 00000000bfc97190 s5 : 00000000bfca4f08 s6 : 00000000000008b8 s7 : 0000003fff925458 s8 : 00000000bfcba708 s9 : 00000000bfcb1138 s10: 0000000000000000 s11: 0000003fb8a33f28 t3 : 0000003fb89be430 t4 : 0000000000000000 /home/pa t5 : 0000000000000001 t6 : 00000000049591a8 ckage_building/llvm-11.1.0.src/include/llvm/Support/Casting.h:334:1: required by substitution of 'template std::enable_if_t<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type> llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /home/package_building/llvm-11.1.0.src/tools/clang/include/clang/AST/Stmt.h:1664:65: required from here /home/package_building/llvm-11.1.0.src/include/llvm/Support/Casting.h:215:68: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType {aka const clang::Stmt*}' [-Wignored-attributes] To, From, typename simplify_type::SimpleType>::ret_type; ^ /home/package_building/llvm-11.1.0.src/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /home/package_building/llvm-11.1.0.src/include/llvm/Support/Casting.h:290:1: required by substitution of 'template std::enable_if_t<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type> llvm::cast_or_null(const Y&) [with X = clang::CallExpr; Y = const clang::Stmt*]' /home/package_building/llvm-11.1.0.src/tools/clang/include/clang/AST/ExprCXX.h:259:52: required from here /home/package_building/llvm-11.1.0.src/include/llvm/Support/Casting.h:215:68: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType {aka const clang::Stmt*}' [-Wignored-attributes] /home/package_building/llvm-11.1.0.src/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /home/package_building/llvm-11.1.0.src/include/llvm/Support/Casting.h:345:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /home/package_building/llvm-11.1.0.src/tools/clang/include/clang/AST/Stmt.h:1664:65: required from here /home/package_building/llvm-11.1.0.src/include/llvm/Support/Casting.h:143:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType {aka const clang::Stmt*}' [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ /home/package_building/llvm-11.1.0.src/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CallExpr; Y = const clang::Stmt*]': /home/package_building/llvm-11.1.0.src/include/llvm/Support/Casting.h:311:3: required from 'typename llvm::cast_retty::ret_type llvm::cast_or_null(Y*) [with X = clang::CallExpr; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CallExpr*]' /home/package_building/llvm-11.1.0.src/tools/clang/include/clang/AST/ExprCXX.h:259:52: required from here /home/package_building/llvm-11.1.0.src/include/llvm/Support/Casting.h:143:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType {aka const clang::Stmt*}' [-Wignored-attributes] [2270/3391] Building CXX object tools/clang/lib/Parse/CMakeFiles/obj.clangParse[2271/3391] Linking CXX shared module lib/LLVMgold.so FAILED: lib/LLVMgold.so : && /usr/bin/c++ -fPIC -fPIC -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wno-maybe-uninitialized -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wno-comment -fdiagnostics-color -g -Wl,-z,nodelete -Wl,-rpath-link,/home/package_building/llvm-11.1.0.src/build/./lib -Wl,--version-script,"/home/package_building/llvm-11.1.0.src/build/tools/gold/LLVMgold.exports" -shared -o lib/LLVMgold.so tools/gold/CMakeFiles/LLVMgold.dir/gold-plugin.cpp.o -Wl,-rpath,"\$ORIGIN/../lib" lib/libLLVMRISCVCodeGen.a lib/libLLVMRISCVAsmParser.a lib/libLLVMRISCVDesc.a lib/libLLVMRISCVDisassembler.a lib/libLLVMRISCVInfo.a lib/libLLVMRISCVUtils.a lib/libLLVMLinker.a lib/libLLVMLTO.a lib/libLLVMBitWriter.a lib/libLLVMipo.a lib/libLLVMAsmPrinter.a lib/libLLVMDebugInfoDWARF.a lib/libLLVMGlobalISel.a lib/libLLVMSelectionDAG.a lib/libLLVMMCDisassembler.a lib/libLLVMCodeGen.a lib/libLLVMExtensions.a lib/libLLVMObjCARCOpts.a lib/libLLVMPasses.a lib/libLLVMTarget.a lib/libLLVMCoroutines.a lib/libLLVMipo.a lib/libLLVMLinker.a lib/libLLVMBitWriter.a lib/libLLVMFrontendOpenMP.a lib/libLLVMIRReader.a lib/libLLVMAsmParser.a lib/libLLVMInstrumentation.a lib/libLLVMVectorize.a lib/libLLVMScalarOpts.a lib/libLLVMAggressiveInstCombine.a lib/libLLVMInstCombine.a lib/libLLVMTransformUtils.a lib/libLLVMAnalysis.a lib/libLLVMObject.a lib/libLLVMMCParser.a lib/libLLVMMC.a lib/libLLVMDebugInfoCodeView.a lib/libLLVMDebugInfoMSF.a lib/libLLVMBitReader.a lib/libLLVMTextAPI.a lib/libLLVMProfileData.a lib/libLLVMCore.a lib/libLLVMBinaryFormat.a lib/libLLVMRemarks.a lib/libLLVMBitstreamReader.a lib/libLLVMSupport.a -lz -lrt -ldl -lcurses -latomic -lpthread -lm lib/libLLVMDemangle.a && : collect2: fatal error: ld terminated with signal 11 [Segmentation fault] compilation terminated. /usr/lib/gcc/riscv64-unknown-linux-gnu/7.3.1/../../../../riscv64-unknown-linux-gnu/bin/ld: /usr/lib/libcurses.a(lib_cur_term.o): relocation R_RISCV_HI20 against `ospeed' can not be used when making a shared object; recompile with -fPIC /usr/lib/gcc/riscv64-unknown-linux-gnu/7.3.1/../../../../riscv64-unknown-linux-gnu/bin/ld: /usr/lib/libcurses.a(lib_setup.o): relocation R_RISCV_HI20 against `TABSIZE' can not be used when making a shared object; recompile with -fPIC /usr/lib/gcc/riscv64-unknown-linux-gnu/7.3.1/../../../../riscv64-unknown-linux-gnu/bin/ld: /usr/lib/libcurses.a(lib_ti.o): relocation R_RISCV_HI20 against `cur_term' can not be used when making a shared object; recompile with -fPIC /usr/lib/gcc/riscv64-unknown-linux-gnu/7.3.1/../../../../riscv64-unknown-linux-gnu/bin/ld: /usr/lib/libcurses.a(lib_tputs.o): relocation R_RISCV_HI20 against `stdout@@GLIBC_2.27' can not be used when making a shared object; recompile with -fPIC /usr/lib/gcc/riscv64-unknown-linux-gnu/7.3.1/../../../../riscv64-unknown-linux-gnu/bin/ld: /usr/lib/libcurses.a(lib_ttyflags.o): relocation R_RISCV_HI20 against `_nc_prescreen' can not be used when making a shared object; recompile with -fPIC /usr/lib/gcc/riscv64-unknown-linux-gnu/7.3.1/../../../../riscv64-unknown-linux-gnu/bin/ld: /usr/lib/libcurses.a(name_match.o): relocation R_RISCV_HI20 against `_nc_globals' can not be used when making a shared object; recompile with -fPIC /usr/lib/gcc/riscv64-unknown-linux-gnu/7.3.1/../../../../riscv64-unknown-linux-gnu/bin/ld: /usr/lib/libcurses.a(read_entry.o): relocation R_RISCV_HI20 against `a local symbol' can not be used when making a shared object; recompile with -fPIC /usr/lib/gcc/riscv64-unknown-linux-gnu/7.3.1/../../../../riscv64-unknown-linux-gnu/bin/ld: /usr/lib/libcurses.a(alloc_ttype.o): relocation R_RISCV_HI20 against `a local symbol' can not be used when making a shared object; recompile with -fPIC /usr/lib/gcc/riscv64-unknown-linux-gnu/7.3.1/../../../../riscv64-unknown-linux-gnu/bin/ld: /usr/lib/libcurses.a(comp_error.o): relocation R_RISCV_HI20 against `_nc_globals' can not be used when making a shared object; recompile with -fPIC /usr/lib/gcc/riscv64-unknown-linux-gnu/7.3.1/../../../../riscv64-unknown-linux-gnu/bin/ld: /usr/lib/libcurses.a(comp_userdefs.o): relocation R_RISCV_HI20 against `a local symbol' can not be used when making a shared object; recompile with -fPIC /usr/lib/gcc/riscv64-unknown-linux-gnu/7.3.1/../../../../riscv64-unknown-linux-gnu/bin/ld: /usr/lib/libcurses.a(db_iterator.o): relocation R_RISCV_HI20 against `_nc_globals' can not be used when making a shared object; recompile with -fPIC /usr/lib/gcc/riscv64-unknown-linux-gnu/7.3.1/../../../../riscv64-unknown-linux-gnu/bin/ld: /usr/lib/libcurses.a(entries.o): relocation R_RISCV_HI20 against `_nc_head' can not be used when making a shared object; recompile with -fPIC /usr/lib/gcc/riscv64-unknown-linux-gnu/7.3.1/../../../../riscv64-unknown-linux-gnu/bin/ld: /usr/lib/libcurses.a(free_ttype.o): relocation R_RISCV_HI20 against `_nc_head' can not be used when making a shared object; recompile with -fPIC /usr/lib/gcc/riscv64-unknown-linux-gnu/7.3.1/../../../../riscv64-unknown-linux-gnu/bin/ld: /usr/lib/libcurses.a(getenv_num.o): relocation R_RISCV_HI20 against `a local symbol' can not be used when making a shared object; recompile with -fPIC /usr/lib/gcc/riscv64-unknown-linux-gnu/7.3.1/../../../../riscv64-unknown-linux-gnu/bin/ld: /usr/lib/libcurses.a(home_terminfo.o): relocation R_RISCV_HI20 against `_nc_globals' can not be used when making a shared object; recompile with -fPIC /usr/lib/gcc/riscv64-unknown-linux-gnu/7.3.1/../../../../riscv64-unknown-linux-gnu/bin/ld: /usr/lib/libcurses.a(lib_baudrate.o): relocation R_RISCV_HI20 against `a local symbol' can not be used when making a shared object; recompile with -fPIC /usr/lib/gcc/riscv64-unknown-linux-gnu/7.3.1/../../../../riscv64-unknown-linux-gnu/bin/ld: /usr/lib/libcurses.a(lib_napms.o): relocation R_RISCV_HI20 against `SP' can not be used when making a shared object; recompile with -fPIC /usr/lib/gcc/riscv64-unknown-linux-gnu/7.3.1/../../../../riscv64-unknown-linux-gnu/bin/ld: /usr/lib/libcurses.a(lib_options.o): relocation R_RISCV_HI20 against `cur_term' can not be used when making a shared object; recompile with -fPIC /usr/lib/gcc/riscv64-unknown-linux-gnu/7.3.1/../../../../riscv64-unknown-linux-gnu/bin/ld: /usr/lib/libcurses.a(lib_raw.o): relocation R_RISCV_HI20 against `cur_term' can not be used when making a shared object; recompile with -fPIC /usr/lib/gcc/riscv64-unknown-linux-gnu/7.3.1/../../../../riscv64-unknown-linux-gnu/bin/ld: /usr/lib/libcurses.a(comp_captab.o): relocation R_RISCV_HI20 against `a local symbol' can not be used when making a shared object; recompile with -fPIC /usr/lib/gcc/riscv64-unknown-linux-gnu/7.3.1/../../../../riscv64-unknown-linux-gnu/bin/ld: /usr/lib/libcurses.a(init_keytry.o): relocation R_RISCV_HI20 against `a local symbol' can not be used when making a shared object; recompile with -fPIC /usr/lib/gcc/riscv64-unknown-linux-gnu/7.3.1/../../../../riscv64-unknown-linux-gnu/bin/ld: /usr/lib/libcurses.a(lib_has_cap.o): relocation R_RISCV_HI20 against `cur_term' can not be used when making a shared object; recompile with -fPIC /usr/lib/gcc/riscv64-unknown-linux-gnu/7.3.1/../../../../riscv64-unknown-linux-gnu/bin/ld: /usr/lib/libcurses.a(key_defined.o): relocation R_RISCV_HI20 against `SP' can not be used when making a shared object; recompile with -fPIC /usr/lib/gcc/riscv64-unknown-linux-gnu/7.3.1/../../../../riscv64-unknown-linux-gnu/bin/ld: unresolvable R_RISCV_CALL relocation against symbol `fopen@@GLIBC_2.27' /usr/lib/gcc/riscv64-unknown-linux-gnu/7.3.1/../../../../riscv64-unknown-linux-gnu/bin/ld: unresolvable R_RISCV_CALL relocation against symbol `ioctl@@GLIBC_2.27' /usr/lib/gcc/riscv64-unknown-linux-gnu/7.3.1/../../../../riscv64-unknown-linux-gnu/bin/ld: unresolvable R_RISCV_HI20 relocation against symbol `stdout@@GLIBC_2.27' /usr/lib/gcc/riscv64-unknown-linux-gnu/7.3.1/../../../../riscv64-unknown-linux-gnu/bin/ld: unresolvable R_RISCV_CALL relocation against symbol `tcgetattr@@GLIBC_2.27' /usr/lib/gcc/riscv64-unknown-linux-gnu/7.3.1/../../../../riscv64-unknown-linux-gnu/bin/ld: unresolvable R_RISCV_HI20 relocation against symbol `stderr@@GLIBC_2.27' ld[20849]: unhandled signal 11 code 0x1 at 0x0000000000000090 in libbfd-2.38.so[3fc5064000+dc000] CPU: 0 PID: 20849 Comm: ld Not tainted 5.4.1 #1 sepc: 0000003fc50b5820 ra : 0000003fc50b5ae4 sp : 0000003fff8642d0 gp : 00000000001efe70 tp : 0000003fc4ed6d00 t0 : 0000000000000000 t1 : 0000003fc5093c7c t2 : 00000000001f140a s0 : 0000000000000002 s1 : 00000000001f0728 a0 : 0000000000210c80 a1 : 0000003fff864398 a2 : 00000000c238e5d8 a3 : 000000000160ca48 a4 : 0000003fc5149a60 a5 : 0000000000000000 a6 : 000000000000000e a7 : 0000000000000003 s2 : 00000000c2397bf0 s3 : 0000000000000000 s4 : 00000000c2381110 s5 : 00000000c238c238 s6 : 00000000000008b8 s7 : 0000003fff864398 s8 : 00000000c2397ba8 s9 : 00000000c238e5d8 s10: 0000000000000000 s11: 0000003fc5149f28 t3 : 0000003fc50d4430 t4 : 0000000000000000 t5 : 0000000000000001 t6 : 00000000049b3d10 sstatus: 0000000000004020 sbadaddr: 0000000000000090 scause: 000000000000000d [2272/3391] Linking CXX shared library lib/libLTO.so.11 FAILED: lib/libLTO.so.11 : && /usr/bin/c++ -fPIC -fPIC -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wno-maybe-uninitialized -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wno-comment -fdiagnostics-color -g -Wl,-z,defs -Wl,-z,nodelete -Wl,-rpath-link,/home/package_building/llvm-11.1.0.src/build/./lib -Wl,--version-script,"/home/package_building/llvm-11.1.0.src/build/tools/lto/LTO.exports" -shared -Wl,-soname,libLTO.so.11 -o lib/libLTO.so.11 tools/lto/CMakeFiles/LTO.dir/LTODisassembler.cpp.o tools/lto/CMakeFiles/LTO.dir/lto.cpp.o -Wl,-rpath,"\$ORIGIN/../lib" lib/libLLVMRISCVAsmParser.a lib/libLLVMRISCVCodeGen.a lib/libLLVMRISCVDesc.a lib/libLLVMRISCVDisassembler.a lib/libLLVMRISCVInfo.a lib/libLLVMBitReader.a lib/libLLVMCore.a lib/libLLVMCodeGen.a lib/libLLVMLTO.a lib/libLLVMMC.a lib/libLLVMMCDisassembler.a lib/libLLVMSupport.a lib/libLLVMTarget.a lib/libLLVMRISCVUtils.a lib/libLLVMAsmPrinter.a lib/libLLVMDebugInfoDWARF.a lib/libLLVMGlobalISel.a lib/libLLVMSelectionDAG.a lib/libLLVMCodeGen.a lib/libLLVMExtensions.a lib/libLLVMObjCARCOpts.a lib/libLLVMPasses.a lib/libLLVMTarget.a lib/libLLVMCoroutines.a lib/libLLVMipo.a lib/libLLVMBitWriter.a lib/libLLVMScalarOpts.a lib/libLLVMAggressiveInstCombine.a lib/libLLVMInstCombine.a lib/libLLVMLinker.a lib/libLLVMInstrumentation.a lib/libLLVMVectorize.a lib/libLLVMFrontendOpenMP.a lib/libLLVMTransformUtils.a lib/libLLVMAnalysis.a lib/libLLVMProfileData.a lib/libLLVMObject.a lib/libLLVMMCParser.a lib/libLLVMMC.a lib/libLLVMDebugInfoCodeView.a lib/libLLVMDebugInfoMSF.a lib/libLLVMTextAPI.a lib/libLLVMIRReader.a lib/libLLVMBitReader.a lib/libLLVMAsmParser.a lib/libLLVMCore.a lib/libLLVMRemarks.a lib/libLLVMBitstreamReader.a lib/libLLVMBinaryFormat.a lib/libLLVMSupport.a -lz -lrt -ldl -lcurses -latomic -lpthread -lm lib/libLLVMDemangle.a && : collect2: fatal error: ld terminated with signal 11 [Segmentation fault] compilation terminated. /usr/lib/gcc/riscv64-unknown-linux-gnu/7.3.1/../../../../riscv64-unknown-linux-gnu/bin/ld: /usr/lib/libcurses.a(lib_cur_term.o): relocation R_RISCV_HI20 against `ospeed' can not be used when making a shared object; recompile with -fPIC /usr/lib/gcc/riscv64-unknown-linux-gnu/7.3.1/../../../../riscv64-unknown-linux-gnu/bin/ld: /usr/lib/libcurses.a(lib_setup.o): relocation R_RISCV_HI20 against `TABSIZE' can not be used when making a shared object; recompile with -fPIC /usr/lib/gcc/riscv64-unknown-linux-gnu/7.3.1/../../../../riscv64-unknown-linux-gnu/bin/ld: /usr/lib/libcurses.a(lib_ti.o): relocation R_RISCV_HI20 against `cur_term' can not be used when making a shared object; recompile with -fPIC /usr/lib/gcc/riscv64-unknown-linux-gnu/7.3.1/../../../../riscv64-unknown-linux-gnu/bin/ld: /usr/lib/libcurses.a(lib_tputs.o): relocation R_RISCV_HI20 against `stdout@@GLIBC_2.27' can not be used when making a shared object; recompile with -fPIC /usr/lib/gcc/riscv64-unknown-linux-gnu/7.3.1/../../../../riscv64-unknown-linux-gnu/bin/ld: /usr/lib/libcurses.a(lib_ttyflags.o): relocation R_RISCV_HI20 against `_nc_prescreen' can not be used when making a shared object; recompile with -fPIC /usr/lib/gcc/riscv64-unknown-linux-gnu/7.3.1/../../../../riscv64-unknown-linux-gnu/bin/ld: /usr/lib/libcurses.a(name_match.o): relocation R_RISCV_HI20 against `_nc_globals' can not be used when making a shared object; recompile with -fPIC /usr/lib/gcc/riscv64-unknown-linux-gnu/7.3.1/../../../../riscv64-unknown-linux-gnu/bin/ld: /usr/lib/libcurses.a(read_entry.o): relocation R_RISCV_HI20 against `a local symbol' can not be used when making a shared object; recompile with -fPIC /usr/lib/gcc/riscv64-unknown-linux-gnu/7.3.1/../../../../riscv64-unknown-linux-gnu/bin/ld: /usr/lib/libcurses.a(alloc_ttype.o): relocation R_RISCV_HI20 against `a local symbol' can not be used when making a shared object; recompile with -fPIC /usr/lib/gcc/riscv64-unknown-linux-gnu/7.3.1/../../../../riscv64-unknown-linux-gnu/bin/ld: /usr/lib/libcurses.a(comp_error.o): relocation R_RISCV_HI20 against `_nc_globals' can not be used when making a shared object; recompile with -fPIC /usr/lib/gcc/riscv64-unknown-linux-gnu/7.3.1/../../../../riscv64-unknown-linux-gnu/bin/ld: /usr/lib/libcurses.a(comp_userdefs.o): relocation R_RISCV_HI20 against `a local symbol' can not be used when making a shared object; recompile with -fPIC /usr/lib/gcc/riscv64-unknown-linux-gnu/7.3.1/../../../../riscv64-unknown-linux-gnu/bin/ld: /usr/lib/libcurses.a(db_iterator.o): relocation R_RISCV_HI20 against `_nc_globals' can not be used when making a shared object; recompile with -fPIC /usr/lib/gcc/riscv64-unknown-linux-gnu/7.3.1/../../../../riscv64-unknown-linux-gnu/bin/ld: /usr/lib/libcurses.a(entries.o): relocation R_RISCV_HI20 against `_nc_head' can not be used when making a shared object; recompile with -fPIC /usr/lib/gcc/riscv64-unknown-linux-gnu/7.3.1/../../../../riscv64-unknown-linux-gnu/bin/ld: /usr/lib/libcurses.a(free_ttype.o): relocation R_RISCV_HI20 against `_nc_head' can not be used when making a shared object; recompile with -fPIC /usr/lib/gcc/riscv64-unknown-linux-gnu/7.3.1/../../../../riscv64-unknown-linux-gnu/bin/ld: /usr/lib/libcurses.a(getenv_num.o): relocation R_RISCV_HI20 against `a local symbol' can not be used when making a shared object; recompile with -fPIC /usr/lib/gcc/riscv64-unknown-linux-gnu/7.3.1/../../../../riscv64-unknown-linux-gnu/bin/ld: /usr/lib/libcurses.a(home_terminfo.o): relocation R_RISCV_HI20 against `_nc_globals' can not be used when making a shared object; recompile with -fPIC /usr/lib/gcc/riscv64-unknown-linux-gnu/7.3.1/../../../../riscv64-unknown-linux-gnu/bin/ld: /usr/lib/libcurses.a(lib_baudrate.o): relocation R_RISCV_HI20 against `a local symbol' can not be used when making a shared object; recompile with -fPIC /usr/lib/gcc/riscv64-unknown-linux-gnu/7.3.1/../../../../riscv64-unknown-linux-gnu/bin/ld: /usr/lib/libcurses.a(lib_napms.o): relocation R_RISCV_HI20 against `SP' can not be used when making a shared object; recompile with -fPIC /usr/lib/gcc/riscv64-unknown-linux-gnu/7.3.1/../../../../riscv64-unknown-linux-gnu/bin/ld: /usr/lib/libcurses.a(lib_options.o): relocation R_RISCV_HI20 against `cur_term' can not be used when making a shared object; recompile with -fPIC /usr/lib/gcc/riscv64-unknown-linux-gnu/7.3.1/../../../../riscv64-unknown-linux-gnu/bin/ld: /usr/lib/libcurses.a(lib_raw.o): relocation R_RISCV_HI20 against `cur_term' can not be used when making a shared object; recompile with -fPIC /usr/lib/gcc/riscv64-unknown-linux-gnu/7.3.1/../../../../riscv64-unknown-linux-gnu/bin/ld: /usr/lib/libcurses.a(comp_captab.o): relocation R_RISCV_HI20 against `a local symbol' can not be used when making a shared object; recompile with -fPIC /usr/lib/gcc/riscv64-unknown-linux-gnu/7.3.1/../../../../riscv64-unknown-linux-gnu/bin/ld: /usr/lib/libcurses.a(init_keytry.o): relocation R_RISCV_HI20 against `a local symbol' can not be used when making a shared object; recompile with -fPIC /usr/lib/gcc/riscv64-unknown-linux-gnu/7.3.1/../../../../riscv64-unknown-linux-gnu/bin/ld: /usr/lib/libcurses.a(lib_has_cap.o): relocation R_RISCV_HI20 against `cur_term' can not be used when making a shared object; recompile with -fPIC /usr/lib/gcc/riscv64-unknown-linux-gnu/7.3.1/../../../../riscv64-unknown-linux-gnu/bin/ld: /usr/lib/libcurses.a(key_defined.o): relocation R_RISCV_HI20 against `SP' can not be used when making a shared object; recompile with -fPIC /usr/lib/gcc/riscv64-unknown-linux-gnu/7.3.1/../../../../riscv64-unknown-linux-gnu/bin/ld: unresolvable R_RISCV_CALL relocation against symbol `fopen@@GLIBC_2.27' /usr/lib/gcc/riscv64-unknown-linux-gnu/7.3.1/../../../../riscv64-unknown-linux-gnu/bin/ld: unresolvable R_RISCV_CALL relocation against symbol `ioctl@@GLIBC_2.27' /usr/lib/gcc/riscv64-unknown-linux-gnu/7.3.1/../../../../riscv64-unknown-linux-gnu/bin/ld: unresolvable R_RISCV_HI20 relocation against symbol `stdout@@GLIBC_2.27' /usr/lib/gcc/riscv64-unknown-linux-gnu/7.3.1/../../../../riscv64-unknown-linux-gnu/bin/ld: unresolvable R_RISCV_CALL relocation against symbol `tcgetattr@@GLIBC_2.27' /usr/lib/gcc/riscv64-unknown-linux-gnu/7.3.1/../../../../riscv64-unknown-linux-gnu/bin/ld: unresolvable R_RISCV_HI20 relocation against symbol `stderr@@GLIBC_2.27' [2273/3391] Building CXX object tools/clang/lib/Parse/CMakeFiles/obj.clangParse.dir/ParseDeclCXX.cpp.o In file included from /home/package_building/llvm-11.1.0.src/tools/clang/include/clang/Basic/LLVM.h:21:0, from /home/package_building/llvm-11.1.0.src/tools/clang/include/clang/Basic/SourceLocation.h:17, from /home/package_building/llvm-11.1.0.src/tools/clang/include/clang/AST/Availability.h:16, from /home/package_building/llvm-11.1.0.src/tools/clang/include/clang/Parse/Parser.h:16, from /home/package_building/llvm-11.1.0.src/tools/clang/lib/Parse/ParseDeclCXX.cpp:13: /home/package_building/llvm-11.1.0.src/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /home/package_building/llvm-11.1.0.src/include/llvm/Support/Casting.h:215:68: required from 'struct llvm::cast_retty' /home/package_building/llvm-11.1.0.src/include/llvm/Support/Casting.h:334:1: required by substitution of 'template std::enable_if_t<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type> llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /home/package_building/llvm-11.1.0.src/tools/clang/include/clang/AST/Stmt.h:1664:65: required from here /home/package_building/llvm-11.1.0.src/include/llvm/Support/Casting.h:45:69: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type {aka const clang::Stmt*}' [-Wignored-attributes] typename add_lvalue_reference_if_not_pointer::type; ^ /home/package_building/llvm-11.1.0.src/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /home/package_building/llvm-11.1.0.src/include/llvm/Support/Casting.h:334:1: required by substitution of 'template std::enable_if_t<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type> llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /home/package_building/llvm-11.1.0.src/tools/clang/include/clang/AST/Stmt.h:1664:65: required from here /home/package_building/llvm-11.1.0.src/include/llvm/Support/Casting.h:215:68: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType {aka const clang::Stmt*}' [-Wignored-attributes] To, From, typename simplify_type::SimpleType>::ret_type; ^ /home/package_building/llvm-11.1.0.src/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /home/package_building/llvm-11.1.0.src/include/llvm/Support/Casting.h:290:1: required by substitution of 'template std::enable_if_t<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type> llvm::cast_or_null(const Y&) [with X = clang::CallExpr; Y = const clang::Stmt*]' /home/package_building/llvm-11.1.0.src/tools/clang/include/clang/AST/ExprCXX.h:259:52: required from here /home/package_building/llvm-11.1.0.src/include/llvm/Support/Casting.h:215:68: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType {aka const clang::Stmt*}' [-Wignored-attributes] /home/package_building/llvm-11.1.0.src/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /home/package_building/llvm-11.1.0.src/include/llvm/Support/Casting.h:345:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /home/package_building/llvm-11.1.0.src/tools/clang/include/clang/AST/Stmt.h:1664:65: required from here /home/package_building/llvm-11.1.0.src/include/llvm/Support/Casting.h:143:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType {aka const clang::Stmt*}' [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ /home/package_building/llvm-11.1.0.src/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CallExpr; Y = const clang::Stmt*]': /home/package_building/llvm-11.1.0.src/include/llvm/Support/Casting.h:311:3: required from 'typename llvm::cast_retty::ret_type llvm::cast_or_null(Y*) [with X = clang::CallExpr; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CallExpr*]' /home/package_building/llvm-11.1.0.src/tools/clang/include/clang/AST/ExprCXX.h:259:52: required from here /home/package_building/llvm-11.1.0.src/include/llvm/Support/Casting.h:143:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType {aka const clang::Stmt*}' [-Wignored-attributes] [2274/3391] Building CXX object tools/clang/lib/Parse/CMakeFiles/obj.clangParse.dir/ParseExpr.cpp.o In file included from /home/package_building/llvm-11.1.0.src/tools/clang/include/clang/Basic/LLVM.h:21:0, from /home/package_building/llvm-11.1.0.src/tools/clang/include/clang/Basic/SourceLocation.h:17, from /home/package_building/llvm-11.1.0.src/tools/clang/include/clang/AST/Availability.h:16, from /home/package_building/llvm-11.1.0.src/tools/clang/include/clang/Parse/Parser.h:16, from /home/package_building/llvm-11.1.0.src/tools/clang/lib/Parse/ParseExpr.cpp:23: /home/package_building/llvm-11.1.0.src/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /home/package_building/llvm-11.1.0.src/include/llvm/Support/Casting.h:215:68: required from 'struct llvm::cast_retty' /home/package_building/llvm-11.1.0.src/include/llvm/Support/Casting.h:334:1: required by substitution of 'template std::enable_if_t<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type> llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /home/package_building/llvm-11.1.0.src/tools/clang/include/clang/AST/Stmt.h:1664:65: required from here /home/package_building/llvm-11.1.0.src/include/llvm/Support/Casting.h:45:69: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type {aka const clang::Stmt*}' [-Wignored-attributes] typename add_lvalue_reference_if_not_pointer::type; ^ /home/package_building/llvm-11.1.0.src/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /home/package_building/llvm-11.1.0.src/include/llvm/Support/Casting.h:334:1: required by substitution of 'template std::enable_if_t<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type> llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /home/package_building/llvm-11.1.0.src/tools/clang/include/clang/AST/Stmt.h:1664:65: required from here /home/package_building/llvm-11.1.0.src/include/llvm/Support/Casting.h:215:68: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType {aka const clang::Stmt*}' [-Wignored-attributes] To, From, typename simplify_type::SimpleType>::ret_type; ^ /home/package_building/llvm-11.1.0.src/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /home/package_building/llvm-11.1.0.src/include/llvm/Support/Casting.h:290:1: required by substitution of 'template std::enable_if_t<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type> llvm::cast_or_null(const Y&) [with X = clang::CallExpr; Y = const clang::Stmt*]' /home/package_building/llvm-11.1.0.src/tools/clang/include/clang/AST/ExprCXX.h:259:52: required from here /home/package_building/llvm-11.1.0.src/include/llvm/Support/Casting.h:215:68: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType {aka const clang::Stmt*}' [-Wignored-attributes] /home/package_building/llvm-11.1.0.src/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /home/package_building/llvm-11.1.0.src/include/llvm/Support/Casting.h:345:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /home/package_building/llvm-11.1.0.src/tools/clang/include/clang/AST/Stmt.h:1664:65: required from here /home/package_building/llvm-11.1.0.src/include/llvm/Support/Casting.h:143:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType {aka const clang::Stmt*}' [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ /home/package_building/llvm-11.1.0.src/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CallExpr; Y = const clang::Stmt*]': /home/package_building/llvm-11.1.0.src/include/llvm/Support/Casting.h:311:3: required from 'typename llvm::cast_retty::ret_type llvm::cast_or_null(Y*) [with X = clang::CallExpr; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CallExpr*]' /home/package_building/llvm-11.1.0.src/tools/clang/include/clang/AST/ExprCXX.h:259:52: required from here /home/package_building/llvm-11.1.0.src/include/llvm/Support/Casting.h:143:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType {aka const clang::Stmt*}' [-Wignored-attributes] [2276/3391] Building CXX object tools/clang/lib/Parse/CMakeFiles/obj.clangParse.dir/ParseInit.cpp.o In file included from /home/package_building/llvm-11.1.0.src/tools/clang/include/clang/Basic/LLVM.h:21:0, from /home/package_building/llvm-11.1.0.src/tools/clang/include/clang/Basic/DiagnosticIDs.h:17, from /home/package_building/llvm-11.1.0.src/tools/clang/include/clang/Basic/Diagnostic.h:17, from /home/package_building/llvm-11.1.0.src/tools/clang/include/clang/Basic/DiagnosticParse.h:12, from /home/package_building/llvm-11.1.0.src/tools/clang/include/clang/Parse/ParseDiagnostic.h:12, from /home/package_building/llvm-11.1.0.src/tools/clang/lib/Parse/ParseInit.cpp:14: /home/package_building/llvm-11.1.0.src/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /home/package_building/llvm-11.1.0.src/include/llvm/Support/Casting.h:215:68: required from 'struct llvm::cast_retty' /home/package_building/llvm-11.1.0.src/include/llvm/Support/Casting.h:334:1: required by substitution of 'template std::enable_if_t<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type> llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /home/package_building/llvm-11.1.0.src/tools/clang/include/clang/AST/Stmt.h:1664:65: required from here /home/package_building/llvm-11.1.0.src/include/llvm/Support/Casting.h:45:69: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type {aka const clang::Stmt*}' [-Wignored-attributes] typename add_lvalue_reference_if_not_pointer::type; ^ /home/package_building/llvm-11.1.0.src/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /home/package_building/llvm-11.1.0.src/include/llvm/Support/Casting.h:334:1: required by substitution of 'template std::enable_if_t<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type> llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /home/package_building/llvm-11.1.0.src/tools/clang/include/clang/AST/Stmt.h:1664:65: required from here /home/package_building/llvm-11.1.0.src/include/llvm/Support/Casting.h:215:68: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType {aka const clang::Stmt*}' [-Wignored-attributes] To, From, typename simplify_type::SimpleType>::ret_type; ^ /home/package_building/llvm-11.1.0.src/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /home/package_building/llvm-11.1.0.src/include/llvm/Support/Casting.h:290:1: required by substitution of 'template std::enable_if_t<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type> llvm::cast_or_null(const Y&) [with X = clang::CallExpr; Y = const clang::Stmt*]' /home/package_building/llvm-11.1.0.src/tools/clang/include/clang/AST/ExprCXX.h:259:52: required from here /home/package_building/llvm-11.1.0.src/include/llvm/Support/Casting.h:215:68: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType {aka const clang::Stmt*}' [-Wignored-attributes] /home/package_building/llvm-11.1.0.src/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /home/package_building/llvm-11.1.0.src/include/llvm/Support/Casting.h:345:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /home/package_building/llvm-11.1.0.src/tools/clang/include/clang/AST/Stmt.h:1664:65: required from here /home/package_building/llvm-11.1.0.src/include/llvm/Support/Casting.h:143:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType {aka const clang::Stmt*}' [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ /home/package_building/llvm-11.1.0.src/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CallExpr; Y = const clang::Stmt*]': /home/package_building/llvm-11.1.0.src/include/llvm/Support/Casting.h:311:3: required from 'typename llvm::cast_retty::ret_type llvm::cast_or_null(Y*) [with X = clang::CallExpr; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CallExpr*]' /home/package_building/llvm-11.1.0.src/tools/clang/include/clang/AST/ExprCXX.h:259:52: required from here /home/package_building/llvm-11.1.0.src/include/llvm/Support/Casting.h:143:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType {aka const clang::Stmt*}' [-Wignored-attributes] [2277/3391] Building CXX object tools/clang/lib/Parse/CMakeFiles/obj.clangParse.dir/ParseExprCXX.cpp.o In file included from /home/package_building/llvm-11.1.0.src/tools/clang/include/clang/Basic/LLVM.h:21:0, from /home/package_building/llvm-11.1.0.src/tools/clang/include/clang/Basic/SourceLocation.h:17, from /home/package_building/llvm-11.1.0.src/tools/clang/include/clang/AST/Availability.h:16, from /home/package_building/llvm-11.1.0.src/tools/clang/include/clang/Parse/Parser.h:16, from /home/package_building/llvm-11.1.0.src/tools/clang/lib/Parse/ParseExprCXX.cpp:12: /home/package_building/llvm-11.1.0.src/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /home/package_building/llvm-11.1.0.src/include/llvm/Support/Casting.h:215:68: required from 'struct llvm::cast_retty' /home/package_building/llvm-11.1.0.src/include/llvm/Support/Casting.h:334:1: required by substitution of 'template std::enable_if_t<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type> llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /home/package_building/llvm-11.1.0.src/tools/clang/include/clang/AST/Stmt.h:1664:65: required from here /home/package_building/llvm-11.1.0.src/include/llvm/Support/Casting.h:45:69: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type {aka const clang::Stmt*}' [-Wignored-attributes] typename add_lvalue_reference_if_not_pointer::type; ^ /home/package_building/llvm-11.1.0.src/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /home/package_building/llvm-11.1.0.src/include/llvm/Support/Casting.h:334:1: required by substitution of 'template std::enable_if_t<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type> llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /home/package_building/llvm-11.1.0.src/tools/clang/include/clang/AST/Stmt.h:1664:65: required from here /home/package_building/llvm-11.1.0.src/include/llvm/Support/Casting.h:215:68: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType {aka const clang::Stmt*}' [-Wignored-attributes] To, From, typename simplify_type::SimpleType>::ret_type; ^ /home/package_building/llvm-11.1.0.src/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /home/package_building/llvm-11.1.0.src/include/llvm/Support/Casting.h:290:1: required by substitution of 'template std::enable_if_t<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type> llvm::cast_or_null(const Y&) [with X = clang::CallExpr; Y = const clang::Stmt*]' /home/package_building/llvm-11.1.0.src/tools/clang/include/clang/AST/ExprCXX.h:259:52: required from here /home/package_building/llvm-11.1.0.src/include/llvm/Support/Casting.h:215:68: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType {aka const clang::Stmt*}' [-Wignored-attributes] /home/package_building/llvm-11.1.0.src/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /home/package_building/llvm-11.1.0.src/include/llvm/Support/Casting.h:345:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /home/package_building/llvm-11.1.0.src/tools/clang/include/clang/AST/Stmt.h:1664:65: required from here /home/package_building/llvm-11.1.0.src/include/llvm/Support/Casting.h:143:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType {aka const clang::Stmt*}' [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ /home/package_building/llvm-11.1.0.src/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CallExpr; Y = const clang::Stmt*]': /home/package_building/llvm-11.1.0.src/include/llvm/Support/Casting.h:311:3: required from 'typename llvm::cast_retty::ret_type llvm::cast_or_null(Y*) [with X = clang::CallExpr; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CallExpr*]' /home/package_building/llvm-11.1.0.src/tools/clang/include/clang/AST/ExprCXX.h:259:52: required from here /home/package_building/llvm-11.1.0.src/include/llvm/Support/Casting.h:143:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType {aka const clang::Stmt*}' [-Wignored-attributes] [2278/3391] Building CXX object tools/clang/lib/Parse/CMakeFiles/obj.clangParse.dir/ParseObjc.cpp.o In file included from /home/package_building/llvm-11.1.0.src/tools/clang/include/clang/Basic/LLVM.h:21:0, from /home/package_building/llvm-11.1.0.src/tools/clang/include/clang/Basic/DiagnosticIDs.h:17, from /home/package_building/llvm-11.1.0.src/tools/clang/include/clang/Basic/Diagnostic.h:17, from /home/package_building/llvm-11.1.0.src/tools/clang/include/clang/AST/NestedNameSpecifier.h:18, from /home/package_building/llvm-11.1.0.src/tools/clang/include/clang/AST/Type.h:21, from /home/package_building/llvm-11.1.0.src/tools/clang/include/clang/AST/CanonicalType.h:17, from /home/package_building/llvm-11.1.0.src/tools/clang/include/clang/AST/ASTContext.h:19, from /home/package_building/llvm-11.1.0.src/tools/clang/lib/Parse/ParseObjc.cpp:13: /home/package_building/llvm-11.1.0.src/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /home/package_building/llvm-11.1.0.src/include/llvm/Support/Casting.h:215:68: required from 'struct llvm::cast_retty' /home/package_building/llvm-11.1.0.src/include/llvm/Support/Casting.h:334:1: required by substitution of 'template std::enable_if_t<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type> llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /home/package_building/llvm-11.1.0.src/tools/clang/include/clang/AST/Stmt.h:1664:65: required from here /home/package_building/llvm-11.1.0.src/include/llvm/Support/Casting.h:45:69: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type {aka const clang::Stmt*}' [-Wignored-attributes] typename add_lvalue_reference_if_not_pointer::type; ^ /home/package_building/llvm-11.1.0.src/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /home/package_building/llvm-11.1.0.src/include/llvm/Support/Casting.h:334:1: required by substitution of 'template std::enable_if_t<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type> llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /home/package_building/llvm-11.1.0.src/tools/clang/include/clang/AST/Stmt.h:1664:65: required from here /home/package_building/llvm-11.1.0.src/include/llvm/Support/Casting.h:215:68: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType {aka const clang::Stmt*}' [-Wignored-attributes] To, From, typename simplify_type::SimpleType>::ret_type; ^ /home/package_building/llvm-11.1.0.src/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /home/package_building/llvm-11.1.0.src/include/llvm/Support/Casting.h:290:1: required by substitution of 'template std::enable_if_t<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type> llvm::cast_or_null(const Y&) [with X = clang::CallExpr; Y = const clang::Stmt*]' /home/package_building/llvm-11.1.0.src/tools/clang/include/clang/AST/ExprCXX.h:259:52: required from here /home/package_building/llvm-11.1.0.src/include/llvm/Support/Casting.h:215:68: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType {aka const clang::Stmt*}' [-Wignored-attributes] /home/package_building/llvm-11.1.0.src/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /home/package_building/llvm-11.1.0.src/include/llvm/Support/Casting.h:345:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /home/package_building/llvm-11.1.0.src/tools/clang/include/clang/AST/Stmt.h:1664:65: required from here /home/package_building/llvm-11.1.0.src/include/llvm/Support/Casting.h:143:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType {aka const clang::Stmt*}' [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ /home/package_building/llvm-11.1.0.src/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CallExpr; Y = const clang::Stmt*]': /home/package_building/llvm-11.1.0.src/include/llvm/Support/Casting.h:311:3: required from 'typename llvm::cast_retty::ret_type llvm::cast_or_null(Y*) [with X = clang::CallExpr; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CallExpr*]' /home/package_building/llvm-11.1.0.src/tools/clang/include/clang/AST/ExprCXX.h:259:52: required from here /home/package_building/llvm-11.1.0.src/include/llvm/Support/Casting.h:143:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType {aka const clang::Stmt*}' [-Wignored-attributes] ninja: build stopped: subcommand failed.