satacker

Untitled

Jul 29th, 2023
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 15.82 KB | None | 0 0
  1. 189/194] Linking CXX executable backend/chplx
  2. FAILED: backend/chplx
  3. : && /opt/apps/llvm/15.0.7/bin/clang++ -stdlib=libc++ -g -fuse-ld=lld backend/CMakeFiles/chplx.dir/src/symboltypes.cpp.o backend/CMakeFiles/chplx.dir/src/symbolbuildingvisitor.cpp.o backend/CMakeFiles/chplx.dir/src/programtree.cpp.o backend/CMakeFiles/chplx.dir/src/programtreebuildingvisitor.cpp.o backend/CMakeFiles/chplx.dir/src/codegenvisitor.cpp.o backend/CMakeFiles/chplx.dir/src/cmakegen.cpp.o backend/CMakeFiles/chplx.dir/src/driver.cpp.o backend/CMakeFiles/chplx.dir/src/util.cpp.o -o backend/chplx -L/work/satacker/chplx/backend/../build/frontend/lib -Wl,-rpath,/work/satacker/chplx/backend/../build/frontend/lib:/work/satacker/chplx/build/frontend/lib frontend/lib/libChplFrontend.so /opt/apps/llvm/15.0.7/lib/libLLVMSupport.a /opt/apps/llvm/15.0.7/lib/libLLVMCore.a /opt/apps/llvm/15.0.7/lib/libLLVMIRReader.a /opt/apps/llvm/15.0.7/lib/libLLVMAsmParser.a /opt/apps/llvm/15.0.7/lib/libLLVMBitReader.a /opt/apps/llvm/15.0.7/lib/libLLVMCore.a /opt/apps/llvm/15.0.7/lib/libLLVMBinaryFormat.a /opt/apps/llvm/15.0.7/lib/libLLVMRemarks.a /opt/apps/llvm/15.0.7/lib/libLLVMBitstreamReader.a /opt/apps/llvm/15.0.7/lib/libLLVMSupport.a -lrt -ldl -lpthread -lm /usr/lib64/libz.so /usr/lib64/libzstd.so /usr/lib64/libtinfo.so /opt/apps/llvm/15.0.7/lib/libLLVMDemangle.a && :
  4. ld.lld: error: undefined symbol: std::__throw_system_error(int)
  5. >>> referenced by ErrorHandling.cpp
  6. >>> ErrorHandling.cpp.o:(std::mutex::lock()) in archive /opt/apps/llvm/15.0.7/lib/libLLVMSupport.a
  7. >>> referenced by ErrorHandling.cpp
  8. >>> ErrorHandling.cpp.o:(llvm::install_fatal_error_handler(void (*)(void*, char const*, bool), void*)) in archive /opt/apps/llvm/15.0.7/lib/libLLVMSupport.a
  9. >>> referenced by ErrorHandling.cpp
  10. >>> ErrorHandling.cpp.o:(llvm::remove_fatal_error_handler()) in archive /opt/apps/llvm/15.0.7/lib/libLLVMSupport.a
  11. >>> referenced 27 more times
  12.  
  13. ld.lld: error: undefined symbol: std::__throw_bad_function_call()
  14. >>> referenced by Debug.cpp
  15. >>> Debug.cpp.o:(llvm::cl::opt<bool, true, llvm::cl::parser<bool>>::handleOccurrence(unsigned int, llvm::StringRef, llvm::StringRef)) in archive /opt/apps/llvm/15.0.7/lib/libLLVMSupport.a
  16. >>> referenced by Debug.cpp
  17. >>> Debug.cpp.o:(llvm::cl::opt<(anonymous namespace)::DebugOnlyOpt, true, llvm::cl::parser<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>>::handleOccurrence(unsigned int, llvm::StringRef, llvm::StringRef)) in archive /opt/apps/llvm/15.0.7/lib/libLLVMSupport.a
  18. >>> referenced by CommandLine.cpp
  19. >>> CommandLine.cpp.o:(llvm::cl::opt<char, false, llvm::cl::parser<char>>::handleOccurrence(unsigned int, llvm::StringRef, llvm::StringRef)) in archive /opt/apps/llvm/15.0.7/lib/libLLVMSupport.a
  20. >>> referenced 12 more times
  21.  
  22. ld.lld: error: undefined symbol: std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>::compare(char const*) const
  23. >>> referenced by Debug.cpp
  24. >>> Debug.cpp.o:(llvm::isCurrentDebugType(char const*)) in archive /opt/apps/llvm/15.0.7/lib/libLLVMSupport.a
  25. >>> referenced by CommandLine.cpp
  26. >>> CommandLine.cpp.o:((anonymous namespace)::VersionPrinter::print() (.isra.395)) in archive /opt/apps/llvm/15.0.7/lib/libLLVMSupport.a
  27. >>> referenced by Timer.cpp
  28. >>> Timer.cpp.o:(llvm::CreateInfoOutputFile() (.localalias.17)) in archive /opt/apps/llvm/15.0.7/lib/libLLVMSupport.a
  29. >>> referenced 2 more times
  30.  
  31. ld.lld: error: undefined symbol: std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>::_M_create(unsigned long&, unsigned long)
  32. >>> referenced by Debug.cpp
  33. >>> Debug.cpp.o:(llvm::cl::opt<(anonymous namespace)::DebugOnlyOpt, true, llvm::cl::parser<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>>::handleOccurrence(unsigned int, llvm::StringRef, llvm::StringRef)) in archive /opt/apps/llvm/15.0.7/lib/libLLVMSupport.a
  34. >>> referenced by Debug.cpp
  35. >>> Debug.cpp.o:(llvm::cl::opt<(anonymous namespace)::DebugOnlyOpt, true, llvm::cl::parser<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>>::handleOccurrence(unsigned int, llvm::StringRef, llvm::StringRef)) in archive /opt/apps/llvm/15.0.7/lib/libLLVMSupport.a
  36. >>> referenced by Debug.cpp
  37. >>> Debug.cpp.o:(llvm::setCurrentDebugType(char const*)) in archive /opt/apps/llvm/15.0.7/lib/libLLVMSupport.a
  38. >>> referenced 141 more times
  39.  
  40. ld.lld: error: undefined symbol: std::__throw_logic_error(char const*)
  41. >>> referenced by Debug.cpp
  42. >>> Debug.cpp.o:(llvm::setCurrentDebugType(char const*)) in archive /opt/apps/llvm/15.0.7/lib/libLLVMSupport.a
  43. >>> referenced by Debug.cpp
  44. >>> Debug.cpp.o:(llvm::setCurrentDebugTypes(char const**, unsigned int)) in archive /opt/apps/llvm/15.0.7/lib/libLLVMSupport.a
  45. >>> referenced by CommandLine.cpp
  46. >>> CommandLine.cpp.o:(void std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>::_M_construct<char const*>(char const*, char const*, std::forward_iterator_tag) (.constprop.584)) in archive /opt/apps/llvm/15.0.7/lib/libLLVMSupport.a
  47. >>> referenced 37 more times
  48.  
  49. ld.lld: error: undefined symbol: std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>::_M_assign(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&)
  50. >>> referenced by CommandLine.cpp
  51. >>> CommandLine.cpp.o:(llvm::cl::opt<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, false, llvm::cl::parser<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>>::setDefault()) in archive /opt/apps/llvm/15.0.7/lib/libLLVMSupport.a
  52. >>> referenced by CommandLine.cpp
  53. >>> CommandLine.cpp.o:(llvm::cl::opt<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, false, llvm::cl::parser<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>>::setDefault()) in archive /opt/apps/llvm/15.0.7/lib/libLLVMSupport.a
  54. >>> referenced by CommandLine.cpp
  55. >>> CommandLine.cpp.o:(llvm::cl::opt<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, false, llvm::cl::parser<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>>::handleOccurrence(unsigned int, llvm::StringRef, llvm::StringRef)) in archive /opt/apps/llvm/15.0.7/lib/libLLVMSupport.a
  56. >>> referenced 71 more times
  57.  
  58. ld.lld: error: undefined symbol: std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>::operator=(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>&&)
  59. >>> referenced by CommandLine.cpp
  60. >>> CommandLine.cpp.o:(llvm::cl::opt<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, false, llvm::cl::parser<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>>::handleOccurrence(unsigned int, llvm::StringRef, llvm::StringRef)) in archive /opt/apps/llvm/15.0.7/lib/libLLVMSupport.a
  61. >>> referenced by CommandLine.cpp
  62. >>> CommandLine.cpp.o:(llvm::cl::ParseCommandLineOptions(int, char const* const*, llvm::StringRef, llvm::raw_ostream*, char const*, bool) (.localalias.16)) in archive /opt/apps/llvm/15.0.7/lib/libLLVMSupport.a
  63. >>> referenced by CommandLine.cpp
  64. >>> CommandLine.cpp.o:(llvm::cl::ParseCommandLineOptions(int, char const* const*, llvm::StringRef, llvm::raw_ostream*, char const*, bool) (.localalias.16)) in archive /opt/apps/llvm/15.0.7/lib/libLLVMSupport.a
  65. >>> referenced 51 more times
  66.  
  67. ld.lld: error: undefined symbol: std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>::_M_replace(unsigned long, unsigned long, char const*, unsigned long)
  68. >>> referenced by CommandLine.cpp
  69. >>> CommandLine.cpp.o:((anonymous namespace)::VersionPrinter::print() (.isra.395)) in archive /opt/apps/llvm/15.0.7/lib/libLLVMSupport.a
  70. >>> referenced by SmallVector.cpp
  71. >>> SmallVector.cpp.o:(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> std::operator+<char, std::char_traits<char>, std::allocator<char>>(char const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>&&)) in archive /opt/apps/llvm/15.0.7/lib/libLLVMSupport.a
  72. >>> referenced by SmallVector.cpp
  73. >>> SmallVector.cpp.o:(report_size_overflow(unsigned long, unsigned long) (.constprop.26)) in archive /opt/apps/llvm/15.0.7/lib/libLLVMSupport.a
  74. >>> referenced 28 more times
  75.  
  76. ld.lld: error: undefined symbol: std::_V2::generic_category()
  77. >>> referenced by CommandLine.cpp
  78. >>> CommandLine.cpp.o:(ExpandResponseFile(llvm::StringRef, llvm::StringSaver&, void (*)(llvm::StringRef, llvm::StringSaver&, llvm::SmallVectorImpl<char const*>&, bool), llvm::SmallVectorImpl<char const*>&, bool, bool, bool, llvm::vfs::FileSystem&)) in archive /opt/apps/llvm/15.0.7/lib/libLLVMSupport.a
  79. >>> referenced by VirtualFileSystem.cpp
  80. >>> VirtualFileSystem.cpp.o:(llvm::vfs::FileSystem::isLocal(llvm::Twine const&, bool&) (.localalias.31)) in archive /opt/apps/llvm/15.0.7/lib/libLLVMSupport.a
  81. >>> referenced by VirtualFileSystem.cpp
  82. >>> VirtualFileSystem.cpp.o:(llvm::vfs::InMemoryFileSystem::getRealPath(llvm::Twine const&, llvm::SmallVectorImpl<char>&) const (.localalias.47)) in archive /opt/apps/llvm/15.0.7/lib/libLLVMSupport.a
  83. >>> referenced 101 more times
  84.  
  85. ld.lld: error: undefined symbol: std::_V2::error_category::~error_category()
  86. >>> referenced by Error.cpp
  87. >>> Error.cpp.o:((anonymous namespace)::ErrorErrorCategory::~ErrorErrorCategory()) in archive /opt/apps/llvm/15.0.7/lib/libLLVMSupport.a
  88. >>> referenced by Error.cpp
  89. >>> Error.cpp.o:((anonymous namespace)::ErrorErrorCategory::~ErrorErrorCategory()) in archive /opt/apps/llvm/15.0.7/lib/libLLVMSupport.a
  90.  
  91. ld.lld: error: undefined symbol: std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>::reserve(unsigned long)
  92. >>> referenced by Error.cpp
  93. >>> Error.cpp.o:(llvm::StringError::log(llvm::raw_ostream&) const (.localalias.8)) in archive /opt/apps/llvm/15.0.7/lib/libLLVMSupport.a
  94. >>> referenced by Error.cpp
  95. >>> Error.cpp.o:(LLVMGetErrorMessage) in archive /opt/apps/llvm/15.0.7/lib/libLLVMSupport.a
  96. >>> referenced by Triple.cpp
  97. >>> Triple.cpp.o:(llvm::Triple::normalize[abi:cxx11](llvm::StringRef)) in archive /opt/apps/llvm/15.0.7/lib/libLLVMSupport.a
  98. >>> referenced 4 more times
  99.  
  100. ld.lld: error: undefined symbol: std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>::_M_append(char const*, unsigned long)
  101. >>> referenced by Error.cpp
  102. >>> Error.cpp.o:(llvm::StringError::log(llvm::raw_ostream&) const (.localalias.8)) in archive /opt/apps/llvm/15.0.7/lib/libLLVMSupport.a
  103. >>> referenced by Error.cpp
  104. >>> Error.cpp.o:(llvm::StringError::log(llvm::raw_ostream&) const (.localalias.8)) in archive /opt/apps/llvm/15.0.7/lib/libLLVMSupport.a
  105. >>> referenced by Error.cpp
  106. >>> Error.cpp.o:(LLVMGetErrorMessage) in archive /opt/apps/llvm/15.0.7/lib/libLLVMSupport.a
  107. >>> referenced 71 more times
  108.  
  109. ld.lld: error: undefined symbol: std::__throw_length_error(char const*)
  110. >>> referenced by Error.cpp
  111. >>> Error.cpp.o:(llvm::StringError::log(llvm::raw_ostream&) const (.localalias.8)) in archive /opt/apps/llvm/15.0.7/lib/libLLVMSupport.a
  112. >>> referenced by Error.cpp
  113. >>> Error.cpp.o:(LLVMGetErrorMessage) in archive /opt/apps/llvm/15.0.7/lib/libLLVMSupport.a
  114. >>> referenced by ConvertUTFWrapper.cpp
  115. >>> ConvertUTFWrapper.cpp.o:(llvm::convertUTF16ToUTF8String(llvm::ArrayRef<char>, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>&)) in archive /opt/apps/llvm/15.0.7/lib/libLLVMSupport.a
  116. >>> referenced 23 more times
  117.  
  118. ld.lld: error: undefined symbol: std::_V2::system_category()
  119. >>> referenced by Error.cpp
  120. >>> Error.cpp.o:(llvm::errorToErrorCode(llvm::Error)) in archive /opt/apps/llvm/15.0.7/lib/libLLVMSupport.a
  121. >>> referenced by RandomNumberGenerator.cpp
  122. >>> RandomNumberGenerator.cpp.o:(llvm::getRandomBytes(void*, unsigned long)) in archive /opt/apps/llvm/15.0.7/lib/libLLVMSupport.a
  123. >>> referenced by Timer.cpp
  124. >>> Timer.cpp.o:(llvm::CreateInfoOutputFile() (.localalias.17)) in archive /opt/apps/llvm/15.0.7/lib/libLLVMSupport.a
  125. >>> referenced 84 more times
  126.  
  127. ld.lld: error: undefined symbol: std::_V2::error_category::_M_message[abi:cxx11](int) const
  128. >>> referenced by Error.cpp
  129. >>> Error.cpp.o:(vtable for (anonymous namespace)::ErrorErrorCategory) in archive /opt/apps/llvm/15.0.7/lib/libLLVMSupport.a
  130.  
  131. ld.lld: error: undefined symbol: std::_V2::error_category::default_error_condition(int) const
  132. >>> referenced by Error.cpp
  133. >>> Error.cpp.o:(vtable for (anonymous namespace)::ErrorErrorCategory) in archive /opt/apps/llvm/15.0.7/lib/libLLVMSupport.a
  134.  
  135. ld.lld: error: undefined symbol: std::_V2::error_category::equivalent(int, std::error_condition const&) const
  136. >>> referenced by Error.cpp
  137. >>> Error.cpp.o:(vtable for (anonymous namespace)::ErrorErrorCategory) in archive /opt/apps/llvm/15.0.7/lib/libLLVMSupport.a
  138.  
  139. ld.lld: error: undefined symbol: std::_V2::error_category::equivalent(std::error_code const&, int) const
  140. >>> referenced by Error.cpp
  141. >>> Error.cpp.o:(vtable for (anonymous namespace)::ErrorErrorCategory) in archive /opt/apps/llvm/15.0.7/lib/libLLVMSupport.a
  142.  
  143. ld.lld: error: undefined symbol: std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>::resize(unsigned long, char)
  144. >>> referenced by ConvertUTFWrapper.cpp
  145. >>> ConvertUTFWrapper.cpp.o:(llvm::convertUTF16ToUTF8String(llvm::ArrayRef<char>, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>&)) in archive /opt/apps/llvm/15.0.7/lib/libLLVMSupport.a
  146. >>> referenced by ConvertUTFWrapper.cpp
  147. >>> ConvertUTFWrapper.cpp.o:(llvm::convertUTF16ToUTF8String(llvm::ArrayRef<char>, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>&)) in archive /opt/apps/llvm/15.0.7/lib/libLLVMSupport.a
  148. >>> referenced by ConvertUTFWrapper.cpp
  149. >>> ConvertUTFWrapper.cpp.o:(llvm::convertUTF16ToUTF8String(llvm::ArrayRef<unsigned short>, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>&)) in archive /opt/apps/llvm/15.0.7/lib/libLLVMSupport.a
  150. >>> referenced 10 more times
  151.  
  152. ld.lld: error: undefined symbol: std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>::_M_erase(unsigned long, unsigned long)
  153. >>> referenced by ConvertUTFWrapper.cpp
  154. >>> ConvertUTFWrapper.cpp.o:(llvm::convertUTF16ToUTF8String(llvm::ArrayRef<char>, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>&)) in archive /opt/apps/llvm/15.0.7/lib/libLLVMSupport.a
  155. >>> referenced by ConvertUTFWrapper.cpp
  156. >>> ConvertUTFWrapper.cpp.o:(llvm::convertUTF16ToUTF8String(llvm::ArrayRef<unsigned short>, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>&)) in archive /opt/apps/llvm/15.0.7/lib/libLLVMSupport.a
  157. >>> referenced by ConvertUTFWrapper.cpp
  158. >>> ConvertUTFWrapper.cpp.o:(llvm::convertUTF32ToUTF8String(llvm::ArrayRef<char>, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>&)) in archive /opt/apps/llvm/15.0.7/lib/libLLVMSupport.a
  159. >>> referenced 2 more times
  160.  
  161. ld.lld: error: too many errors emitted, stopping now (use --error-limit=0 to see all errors)
  162. clang-15: error: linker command failed with exit code 1 (use -v to see invocation)
  163. [192/194] Building CXX object library/CMakeFiles/library.dir/src/locale.cpp.o
  164. ninja: build stopped: subcommand failed.
  165. [satacker@rostam1 build]$
  166.  
Advertisement
Add Comment
Please, Sign In to add comment