[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:22 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-rhel-8-cmake-build-only` running on `rocm-docker-rhel-8` while building `clang,llvm` at step 4 "annotate".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/204/builds/28268

<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] Linking CXX shared library lib/libMLIRTosaTestPasses.so.22.0git
[5486/8205] Building CXX object tools/mlir/test/lib/IR/CMakeFiles/MLIRTestIR.dir/TestBuiltinDistinctAttributes.cpp.o
[5487/8205] Building CXX object tools/mlir/test/lib/IR/CMakeFiles/MLIRTestIR.dir/TestDiagnosticsMetadata.cpp.o
/home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/llvm-project/mlir/test/lib/IR/TestDiagnosticsMetadata.cpp: In copy constructor ‘{anonymous}::TestDiagnosticMetadataPass::TestDiagnosticMetadataPass(const {anonymous}::TestDiagnosticMetadataPass&)’:
/home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/llvm-project/mlir/test/lib/IR/TestDiagnosticsMetadata.cpp:29:3: warning: base class ‘class mlir::PassWrapper<{anonymous}::TestDiagnosticMetadataPass, mlir::InterfacePass<mlir::SymbolOpInterface> >’ should be explicitly initialized in the copy constructor [-Wextra]
   TestDiagnosticMetadataPass(const TestDiagnosticMetadataPass &) {}
   ^~~~~~~~~~~~~~~~~~~~~~~~~~
At global scope:
cc1plus: warning: unrecognized command line option ‘-Wno-deprecated-copy’
[5488/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-array-bounds -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wno-comment -Wno-misleading-indentation -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG  -Wl,-z,defs -Wl,-z,nodelete   -Wl,-rpath-link,/home/botworker/bbot/amdgpu-offload-rhel-8-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-rhel-8-cmake-build-only/build/lib:"  -lpthread  -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-rhel-8-cmake-build-only/build/lib && :
lib/ExecutionEngine/Orc/Debugging/CMakeFiles/LLVMOrcDebugging.dir/ELFDebugObjectPlugin.cpp.o: In function `llvm::object::defaultWarningHandler(llvm::Twine const&)':
ELFDebugObjectPlugin.cpp:(.text._ZN4llvm6objectL21defaultWarningHandlerERKNS_5TwineE+0x11): undefined reference to `llvm::object::object_category()'
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]+0x12d): undefined reference to `llvm::object::ELFFile<llvm::object::ELFType<(llvm::endianness)1, false> >::create(llvm::StringRef)'
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]+0x161): undefined reference to `llvm::object::ELFFile<llvm::object::ELFType<(llvm::endianness)1, false> >::sections() const'
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]+0x1fd): 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'
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]+0x135): undefined reference to `llvm::object::ELFFile<llvm::object::ELFType<(llvm::endianness)0, false> >::create(llvm::StringRef)'
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]+0x16e): undefined reference to `llvm::object::ELFFile<llvm::object::ELFType<(llvm::endianness)0, false> >::sections() const'
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]+0x209): 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'
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]+0x12d): undefined reference to `llvm::object::ELFFile<llvm::object::ELFType<(llvm::endianness)1, true> >::create(llvm::StringRef)'
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]+0x161): undefined reference to `llvm::object::ELFFile<llvm::object::ELFType<(llvm::endianness)1, true> >::sections() const'
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]+0x1fb): 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'
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]+0x12d): undefined reference to `llvm::object::ELFFile<llvm::object::ELFType<(llvm::endianness)0, true> >::create(llvm::StringRef)'
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]+0x161): undefined reference to `llvm::object::ELFFile<llvm::object::ELFType<(llvm::endianness)0, true> >::sections() const'
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]+0x1fb): 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
[5489/8205] Creating library symlink lib/libMLIRLinalgUtils.so
[5490/8205] Linking CXX shared library lib/libMLIRSparseTensorUtils.so.22.0git
[5491/8205] Building CXX object tools/mlir/test/lib/IR/CMakeFiles/MLIRTestIR.dir/TestBytecodeRoundtrip.cpp.o
/home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/llvm-project/mlir/test/lib/IR/TestBytecodeRoundtrip.cpp: In copy constructor ‘{anonymous}::TestBytecodeRoundtripPass::TestBytecodeRoundtripPass(const {anonymous}::TestBytecodeRoundtripPass&)’:
/home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/llvm-project/mlir/test/lib/IR/TestBytecodeRoundtrip.cpp:61:3: warning: base class ‘class mlir::PassWrapper<{anonymous}::TestBytecodeRoundtripPass, mlir::OperationPass<mlir::ModuleOp> >’ should be explicitly initialized in the copy constructor [-Wextra]
   TestBytecodeRoundtripPass(const TestBytecodeRoundtripPass &) {}
   ^~~~~~~~~~~~~~~~~~~~~~~~~
At global scope:
cc1plus: warning: unrecognized command line option ‘-Wno-deprecated-copy’
[5492/8205] Building CXX object tools/mlir/test/lib/IR/CMakeFiles/MLIRTestIR.dir/TestClone.cpp.o
[5493/8205] Building CXX object tools/mlir/test/lib/IR/CMakeFiles/MLIRTestIR.dir/TestDominance.cpp.o
[5494/8205] Creating library symlink lib/libMLIRTosaTestPasses.so
[5495/8205] Building CXX object tools/mlir/test/lib/IR/CMakeFiles/MLIRTestIR.dir/TestFunc.cpp.o
[5496/8205] Linking CXX shared library lib/libMLIRArmSVEVectorTransformOps.so.22.0git
[5497/8205] Linking CXX shared library lib/libMLIRTargetLLVMIRExport.so.22.0git
[5498/8205] Building CXX object tools/mlir/test/lib/IR/CMakeFiles/MLIRTestIR.dir/TestInterfaces.cpp.o
[5499/8205] Building CXX object tools/mlir/test/lib/IR/CMakeFiles/MLIRTestIR.dir/TestMatchers.cpp.o
[5500/8205] Linking CXX shared library lib/libMLIRLoopLikeInterfaceTestPasses.so.22.0git
Step 7 (build cmake config) failure: build cmake config (failure)
...
[5485/8205] Linking CXX shared library lib/libMLIRTosaTestPasses.so.22.0git
[5486/8205] Building CXX object tools/mlir/test/lib/IR/CMakeFiles/MLIRTestIR.dir/TestBuiltinDistinctAttributes.cpp.o
[5487/8205] Building CXX object tools/mlir/test/lib/IR/CMakeFiles/MLIRTestIR.dir/TestDiagnosticsMetadata.cpp.o
/home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/llvm-project/mlir/test/lib/IR/TestDiagnosticsMetadata.cpp: In copy constructor ‘{anonymous}::TestDiagnosticMetadataPass::TestDiagnosticMetadataPass(const {anonymous}::TestDiagnosticMetadataPass&)’:
/home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/llvm-project/mlir/test/lib/IR/TestDiagnosticsMetadata.cpp:29:3: warning: base class ‘class mlir::PassWrapper<{anonymous}::TestDiagnosticMetadataPass, mlir::InterfacePass<mlir::SymbolOpInterface> >’ should be explicitly initialized in the copy constructor [-Wextra]
   TestDiagnosticMetadataPass(const TestDiagnosticMetadataPass &) {}
   ^~~~~~~~~~~~~~~~~~~~~~~~~~
At global scope:
cc1plus: warning: unrecognized command line option ‘-Wno-deprecated-copy’
[5488/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-array-bounds -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wno-comment -Wno-misleading-indentation -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG  -Wl,-z,defs -Wl,-z,nodelete   -Wl,-rpath-link,/home/botworker/bbot/amdgpu-offload-rhel-8-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-rhel-8-cmake-build-only/build/lib:"  -lpthread  -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-rhel-8-cmake-build-only/build/lib && :
lib/ExecutionEngine/Orc/Debugging/CMakeFiles/LLVMOrcDebugging.dir/ELFDebugObjectPlugin.cpp.o: In function `llvm::object::defaultWarningHandler(llvm::Twine const&)':
ELFDebugObjectPlugin.cpp:(.text._ZN4llvm6objectL21defaultWarningHandlerERKNS_5TwineE+0x11): undefined reference to `llvm::object::object_category()'
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]+0x12d): undefined reference to `llvm::object::ELFFile<llvm::object::ELFType<(llvm::endianness)1, false> >::create(llvm::StringRef)'
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]+0x161): undefined reference to `llvm::object::ELFFile<llvm::object::ELFType<(llvm::endianness)1, false> >::sections() const'
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]+0x1fd): 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'
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]+0x135): undefined reference to `llvm::object::ELFFile<llvm::object::ELFType<(llvm::endianness)0, false> >::create(llvm::StringRef)'
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]+0x16e): undefined reference to `llvm::object::ELFFile<llvm::object::ELFType<(llvm::endianness)0, false> >::sections() const'
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]+0x209): 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'
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]+0x12d): undefined reference to `llvm::object::ELFFile<llvm::object::ELFType<(llvm::endianness)1, true> >::create(llvm::StringRef)'
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]+0x161): undefined reference to `llvm::object::ELFFile<llvm::object::ELFType<(llvm::endianness)1, true> >::sections() const'
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]+0x1fb): 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'
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]+0x12d): undefined reference to `llvm::object::ELFFile<llvm::object::ELFType<(llvm::endianness)0, true> >::create(llvm::StringRef)'
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]+0x161): undefined reference to `llvm::object::ELFFile<llvm::object::ELFType<(llvm::endianness)0, true> >::sections() const'
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]+0x1fb): 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
[5489/8205] Creating library symlink lib/libMLIRLinalgUtils.so
[5490/8205] Linking CXX shared library lib/libMLIRSparseTensorUtils.so.22.0git
[5491/8205] Building CXX object tools/mlir/test/lib/IR/CMakeFiles/MLIRTestIR.dir/TestBytecodeRoundtrip.cpp.o
/home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/llvm-project/mlir/test/lib/IR/TestBytecodeRoundtrip.cpp: In copy constructor ‘{anonymous}::TestBytecodeRoundtripPass::TestBytecodeRoundtripPass(const {anonymous}::TestBytecodeRoundtripPass&)’:
/home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/llvm-project/mlir/test/lib/IR/TestBytecodeRoundtrip.cpp:61:3: warning: base class ‘class mlir::PassWrapper<{anonymous}::TestBytecodeRoundtripPass, mlir::OperationPass<mlir::ModuleOp> >’ should be explicitly initialized in the copy constructor [-Wextra]
   TestBytecodeRoundtripPass(const TestBytecodeRoundtripPass &) {}
   ^~~~~~~~~~~~~~~~~~~~~~~~~
At global scope:
cc1plus: warning: unrecognized command line option ‘-Wno-deprecated-copy’
[5492/8205] Building CXX object tools/mlir/test/lib/IR/CMakeFiles/MLIRTestIR.dir/TestClone.cpp.o
[5493/8205] Building CXX object tools/mlir/test/lib/IR/CMakeFiles/MLIRTestIR.dir/TestDominance.cpp.o
[5494/8205] Creating library symlink lib/libMLIRTosaTestPasses.so
[5495/8205] Building CXX object tools/mlir/test/lib/IR/CMakeFiles/MLIRTestIR.dir/TestFunc.cpp.o
[5496/8205] Linking CXX shared library lib/libMLIRArmSVEVectorTransformOps.so.22.0git
[5497/8205] Linking CXX shared library lib/libMLIRTargetLLVMIRExport.so.22.0git
[5498/8205] Building CXX object tools/mlir/test/lib/IR/CMakeFiles/MLIRTestIR.dir/TestInterfaces.cpp.o
[5499/8205] Building CXX object tools/mlir/test/lib/IR/CMakeFiles/MLIRTestIR.dir/TestMatchers.cpp.o
[5500/8205] Linking CXX shared library lib/libMLIRLoopLikeInterfaceTestPasses.so.22.0git

```

</details>

https://github.com/llvm/llvm-project/pull/168343


More information about the llvm-commits mailing list