[clang] [llvm] [ORC] Move DebugObjectManagerPlugin into Debugging/ELFDebugObjectPlugin (NFC) (PR #168343)
LLVM Continuous Integration via llvm-commits
llvm-commits at lists.llvm.org
Tue Nov 18 03:12:39 PST 2025
Stefan =?utf-8?q?Gränitz?= <stefan.graenitz at gmail.com>
Message-ID:
In-Reply-To: <llvm.org/llvm/llvm-project/pull/168343 at github.com>
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `hip-third-party-libs-test` running on `ext_buildbot_hw_05-hip-docker` while building `clang,llvm` at step 4 "annotate".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/206/builds/9192
<details>
<summary>Here is the relevant piece of the build log for the reference</summary>
```
Step 4 (annotate) failure: '../llvm-zorg/zorg/buildbot/builders/annotated/hip-tpl.py --jobs=32' (failure)
...
[6989/8205] Linking CXX shared library lib/libclangASTMatchers.so.22.0git
[6990/8205] Creating library symlink lib/libclangASTMatchers.so
[6991/8205] Building AMDGPUGenSubtargetInfo.inc...
[6992/8205] Linking CXX shared library lib/libMLIRTargetLLVM.so.22.0git
[6993/8205] Creating library symlink lib/libMLIRTargetLLVM.so
[6994/8205] Linking CXX shared library lib/libLLVMOrcJIT.so.22.0git
[6995/8205] Creating library symlink lib/libLLVMOrcJIT.so
[6996/8205] Linking CXX static library lib/libLLVMExegesis_static.a
[6997/8205] Linking CXX executable bin/lli-child-target
[6998/8205] Linking CXX shared library lib/libLLVMOrcDebugging.so.22.0git
FAILED: lib/libLLVMOrcDebugging.so.22.0git
: && /usr/bin/c++ -fPIC -fPIC -fno-semantic-interposition -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-uninitialized -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-array-bounds -Wno-stringop-overread -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG -Wl,-z,defs -Wl,-z,nodelete -Wl,-rpath-link,/home/botworker/bbot/hip-third-party-libs-test/build/./lib -Wl,--gc-sections -shared -Wl,-soname,libLLVMOrcDebugging.so.22.0git -o lib/libLLVMOrcDebugging.so.22.0git lib/ExecutionEngine/Orc/Debugging/CMakeFiles/LLVMOrcDebugging.dir/DebugInfoSupport.cpp.o lib/ExecutionEngine/Orc/Debugging/CMakeFiles/LLVMOrcDebugging.dir/DebuggerSupport.cpp.o lib/ExecutionEngine/Orc/Debugging/CMakeFiles/LLVMOrcDebugging.dir/DebuggerSupportPlugin.cpp.o lib/ExecutionEngine/Orc/Debugging/CMakeFiles/LLVMOrcDebugging.dir/ELFDebugObjectPlugin.cpp.o lib/ExecutionEngine/Orc/Debugging/CMakeFiles/LLVMOrcDebugging.dir/LLJITUtilsCBindings.cpp.o lib/ExecutionEngine/Orc/Debugging/CMakeFiles/LLVMOrcDebugging.dir/PerfSupportPlugin.cpp.o lib/ExecutionEngine/Orc/Debugging/CMakeFiles/LLVMOrcDebugging.dir/VTuneSupportPlugin.cpp.o -Wl,-rpath,"\$ORIGIN/../lib:/home/botworker/bbot/hip-third-party-libs-test/build/lib:" -lrt lib/libLLVMOrcJIT.so.22.0git lib/libLLVMJITLink.so.22.0git lib/libLLVMOrcShared.so.22.0git lib/libLLVMDebugInfoDWARF.so.22.0git lib/libLLVMBinaryFormat.so.22.0git lib/libLLVMTargetParser.so.22.0git lib/libLLVMSupport.so.22.0git -Wl,-rpath-link,/home/botworker/bbot/hip-third-party-libs-test/build/lib && :
/usr/bin/ld: lib/ExecutionEngine/Orc/Debugging/CMakeFiles/LLVMOrcDebugging.dir/ELFDebugObjectPlugin.cpp.o: in function `llvm::object::defaultWarningHandler(llvm::Twine const&)':
ELFDebugObjectPlugin.cpp:(.text._ZN4llvm6objectL21defaultWarningHandlerERKNS_5TwineE+0x15): undefined reference to `llvm::object::object_category()'
/usr/bin/ld: lib/ExecutionEngine/Orc/Debugging/CMakeFiles/LLVMOrcDebugging.dir/ELFDebugObjectPlugin.cpp.o: in function `llvm::Expected<std::unique_ptr<llvm::orc::ELFDebugObject, std::default_delete<llvm::orc::ELFDebugObject> > > llvm::orc::ELFDebugObject::CreateArchType<llvm::object::ELFType<(llvm::endianness)1, false> >(llvm::MemoryBufferRef, llvm::jitlink::JITLinkMemoryManager&, llvm::jitlink::JITLinkDylib const*, llvm::orc::ExecutionSession&)':
ELFDebugObjectPlugin.cpp:(.text._ZN4llvm3orc14ELFDebugObject14CreateArchTypeINS_6object7ELFTypeILNS_10endiannessE1ELb0EEEEENS_8ExpectedISt10unique_ptrIS1_St14default_deleteIS1_EEEENS_15MemoryBufferRefERNS_7jitlink20JITLinkMemoryManagerEPKNSE_12JITLinkDylibERNS0_16ExecutionSessionE[_ZN4llvm3orc14ELFDebugObject14CreateArchTypeINS_6object7ELFTypeILNS_10endiannessE1ELb0EEEEENS_8ExpectedISt10unique_ptrIS1_St14default_deleteIS1_EEEENS_15MemoryBufferRefERNS_7jitlink20JITLinkMemoryManagerEPKNSE_12JITLinkDylibERNS0_16ExecutionSessionE]+0x29d): undefined reference to `llvm::object::ELFFile<llvm::object::ELFType<(llvm::endianness)1, false> >::create(llvm::StringRef)'
/usr/bin/ld: ELFDebugObjectPlugin.cpp:(.text._ZN4llvm3orc14ELFDebugObject14CreateArchTypeINS_6object7ELFTypeILNS_10endiannessE1ELb0EEEEENS_8ExpectedISt10unique_ptrIS1_St14default_deleteIS1_EEEENS_15MemoryBufferRefERNS_7jitlink20JITLinkMemoryManagerEPKNSE_12JITLinkDylibERNS0_16ExecutionSessionE[_ZN4llvm3orc14ELFDebugObject14CreateArchTypeINS_6object7ELFTypeILNS_10endiannessE1ELb0EEEEENS_8ExpectedISt10unique_ptrIS1_St14default_deleteIS1_EEEENS_15MemoryBufferRefERNS_7jitlink20JITLinkMemoryManagerEPKNSE_12JITLinkDylibERNS0_16ExecutionSessionE]+0x341): undefined reference to `llvm::object::ELFFile<llvm::object::ELFType<(llvm::endianness)1, false> >::sections() const'
/usr/bin/ld: ELFDebugObjectPlugin.cpp:(.text._ZN4llvm3orc14ELFDebugObject14CreateArchTypeINS_6object7ELFTypeILNS_10endiannessE1ELb0EEEEENS_8ExpectedISt10unique_ptrIS1_St14default_deleteIS1_EEEENS_15MemoryBufferRefERNS_7jitlink20JITLinkMemoryManagerEPKNSE_12JITLinkDylibERNS0_16ExecutionSessionE[_ZN4llvm3orc14ELFDebugObject14CreateArchTypeINS_6object7ELFTypeILNS_10endiannessE1ELb0EEEEENS_8ExpectedISt10unique_ptrIS1_St14default_deleteIS1_EEEENS_15MemoryBufferRefERNS_7jitlink20JITLinkMemoryManagerEPKNSE_12JITLinkDylibERNS0_16ExecutionSessionE]+0x4d9): undefined reference to `llvm::object::ELFFile<llvm::object::ELFType<(llvm::endianness)1, false> >::getSectionName(llvm::object::Elf_Shdr_Impl<llvm::object::ELFType<(llvm::endianness)1, false> > const&, llvm::function_ref<llvm::Error (llvm::Twine const&)>) const'
/usr/bin/ld: lib/ExecutionEngine/Orc/Debugging/CMakeFiles/LLVMOrcDebugging.dir/ELFDebugObjectPlugin.cpp.o: in function `llvm::Expected<std::unique_ptr<llvm::orc::ELFDebugObject, std::default_delete<llvm::orc::ELFDebugObject> > > llvm::orc::ELFDebugObject::CreateArchType<llvm::object::ELFType<(llvm::endianness)0, false> >(llvm::MemoryBufferRef, llvm::jitlink::JITLinkMemoryManager&, llvm::jitlink::JITLinkDylib const*, llvm::orc::ExecutionSession&)':
ELFDebugObjectPlugin.cpp:(.text._ZN4llvm3orc14ELFDebugObject14CreateArchTypeINS_6object7ELFTypeILNS_10endiannessE0ELb0EEEEENS_8ExpectedISt10unique_ptrIS1_St14default_deleteIS1_EEEENS_15MemoryBufferRefERNS_7jitlink20JITLinkMemoryManagerEPKNSE_12JITLinkDylibERNS0_16ExecutionSessionE[_ZN4llvm3orc14ELFDebugObject14CreateArchTypeINS_6object7ELFTypeILNS_10endiannessE0ELb0EEEEENS_8ExpectedISt10unique_ptrIS1_St14default_deleteIS1_EEEENS_15MemoryBufferRefERNS_7jitlink20JITLinkMemoryManagerEPKNSE_12JITLinkDylibERNS0_16ExecutionSessionE]+0x29d): undefined reference to `llvm::object::ELFFile<llvm::object::ELFType<(llvm::endianness)0, false> >::create(llvm::StringRef)'
/usr/bin/ld: ELFDebugObjectPlugin.cpp:(.text._ZN4llvm3orc14ELFDebugObject14CreateArchTypeINS_6object7ELFTypeILNS_10endiannessE0ELb0EEEEENS_8ExpectedISt10unique_ptrIS1_St14default_deleteIS1_EEEENS_15MemoryBufferRefERNS_7jitlink20JITLinkMemoryManagerEPKNSE_12JITLinkDylibERNS0_16ExecutionSessionE[_ZN4llvm3orc14ELFDebugObject14CreateArchTypeINS_6object7ELFTypeILNS_10endiannessE0ELb0EEEEENS_8ExpectedISt10unique_ptrIS1_St14default_deleteIS1_EEEENS_15MemoryBufferRefERNS_7jitlink20JITLinkMemoryManagerEPKNSE_12JITLinkDylibERNS0_16ExecutionSessionE]+0x341): undefined reference to `llvm::object::ELFFile<llvm::object::ELFType<(llvm::endianness)0, false> >::sections() const'
/usr/bin/ld: ELFDebugObjectPlugin.cpp:(.text._ZN4llvm3orc14ELFDebugObject14CreateArchTypeINS_6object7ELFTypeILNS_10endiannessE0ELb0EEEEENS_8ExpectedISt10unique_ptrIS1_St14default_deleteIS1_EEEENS_15MemoryBufferRefERNS_7jitlink20JITLinkMemoryManagerEPKNSE_12JITLinkDylibERNS0_16ExecutionSessionE[_ZN4llvm3orc14ELFDebugObject14CreateArchTypeINS_6object7ELFTypeILNS_10endiannessE0ELb0EEEEENS_8ExpectedISt10unique_ptrIS1_St14default_deleteIS1_EEEENS_15MemoryBufferRefERNS_7jitlink20JITLinkMemoryManagerEPKNSE_12JITLinkDylibERNS0_16ExecutionSessionE]+0x4d9): undefined reference to `llvm::object::ELFFile<llvm::object::ELFType<(llvm::endianness)0, false> >::getSectionName(llvm::object::Elf_Shdr_Impl<llvm::object::ELFType<(llvm::endianness)0, false> > const&, llvm::function_ref<llvm::Error (llvm::Twine const&)>) const'
/usr/bin/ld: lib/ExecutionEngine/Orc/Debugging/CMakeFiles/LLVMOrcDebugging.dir/ELFDebugObjectPlugin.cpp.o: in function `llvm::Expected<std::unique_ptr<llvm::orc::ELFDebugObject, std::default_delete<llvm::orc::ELFDebugObject> > > llvm::orc::ELFDebugObject::CreateArchType<llvm::object::ELFType<(llvm::endianness)1, true> >(llvm::MemoryBufferRef, llvm::jitlink::JITLinkMemoryManager&, llvm::jitlink::JITLinkDylib const*, llvm::orc::ExecutionSession&)':
ELFDebugObjectPlugin.cpp:(.text._ZN4llvm3orc14ELFDebugObject14CreateArchTypeINS_6object7ELFTypeILNS_10endiannessE1ELb1EEEEENS_8ExpectedISt10unique_ptrIS1_St14default_deleteIS1_EEEENS_15MemoryBufferRefERNS_7jitlink20JITLinkMemoryManagerEPKNSE_12JITLinkDylibERNS0_16ExecutionSessionE[_ZN4llvm3orc14ELFDebugObject14CreateArchTypeINS_6object7ELFTypeILNS_10endiannessE1ELb1EEEEENS_8ExpectedISt10unique_ptrIS1_St14default_deleteIS1_EEEENS_15MemoryBufferRefERNS_7jitlink20JITLinkMemoryManagerEPKNSE_12JITLinkDylibERNS0_16ExecutionSessionE]+0x29d): undefined reference to `llvm::object::ELFFile<llvm::object::ELFType<(llvm::endianness)1, true> >::create(llvm::StringRef)'
/usr/bin/ld: ELFDebugObjectPlugin.cpp:(.text._ZN4llvm3orc14ELFDebugObject14CreateArchTypeINS_6object7ELFTypeILNS_10endiannessE1ELb1EEEEENS_8ExpectedISt10unique_ptrIS1_St14default_deleteIS1_EEEENS_15MemoryBufferRefERNS_7jitlink20JITLinkMemoryManagerEPKNSE_12JITLinkDylibERNS0_16ExecutionSessionE[_ZN4llvm3orc14ELFDebugObject14CreateArchTypeINS_6object7ELFTypeILNS_10endiannessE1ELb1EEEEENS_8ExpectedISt10unique_ptrIS1_St14default_deleteIS1_EEEENS_15MemoryBufferRefERNS_7jitlink20JITLinkMemoryManagerEPKNSE_12JITLinkDylibERNS0_16ExecutionSessionE]+0x341): undefined reference to `llvm::object::ELFFile<llvm::object::ELFType<(llvm::endianness)1, true> >::sections() const'
/usr/bin/ld: ELFDebugObjectPlugin.cpp:(.text._ZN4llvm3orc14ELFDebugObject14CreateArchTypeINS_6object7ELFTypeILNS_10endiannessE1ELb1EEEEENS_8ExpectedISt10unique_ptrIS1_St14default_deleteIS1_EEEENS_15MemoryBufferRefERNS_7jitlink20JITLinkMemoryManagerEPKNSE_12JITLinkDylibERNS0_16ExecutionSessionE[_ZN4llvm3orc14ELFDebugObject14CreateArchTypeINS_6object7ELFTypeILNS_10endiannessE1ELb1EEEEENS_8ExpectedISt10unique_ptrIS1_St14default_deleteIS1_EEEENS_15MemoryBufferRefERNS_7jitlink20JITLinkMemoryManagerEPKNSE_12JITLinkDylibERNS0_16ExecutionSessionE]+0x4d9): undefined reference to `llvm::object::ELFFile<llvm::object::ELFType<(llvm::endianness)1, true> >::getSectionName(llvm::object::Elf_Shdr_Impl<llvm::object::ELFType<(llvm::endianness)1, true> > const&, llvm::function_ref<llvm::Error (llvm::Twine const&)>) const'
/usr/bin/ld: lib/ExecutionEngine/Orc/Debugging/CMakeFiles/LLVMOrcDebugging.dir/ELFDebugObjectPlugin.cpp.o: in function `llvm::Expected<std::unique_ptr<llvm::orc::ELFDebugObject, std::default_delete<llvm::orc::ELFDebugObject> > > llvm::orc::ELFDebugObject::CreateArchType<llvm::object::ELFType<(llvm::endianness)0, true> >(llvm::MemoryBufferRef, llvm::jitlink::JITLinkMemoryManager&, llvm::jitlink::JITLinkDylib const*, llvm::orc::ExecutionSession&)':
ELFDebugObjectPlugin.cpp:(.text._ZN4llvm3orc14ELFDebugObject14CreateArchTypeINS_6object7ELFTypeILNS_10endiannessE0ELb1EEEEENS_8ExpectedISt10unique_ptrIS1_St14default_deleteIS1_EEEENS_15MemoryBufferRefERNS_7jitlink20JITLinkMemoryManagerEPKNSE_12JITLinkDylibERNS0_16ExecutionSessionE[_ZN4llvm3orc14ELFDebugObject14CreateArchTypeINS_6object7ELFTypeILNS_10endiannessE0ELb1EEEEENS_8ExpectedISt10unique_ptrIS1_St14default_deleteIS1_EEEENS_15MemoryBufferRefERNS_7jitlink20JITLinkMemoryManagerEPKNSE_12JITLinkDylibERNS0_16ExecutionSessionE]+0x29d): undefined reference to `llvm::object::ELFFile<llvm::object::ELFType<(llvm::endianness)0, true> >::create(llvm::StringRef)'
/usr/bin/ld: ELFDebugObjectPlugin.cpp:(.text._ZN4llvm3orc14ELFDebugObject14CreateArchTypeINS_6object7ELFTypeILNS_10endiannessE0ELb1EEEEENS_8ExpectedISt10unique_ptrIS1_St14default_deleteIS1_EEEENS_15MemoryBufferRefERNS_7jitlink20JITLinkMemoryManagerEPKNSE_12JITLinkDylibERNS0_16ExecutionSessionE[_ZN4llvm3orc14ELFDebugObject14CreateArchTypeINS_6object7ELFTypeILNS_10endiannessE0ELb1EEEEENS_8ExpectedISt10unique_ptrIS1_St14default_deleteIS1_EEEENS_15MemoryBufferRefERNS_7jitlink20JITLinkMemoryManagerEPKNSE_12JITLinkDylibERNS0_16ExecutionSessionE]+0x341): undefined reference to `llvm::object::ELFFile<llvm::object::ELFType<(llvm::endianness)0, true> >::sections() const'
/usr/bin/ld: ELFDebugObjectPlugin.cpp:(.text._ZN4llvm3orc14ELFDebugObject14CreateArchTypeINS_6object7ELFTypeILNS_10endiannessE0ELb1EEEEENS_8ExpectedISt10unique_ptrIS1_St14default_deleteIS1_EEEENS_15MemoryBufferRefERNS_7jitlink20JITLinkMemoryManagerEPKNSE_12JITLinkDylibERNS0_16ExecutionSessionE[_ZN4llvm3orc14ELFDebugObject14CreateArchTypeINS_6object7ELFTypeILNS_10endiannessE0ELb1EEEEENS_8ExpectedISt10unique_ptrIS1_St14default_deleteIS1_EEEENS_15MemoryBufferRefERNS_7jitlink20JITLinkMemoryManagerEPKNSE_12JITLinkDylibERNS0_16ExecutionSessionE]+0x4d9): undefined reference to `llvm::object::ELFFile<llvm::object::ELFType<(llvm::endianness)0, true> >::getSectionName(llvm::object::Elf_Shdr_Impl<llvm::object::ELFType<(llvm::endianness)0, true> > const&, llvm::function_ref<llvm::Error (llvm::Twine const&)>) const'
collect2: error: ld returned 1 exit status
[6999/8205] Linking CXX shared library lib/libclangAnalysis.so.22.0git
[7000/8205] Linking CXX shared library lib/libMLIRNVVMTarget.so.22.0git
[7001/8205] Linking CXX shared library lib/libLLVMExegesis.so.22.0git
[7002/8205] Linking CXX shared library lib/libclangDynamicASTMatchers.so.22.0git
[7003/8205] Building AMDGPUGenSearchableTables.inc...
[7004/8205] Building CXX object tools/flang/unittests/Evaluate/CMakeFiles/integer.test.dir/integer.cpp.o
[7005/8205] Building CXX object lib/CodeGen/AsmPrinter/CMakeFiles/LLVMAsmPrinter.dir/AsmPrinter.cpp.o
[7006/8205] Building CXX object lib/LTO/CMakeFiles/LLVMLTO.dir/LTO.cpp.o
[7007/8205] Building AMDGPUGenCallingConv.inc...
[7008/8205] Building CXX object tools/clang/lib/Interpreter/CMakeFiles/obj.clangInterpreter.dir/IncrementalExecutor.cpp.o
[7009/8205] Building AMDGPUGenAsmWriter.inc...
[7010/8205] Building CXX object tools/flang/lib/Support/CMakeFiles/FortranSupport.dir/OpenMP-utils.cpp.o
[7011/8205] Building AMDGPUGenInstrInfo.inc...
[7012/8205] Building AMDGPUGenDAGISel.inc...
[7013/8205] Building AMDGPUGenGlobalISel.inc...
[7014/8205] Building CXX object tools/flang/lib/Evaluate/CMakeFiles/FortranEvaluate.dir/cmake_pch.hxx.gch
[7015/8205] Building CXX object tools/flang/lib/Parser/CMakeFiles/FortranParser.dir/cmake_pch.hxx.gch
[7016/8205] Building AMDGPUGenRegisterBank.inc...
Step 7 (build cmake config) failure: build cmake config (failure)
...
[6989/8205] Linking CXX shared library lib/libclangASTMatchers.so.22.0git
[6990/8205] Creating library symlink lib/libclangASTMatchers.so
[6991/8205] Building AMDGPUGenSubtargetInfo.inc...
[6992/8205] Linking CXX shared library lib/libMLIRTargetLLVM.so.22.0git
[6993/8205] Creating library symlink lib/libMLIRTargetLLVM.so
[6994/8205] Linking CXX shared library lib/libLLVMOrcJIT.so.22.0git
[6995/8205] Creating library symlink lib/libLLVMOrcJIT.so
[6996/8205] Linking CXX static library lib/libLLVMExegesis_static.a
[6997/8205] Linking CXX executable bin/lli-child-target
[6998/8205] Linking CXX shared library lib/libLLVMOrcDebugging.so.22.0git
FAILED: lib/libLLVMOrcDebugging.so.22.0git
: && /usr/bin/c++ -fPIC -fPIC -fno-semantic-interposition -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-uninitialized -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-array-bounds -Wno-stringop-overread -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG -Wl,-z,defs -Wl,-z,nodelete -Wl,-rpath-link,/home/botworker/bbot/hip-third-party-libs-test/build/./lib -Wl,--gc-sections -shared -Wl,-soname,libLLVMOrcDebugging.so.22.0git -o lib/libLLVMOrcDebugging.so.22.0git lib/ExecutionEngine/Orc/Debugging/CMakeFiles/LLVMOrcDebugging.dir/DebugInfoSupport.cpp.o lib/ExecutionEngine/Orc/Debugging/CMakeFiles/LLVMOrcDebugging.dir/DebuggerSupport.cpp.o lib/ExecutionEngine/Orc/Debugging/CMakeFiles/LLVMOrcDebugging.dir/DebuggerSupportPlugin.cpp.o lib/ExecutionEngine/Orc/Debugging/CMakeFiles/LLVMOrcDebugging.dir/ELFDebugObjectPlugin.cpp.o lib/ExecutionEngine/Orc/Debugging/CMakeFiles/LLVMOrcDebugging.dir/LLJITUtilsCBindings.cpp.o lib/ExecutionEngine/Orc/Debugging/CMakeFiles/LLVMOrcDebugging.dir/PerfSupportPlugin.cpp.o lib/ExecutionEngine/Orc/Debugging/CMakeFiles/LLVMOrcDebugging.dir/VTuneSupportPlugin.cpp.o -Wl,-rpath,"\$ORIGIN/../lib:/home/botworker/bbot/hip-third-party-libs-test/build/lib:" -lrt lib/libLLVMOrcJIT.so.22.0git lib/libLLVMJITLink.so.22.0git lib/libLLVMOrcShared.so.22.0git lib/libLLVMDebugInfoDWARF.so.22.0git lib/libLLVMBinaryFormat.so.22.0git lib/libLLVMTargetParser.so.22.0git lib/libLLVMSupport.so.22.0git -Wl,-rpath-link,/home/botworker/bbot/hip-third-party-libs-test/build/lib && :
/usr/bin/ld: lib/ExecutionEngine/Orc/Debugging/CMakeFiles/LLVMOrcDebugging.dir/ELFDebugObjectPlugin.cpp.o: in function `llvm::object::defaultWarningHandler(llvm::Twine const&)':
ELFDebugObjectPlugin.cpp:(.text._ZN4llvm6objectL21defaultWarningHandlerERKNS_5TwineE+0x15): undefined reference to `llvm::object::object_category()'
/usr/bin/ld: lib/ExecutionEngine/Orc/Debugging/CMakeFiles/LLVMOrcDebugging.dir/ELFDebugObjectPlugin.cpp.o: in function `llvm::Expected<std::unique_ptr<llvm::orc::ELFDebugObject, std::default_delete<llvm::orc::ELFDebugObject> > > llvm::orc::ELFDebugObject::CreateArchType<llvm::object::ELFType<(llvm::endianness)1, false> >(llvm::MemoryBufferRef, llvm::jitlink::JITLinkMemoryManager&, llvm::jitlink::JITLinkDylib const*, llvm::orc::ExecutionSession&)':
ELFDebugObjectPlugin.cpp:(.text._ZN4llvm3orc14ELFDebugObject14CreateArchTypeINS_6object7ELFTypeILNS_10endiannessE1ELb0EEEEENS_8ExpectedISt10unique_ptrIS1_St14default_deleteIS1_EEEENS_15MemoryBufferRefERNS_7jitlink20JITLinkMemoryManagerEPKNSE_12JITLinkDylibERNS0_16ExecutionSessionE[_ZN4llvm3orc14ELFDebugObject14CreateArchTypeINS_6object7ELFTypeILNS_10endiannessE1ELb0EEEEENS_8ExpectedISt10unique_ptrIS1_St14default_deleteIS1_EEEENS_15MemoryBufferRefERNS_7jitlink20JITLinkMemoryManagerEPKNSE_12JITLinkDylibERNS0_16ExecutionSessionE]+0x29d): undefined reference to `llvm::object::ELFFile<llvm::object::ELFType<(llvm::endianness)1, false> >::create(llvm::StringRef)'
/usr/bin/ld: ELFDebugObjectPlugin.cpp:(.text._ZN4llvm3orc14ELFDebugObject14CreateArchTypeINS_6object7ELFTypeILNS_10endiannessE1ELb0EEEEENS_8ExpectedISt10unique_ptrIS1_St14default_deleteIS1_EEEENS_15MemoryBufferRefERNS_7jitlink20JITLinkMemoryManagerEPKNSE_12JITLinkDylibERNS0_16ExecutionSessionE[_ZN4llvm3orc14ELFDebugObject14CreateArchTypeINS_6object7ELFTypeILNS_10endiannessE1ELb0EEEEENS_8ExpectedISt10unique_ptrIS1_St14default_deleteIS1_EEEENS_15MemoryBufferRefERNS_7jitlink20JITLinkMemoryManagerEPKNSE_12JITLinkDylibERNS0_16ExecutionSessionE]+0x341): undefined reference to `llvm::object::ELFFile<llvm::object::ELFType<(llvm::endianness)1, false> >::sections() const'
/usr/bin/ld: ELFDebugObjectPlugin.cpp:(.text._ZN4llvm3orc14ELFDebugObject14CreateArchTypeINS_6object7ELFTypeILNS_10endiannessE1ELb0EEEEENS_8ExpectedISt10unique_ptrIS1_St14default_deleteIS1_EEEENS_15MemoryBufferRefERNS_7jitlink20JITLinkMemoryManagerEPKNSE_12JITLinkDylibERNS0_16ExecutionSessionE[_ZN4llvm3orc14ELFDebugObject14CreateArchTypeINS_6object7ELFTypeILNS_10endiannessE1ELb0EEEEENS_8ExpectedISt10unique_ptrIS1_St14default_deleteIS1_EEEENS_15MemoryBufferRefERNS_7jitlink20JITLinkMemoryManagerEPKNSE_12JITLinkDylibERNS0_16ExecutionSessionE]+0x4d9): undefined reference to `llvm::object::ELFFile<llvm::object::ELFType<(llvm::endianness)1, false> >::getSectionName(llvm::object::Elf_Shdr_Impl<llvm::object::ELFType<(llvm::endianness)1, false> > const&, llvm::function_ref<llvm::Error (llvm::Twine const&)>) const'
/usr/bin/ld: lib/ExecutionEngine/Orc/Debugging/CMakeFiles/LLVMOrcDebugging.dir/ELFDebugObjectPlugin.cpp.o: in function `llvm::Expected<std::unique_ptr<llvm::orc::ELFDebugObject, std::default_delete<llvm::orc::ELFDebugObject> > > llvm::orc::ELFDebugObject::CreateArchType<llvm::object::ELFType<(llvm::endianness)0, false> >(llvm::MemoryBufferRef, llvm::jitlink::JITLinkMemoryManager&, llvm::jitlink::JITLinkDylib const*, llvm::orc::ExecutionSession&)':
ELFDebugObjectPlugin.cpp:(.text._ZN4llvm3orc14ELFDebugObject14CreateArchTypeINS_6object7ELFTypeILNS_10endiannessE0ELb0EEEEENS_8ExpectedISt10unique_ptrIS1_St14default_deleteIS1_EEEENS_15MemoryBufferRefERNS_7jitlink20JITLinkMemoryManagerEPKNSE_12JITLinkDylibERNS0_16ExecutionSessionE[_ZN4llvm3orc14ELFDebugObject14CreateArchTypeINS_6object7ELFTypeILNS_10endiannessE0ELb0EEEEENS_8ExpectedISt10unique_ptrIS1_St14default_deleteIS1_EEEENS_15MemoryBufferRefERNS_7jitlink20JITLinkMemoryManagerEPKNSE_12JITLinkDylibERNS0_16ExecutionSessionE]+0x29d): undefined reference to `llvm::object::ELFFile<llvm::object::ELFType<(llvm::endianness)0, false> >::create(llvm::StringRef)'
/usr/bin/ld: ELFDebugObjectPlugin.cpp:(.text._ZN4llvm3orc14ELFDebugObject14CreateArchTypeINS_6object7ELFTypeILNS_10endiannessE0ELb0EEEEENS_8ExpectedISt10unique_ptrIS1_St14default_deleteIS1_EEEENS_15MemoryBufferRefERNS_7jitlink20JITLinkMemoryManagerEPKNSE_12JITLinkDylibERNS0_16ExecutionSessionE[_ZN4llvm3orc14ELFDebugObject14CreateArchTypeINS_6object7ELFTypeILNS_10endiannessE0ELb0EEEEENS_8ExpectedISt10unique_ptrIS1_St14default_deleteIS1_EEEENS_15MemoryBufferRefERNS_7jitlink20JITLinkMemoryManagerEPKNSE_12JITLinkDylibERNS0_16ExecutionSessionE]+0x341): undefined reference to `llvm::object::ELFFile<llvm::object::ELFType<(llvm::endianness)0, false> >::sections() const'
/usr/bin/ld: ELFDebugObjectPlugin.cpp:(.text._ZN4llvm3orc14ELFDebugObject14CreateArchTypeINS_6object7ELFTypeILNS_10endiannessE0ELb0EEEEENS_8ExpectedISt10unique_ptrIS1_St14default_deleteIS1_EEEENS_15MemoryBufferRefERNS_7jitlink20JITLinkMemoryManagerEPKNSE_12JITLinkDylibERNS0_16ExecutionSessionE[_ZN4llvm3orc14ELFDebugObject14CreateArchTypeINS_6object7ELFTypeILNS_10endiannessE0ELb0EEEEENS_8ExpectedISt10unique_ptrIS1_St14default_deleteIS1_EEEENS_15MemoryBufferRefERNS_7jitlink20JITLinkMemoryManagerEPKNSE_12JITLinkDylibERNS0_16ExecutionSessionE]+0x4d9): undefined reference to `llvm::object::ELFFile<llvm::object::ELFType<(llvm::endianness)0, false> >::getSectionName(llvm::object::Elf_Shdr_Impl<llvm::object::ELFType<(llvm::endianness)0, false> > const&, llvm::function_ref<llvm::Error (llvm::Twine const&)>) const'
/usr/bin/ld: lib/ExecutionEngine/Orc/Debugging/CMakeFiles/LLVMOrcDebugging.dir/ELFDebugObjectPlugin.cpp.o: in function `llvm::Expected<std::unique_ptr<llvm::orc::ELFDebugObject, std::default_delete<llvm::orc::ELFDebugObject> > > llvm::orc::ELFDebugObject::CreateArchType<llvm::object::ELFType<(llvm::endianness)1, true> >(llvm::MemoryBufferRef, llvm::jitlink::JITLinkMemoryManager&, llvm::jitlink::JITLinkDylib const*, llvm::orc::ExecutionSession&)':
ELFDebugObjectPlugin.cpp:(.text._ZN4llvm3orc14ELFDebugObject14CreateArchTypeINS_6object7ELFTypeILNS_10endiannessE1ELb1EEEEENS_8ExpectedISt10unique_ptrIS1_St14default_deleteIS1_EEEENS_15MemoryBufferRefERNS_7jitlink20JITLinkMemoryManagerEPKNSE_12JITLinkDylibERNS0_16ExecutionSessionE[_ZN4llvm3orc14ELFDebugObject14CreateArchTypeINS_6object7ELFTypeILNS_10endiannessE1ELb1EEEEENS_8ExpectedISt10unique_ptrIS1_St14default_deleteIS1_EEEENS_15MemoryBufferRefERNS_7jitlink20JITLinkMemoryManagerEPKNSE_12JITLinkDylibERNS0_16ExecutionSessionE]+0x29d): undefined reference to `llvm::object::ELFFile<llvm::object::ELFType<(llvm::endianness)1, true> >::create(llvm::StringRef)'
/usr/bin/ld: ELFDebugObjectPlugin.cpp:(.text._ZN4llvm3orc14ELFDebugObject14CreateArchTypeINS_6object7ELFTypeILNS_10endiannessE1ELb1EEEEENS_8ExpectedISt10unique_ptrIS1_St14default_deleteIS1_EEEENS_15MemoryBufferRefERNS_7jitlink20JITLinkMemoryManagerEPKNSE_12JITLinkDylibERNS0_16ExecutionSessionE[_ZN4llvm3orc14ELFDebugObject14CreateArchTypeINS_6object7ELFTypeILNS_10endiannessE1ELb1EEEEENS_8ExpectedISt10unique_ptrIS1_St14default_deleteIS1_EEEENS_15MemoryBufferRefERNS_7jitlink20JITLinkMemoryManagerEPKNSE_12JITLinkDylibERNS0_16ExecutionSessionE]+0x341): undefined reference to `llvm::object::ELFFile<llvm::object::ELFType<(llvm::endianness)1, true> >::sections() const'
/usr/bin/ld: ELFDebugObjectPlugin.cpp:(.text._ZN4llvm3orc14ELFDebugObject14CreateArchTypeINS_6object7ELFTypeILNS_10endiannessE1ELb1EEEEENS_8ExpectedISt10unique_ptrIS1_St14default_deleteIS1_EEEENS_15MemoryBufferRefERNS_7jitlink20JITLinkMemoryManagerEPKNSE_12JITLinkDylibERNS0_16ExecutionSessionE[_ZN4llvm3orc14ELFDebugObject14CreateArchTypeINS_6object7ELFTypeILNS_10endiannessE1ELb1EEEEENS_8ExpectedISt10unique_ptrIS1_St14default_deleteIS1_EEEENS_15MemoryBufferRefERNS_7jitlink20JITLinkMemoryManagerEPKNSE_12JITLinkDylibERNS0_16ExecutionSessionE]+0x4d9): undefined reference to `llvm::object::ELFFile<llvm::object::ELFType<(llvm::endianness)1, true> >::getSectionName(llvm::object::Elf_Shdr_Impl<llvm::object::ELFType<(llvm::endianness)1, true> > const&, llvm::function_ref<llvm::Error (llvm::Twine const&)>) const'
/usr/bin/ld: lib/ExecutionEngine/Orc/Debugging/CMakeFiles/LLVMOrcDebugging.dir/ELFDebugObjectPlugin.cpp.o: in function `llvm::Expected<std::unique_ptr<llvm::orc::ELFDebugObject, std::default_delete<llvm::orc::ELFDebugObject> > > llvm::orc::ELFDebugObject::CreateArchType<llvm::object::ELFType<(llvm::endianness)0, true> >(llvm::MemoryBufferRef, llvm::jitlink::JITLinkMemoryManager&, llvm::jitlink::JITLinkDylib const*, llvm::orc::ExecutionSession&)':
ELFDebugObjectPlugin.cpp:(.text._ZN4llvm3orc14ELFDebugObject14CreateArchTypeINS_6object7ELFTypeILNS_10endiannessE0ELb1EEEEENS_8ExpectedISt10unique_ptrIS1_St14default_deleteIS1_EEEENS_15MemoryBufferRefERNS_7jitlink20JITLinkMemoryManagerEPKNSE_12JITLinkDylibERNS0_16ExecutionSessionE[_ZN4llvm3orc14ELFDebugObject14CreateArchTypeINS_6object7ELFTypeILNS_10endiannessE0ELb1EEEEENS_8ExpectedISt10unique_ptrIS1_St14default_deleteIS1_EEEENS_15MemoryBufferRefERNS_7jitlink20JITLinkMemoryManagerEPKNSE_12JITLinkDylibERNS0_16ExecutionSessionE]+0x29d): undefined reference to `llvm::object::ELFFile<llvm::object::ELFType<(llvm::endianness)0, true> >::create(llvm::StringRef)'
/usr/bin/ld: ELFDebugObjectPlugin.cpp:(.text._ZN4llvm3orc14ELFDebugObject14CreateArchTypeINS_6object7ELFTypeILNS_10endiannessE0ELb1EEEEENS_8ExpectedISt10unique_ptrIS1_St14default_deleteIS1_EEEENS_15MemoryBufferRefERNS_7jitlink20JITLinkMemoryManagerEPKNSE_12JITLinkDylibERNS0_16ExecutionSessionE[_ZN4llvm3orc14ELFDebugObject14CreateArchTypeINS_6object7ELFTypeILNS_10endiannessE0ELb1EEEEENS_8ExpectedISt10unique_ptrIS1_St14default_deleteIS1_EEEENS_15MemoryBufferRefERNS_7jitlink20JITLinkMemoryManagerEPKNSE_12JITLinkDylibERNS0_16ExecutionSessionE]+0x341): undefined reference to `llvm::object::ELFFile<llvm::object::ELFType<(llvm::endianness)0, true> >::sections() const'
/usr/bin/ld: ELFDebugObjectPlugin.cpp:(.text._ZN4llvm3orc14ELFDebugObject14CreateArchTypeINS_6object7ELFTypeILNS_10endiannessE0ELb1EEEEENS_8ExpectedISt10unique_ptrIS1_St14default_deleteIS1_EEEENS_15MemoryBufferRefERNS_7jitlink20JITLinkMemoryManagerEPKNSE_12JITLinkDylibERNS0_16ExecutionSessionE[_ZN4llvm3orc14ELFDebugObject14CreateArchTypeINS_6object7ELFTypeILNS_10endiannessE0ELb1EEEEENS_8ExpectedISt10unique_ptrIS1_St14default_deleteIS1_EEEENS_15MemoryBufferRefERNS_7jitlink20JITLinkMemoryManagerEPKNSE_12JITLinkDylibERNS0_16ExecutionSessionE]+0x4d9): undefined reference to `llvm::object::ELFFile<llvm::object::ELFType<(llvm::endianness)0, true> >::getSectionName(llvm::object::Elf_Shdr_Impl<llvm::object::ELFType<(llvm::endianness)0, true> > const&, llvm::function_ref<llvm::Error (llvm::Twine const&)>) const'
collect2: error: ld returned 1 exit status
[6999/8205] Linking CXX shared library lib/libclangAnalysis.so.22.0git
[7000/8205] Linking CXX shared library lib/libMLIRNVVMTarget.so.22.0git
[7001/8205] Linking CXX shared library lib/libLLVMExegesis.so.22.0git
[7002/8205] Linking CXX shared library lib/libclangDynamicASTMatchers.so.22.0git
[7003/8205] Building AMDGPUGenSearchableTables.inc...
[7004/8205] Building CXX object tools/flang/unittests/Evaluate/CMakeFiles/integer.test.dir/integer.cpp.o
[7005/8205] Building CXX object lib/CodeGen/AsmPrinter/CMakeFiles/LLVMAsmPrinter.dir/AsmPrinter.cpp.o
[7006/8205] Building CXX object lib/LTO/CMakeFiles/LLVMLTO.dir/LTO.cpp.o
[7007/8205] Building AMDGPUGenCallingConv.inc...
[7008/8205] Building CXX object tools/clang/lib/Interpreter/CMakeFiles/obj.clangInterpreter.dir/IncrementalExecutor.cpp.o
[7009/8205] Building AMDGPUGenAsmWriter.inc...
[7010/8205] Building CXX object tools/flang/lib/Support/CMakeFiles/FortranSupport.dir/OpenMP-utils.cpp.o
[7011/8205] Building AMDGPUGenInstrInfo.inc...
[7012/8205] Building AMDGPUGenDAGISel.inc...
[7013/8205] Building AMDGPUGenGlobalISel.inc...
[7014/8205] Building CXX object tools/flang/lib/Evaluate/CMakeFiles/FortranEvaluate.dir/cmake_pch.hxx.gch
[7015/8205] Building CXX object tools/flang/lib/Parser/CMakeFiles/FortranParser.dir/cmake_pch.hxx.gch
[7016/8205] Building AMDGPUGenRegisterBank.inc...
```
</details>
https://github.com/llvm/llvm-project/pull/168343
More information about the llvm-commits
mailing list