Closed emankov closed 2 years ago
Linking error occurs while linking against trunk LLVM 15.0.0git:
ld.lld: error: undefined symbol: clang::RISCV::RVVIntrinsic::computeBuiltinTypes(llvm::ArrayRef<clang::RISCV::PrototypeDescriptor>, bool, bool, bool, unsigned int) >>> referenced by SemaRISCVVectorLookup.cpp >>> SemaRISCVVectorLookup.cpp.o:((anonymous namespace)::RISCVIntrinsicManagerImpl::InitIntrinsicList()) in archive /long_pathname_so_that_rpms_can_package_the_debug_info/src/out/ubuntu-20.04/20.04/llvm/lib/libclangSema.a >>> referenced by SemaRISCVVectorLookup.cpp >>> SemaRISCVVectorLookup.cpp.o:((anonymous namespace)::RISCVIntrinsicManagerImpl::InitIntrinsicList()) in archive /long_pathname_so_that_rpms_can_package_the_debug_info/src/out/ubuntu-20.04/20.04/llvm/lib/libclangSema.a ld.lld: error: undefined symbol: clang::RISCV::RVVType::computeTypes(clang::RISCV::BasicType, int, unsigned int, llvm::ArrayRef<clang::RISCV::PrototypeDescriptor>) >>> referenced by SemaRISCVVectorLookup.cpp >>> SemaRISCVVectorLookup.cpp.o:((anonymous namespace)::RISCVIntrinsicManagerImpl::InitIntrinsicList()) in archive /long_pathname_so_that_rpms_can_package_the_debug_info/src/out/ubuntu-20.04/20.04/llvm/lib/libclangSema.a >>> referenced by SemaRISCVVectorLookup.cpp >>> SemaRISCVVectorLookup.cpp.o:((anonymous namespace)::RISCVIntrinsicManagerImpl::InitIntrinsicList()) in archive /long_pathname_so_that_rpms_can_package_the_debug_info/src/out/ubuntu-20.04/20.04/llvm/lib/libclangSema.a ld.lld: error: undefined symbol: clang::RISCV::RVVIntrinsic::getSuffixStr[abi:cxx11](clang::RISCV::BasicType, int, llvm::ArrayRef<clang::RISCV::PrototypeDescriptor>) >>> referenced by SemaRISCVVectorLookup.cpp >>> SemaRISCVVectorLookup.cpp.o:((anonymous namespace)::RISCVIntrinsicManagerImpl::InitIntrinsicList()) in archive /long_pathname_so_that_rpms_can_package_the_debug_info/src/out/ubuntu-20.04/20.04/llvm/lib/libclangSema.a >>> referenced by SemaRISCVVectorLookup.cpp >>> SemaRISCVVectorLookup.cpp.o:((anonymous namespace)::RISCVIntrinsicManagerImpl::InitIntrinsicList()) in archive /long_pathname_so_that_rpms_can_package_the_debug_info/src/out/ubuntu-20.04/20.04/llvm/lib/libclangSema.a clang-15: error: linker command failed with exit code 1 (use -v to see invocation)
Fixed with #604
Linking error occurs while linking against trunk LLVM 15.0.0git: