[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 02:57:24 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 `amdgpu-offload-ubuntu-22-cmake-build-only` running on `rocm-docker-ubu-22` while building `clang,llvm` at step 4 "annotate".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/203/builds/29456
<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/amdgpu-offload-cmake.py --jobs=32' (failure)
...
[5485/8205] Creating library symlink lib/libMLIRSPIRVModuleCombiner.so
[5486/8205] Creating library symlink lib/libMLIRArithToAMDGPU.so
[5487/8205] Creating library symlink lib/libMLIRSPIRVSerialization.so
[5488/8205] Creating library symlink lib/libMLIRMathToFuncs.so
[5489/8205] Creating library symlink lib/libMLIRGPUToLLVMIRTranslation.so
[5490/8205] Linking CXX shared library lib/libMLIRSPIRVUtils.so.22.0git
[5491/8205] Linking CXX shared library lib/libMLIRMemRefTransforms.so.22.0git
[5492/8205] Creating library symlink lib/libMLIRSPIRVUtils.so
[5493/8205] Linking CXX shared library lib/libMLIRSparseTensorUtils.so.22.0git
[5494/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/amdgpu-offload-ubuntu-22-cmake-build-only/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/amdgpu-offload-ubuntu-22-cmake-build-only/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/amdgpu-offload-ubuntu-22-cmake-build-only/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
[5495/8205] Linking CXX shared library lib/libMLIRNVVMToLLVMIRTranslation.so.22.0git
[5496/8205] Creating library symlink lib/libMLIRMemRefTransforms.so
[5497/8205] Building CXX object lib/CodeGen/AsmPrinter/CMakeFiles/LLVMAsmPrinter.dir/AsmPrinter.cpp.o
[5498/8205] Creating library symlink lib/libMLIRSparseTensorUtils.so
[5499/8205] Linking CXX shared library lib/libMLIRBufferizationTransformOps.so.22.0git
[5500/8205] Linking CXX shared library lib/libMLIRLinalgUtils.so.22.0git
[5501/8205] Linking CXX shared library lib/libMLIRLLVMToLLVMIRTranslation.so.22.0git
[5502/8205] Linking CXX shared library lib/libMLIRTensorTransforms.so.22.0git
[5503/8205] Linking CXX shared library lib/libMLIRArmSMEToLLVMIRTranslation.so.22.0git
[5504/8205] Linking CXX shared library lib/libMLIRArmNeonToLLVMIRTranslation.so.22.0git
[5505/8205] Linking CXX shared library lib/libMLIROpenACCToLLVMIRTranslation.so.22.0git
[5506/8205] Linking CXX shared library lib/libMLIRVCIXToLLVMIRTranslation.so.22.0git
[5507/8205] Linking CXX shared library lib/libMLIRPtrToLLVMIRTranslation.so.22.0git
[5508/8205] Linking CXX shared library lib/libMLIRAMDGPUToROCDL.so.22.0git
[5509/8205] Linking CXX shared library lib/libMLIRFuncTransformOps.so.22.0git
[5510/8205] Linking CXX shared library lib/libMLIRSPIRVDeserialization.so.22.0git
[5511/8205] Linking CXX shared library lib/libMLIRSPIRVTarget.so.22.0git
[5512/8205] Building CXX object tools/clang/lib/Tooling/CMakeFiles/obj.clangTooling.dir/AllTUsExecution.cpp.o
Step 7 (build cmake config) failure: build cmake config (failure)
...
[5485/8205] Creating library symlink lib/libMLIRSPIRVModuleCombiner.so
[5486/8205] Creating library symlink lib/libMLIRArithToAMDGPU.so
[5487/8205] Creating library symlink lib/libMLIRSPIRVSerialization.so
[5488/8205] Creating library symlink lib/libMLIRMathToFuncs.so
[5489/8205] Creating library symlink lib/libMLIRGPUToLLVMIRTranslation.so
[5490/8205] Linking CXX shared library lib/libMLIRSPIRVUtils.so.22.0git
[5491/8205] Linking CXX shared library lib/libMLIRMemRefTransforms.so.22.0git
[5492/8205] Creating library symlink lib/libMLIRSPIRVUtils.so
[5493/8205] Linking CXX shared library lib/libMLIRSparseTensorUtils.so.22.0git
[5494/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/amdgpu-offload-ubuntu-22-cmake-build-only/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/amdgpu-offload-ubuntu-22-cmake-build-only/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/amdgpu-offload-ubuntu-22-cmake-build-only/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
[5495/8205] Linking CXX shared library lib/libMLIRNVVMToLLVMIRTranslation.so.22.0git
[5496/8205] Creating library symlink lib/libMLIRMemRefTransforms.so
[5497/8205] Building CXX object lib/CodeGen/AsmPrinter/CMakeFiles/LLVMAsmPrinter.dir/AsmPrinter.cpp.o
[5498/8205] Creating library symlink lib/libMLIRSparseTensorUtils.so
[5499/8205] Linking CXX shared library lib/libMLIRBufferizationTransformOps.so.22.0git
[5500/8205] Linking CXX shared library lib/libMLIRLinalgUtils.so.22.0git
[5501/8205] Linking CXX shared library lib/libMLIRLLVMToLLVMIRTranslation.so.22.0git
[5502/8205] Linking CXX shared library lib/libMLIRTensorTransforms.so.22.0git
[5503/8205] Linking CXX shared library lib/libMLIRArmSMEToLLVMIRTranslation.so.22.0git
[5504/8205] Linking CXX shared library lib/libMLIRArmNeonToLLVMIRTranslation.so.22.0git
[5505/8205] Linking CXX shared library lib/libMLIROpenACCToLLVMIRTranslation.so.22.0git
[5506/8205] Linking CXX shared library lib/libMLIRVCIXToLLVMIRTranslation.so.22.0git
[5507/8205] Linking CXX shared library lib/libMLIRPtrToLLVMIRTranslation.so.22.0git
[5508/8205] Linking CXX shared library lib/libMLIRAMDGPUToROCDL.so.22.0git
[5509/8205] Linking CXX shared library lib/libMLIRFuncTransformOps.so.22.0git
[5510/8205] Linking CXX shared library lib/libMLIRSPIRVDeserialization.so.22.0git
[5511/8205] Linking CXX shared library lib/libMLIRSPIRVTarget.so.22.0git
[5512/8205] Building CXX object tools/clang/lib/Tooling/CMakeFiles/obj.clangTooling.dir/AllTUsExecution.cpp.o
```
</details>
https://github.com/llvm/llvm-project/pull/168343
More information about the llvm-commits
mailing list