Stefan =?utf-8?q?Gränitz?= <[email protected]>
Message-ID:
In-Reply-To: <llvm.org/llvm/llvm-project/pull/[email protected]>


llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder 
`amdgpu-offload-rhel-9-cmake-build-only` running on `rocm-docker-rhel-9` while 
building `clang,llvm` at step 4 "annotate".

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

<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)
...
[5648/8205] Linking CXX shared library lib/libMLIRXeGPUToXeVM.so.22.0git
[5649/8205] Creating library symlink lib/libMLIRTargetLLVM.so
[5650/8205] Creating library symlink lib/libMLIRAsyncTransforms.so
[5651/8205] Creating library symlink lib/libMLIRXeGPUToXeVM.so
[5652/8205] Building CXX object 
tools/clang/lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/NVPTX.cpp.o
[5653/8205] Linking CXX shared library lib/libMLIRSCFTransformOps.so.22.0git
[5654/8205] Building CXX object 
tools/clang/lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/OSTargets.cpp.o
[5655/8205] Creating library symlink lib/libMLIRSCFTransformOps.so
[5656/8205] Linking CXX shared library lib/libMLIRVectorToXeGPU.so.22.0git
[5657/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-rhel-9-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-9-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-rhel-9-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+0x11):
 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]+0x265):
 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]+0x29e):
 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]+0x4c9):
 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]+0x265):
 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]+0x29e):
 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]+0x4c9):
 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]+0x265):
 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]+0x29e):
 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]+0x4c9):
 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]+0x265):
 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]+0x29e):
 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]+0x4c9):
 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
[5658/8205] Building CXX object 
tools/clang/lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/SPIR.cpp.o
[5659/8205] Building CXX object 
tools/clang/lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/PPC.cpp.o
[5660/8205] Creating library symlink lib/libMLIRVectorToXeGPU.so
[5661/8205] Building CXX object 
tools/clang/lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/RISCV.cpp.o
[5662/8205] Linking CXX shared library lib/libMLIRArmSMEToLLVM.so.22.0git
[5663/8205] Building CXX object 
tools/clang/lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/Sparc.cpp.o
[5664/8205] Linking CXX shared library lib/libMLIRFuncToSPIRV.so.22.0git
[5665/8205] Linking CXX shared library lib/libMLIRMemRefToSPIRV.so.22.0git
[5666/8205] Linking CXX shared library lib/libMLIRComplexToSPIRV.so.22.0git
[5667/8205] Linking CXX shared library lib/libMLIRXeGPUTransforms.so.22.0git
[5668/8205] Linking CXX shared library lib/libMLIRMathToSPIRV.so.22.0git
[5669/8205] Linking CXX shared library lib/libMLIRControlFlowToSPIRV.so.22.0git
[5670/8205] Linking CXX shared library lib/libMLIRSPIRVTransforms.so.22.0git
[5671/8205] Linking CXX shared library lib/libMLIRUBToSPIRV.so.22.0git
[5672/8205] Linking CXX shared library lib/libMLIRIndexToSPIRV.so.22.0git
[5673/8205] Linking CXX shared library lib/libMLIRSPIRVTestPasses.so.22.0git
[5674/8205] Linking CXX shared library lib/libMLIRTestConvertToSPIRV.so.22.0git
[5675/8205] Linking CXX shared library lib/libMLIRCAPIAsync.so.22.0git
Step 7 (build cmake config) failure: build cmake config (failure)
...
[5648/8205] Linking CXX shared library lib/libMLIRXeGPUToXeVM.so.22.0git
[5649/8205] Creating library symlink lib/libMLIRTargetLLVM.so
[5650/8205] Creating library symlink lib/libMLIRAsyncTransforms.so
[5651/8205] Creating library symlink lib/libMLIRXeGPUToXeVM.so
[5652/8205] Building CXX object 
tools/clang/lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/NVPTX.cpp.o
[5653/8205] Linking CXX shared library lib/libMLIRSCFTransformOps.so.22.0git
[5654/8205] Building CXX object 
tools/clang/lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/OSTargets.cpp.o
[5655/8205] Creating library symlink lib/libMLIRSCFTransformOps.so
[5656/8205] Linking CXX shared library lib/libMLIRVectorToXeGPU.so.22.0git
[5657/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-rhel-9-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-9-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-rhel-9-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+0x11):
 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]+0x265):
 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]+0x29e):
 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]+0x4c9):
 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]+0x265):
 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]+0x29e):
 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]+0x4c9):
 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]+0x265):
 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]+0x29e):
 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]+0x4c9):
 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]+0x265):
 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]+0x29e):
 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]+0x4c9):
 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
[5658/8205] Building CXX object 
tools/clang/lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/SPIR.cpp.o
[5659/8205] Building CXX object 
tools/clang/lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/PPC.cpp.o
[5660/8205] Creating library symlink lib/libMLIRVectorToXeGPU.so
[5661/8205] Building CXX object 
tools/clang/lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/RISCV.cpp.o
[5662/8205] Linking CXX shared library lib/libMLIRArmSMEToLLVM.so.22.0git
[5663/8205] Building CXX object 
tools/clang/lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/Sparc.cpp.o
[5664/8205] Linking CXX shared library lib/libMLIRFuncToSPIRV.so.22.0git
[5665/8205] Linking CXX shared library lib/libMLIRMemRefToSPIRV.so.22.0git
[5666/8205] Linking CXX shared library lib/libMLIRComplexToSPIRV.so.22.0git
[5667/8205] Linking CXX shared library lib/libMLIRXeGPUTransforms.so.22.0git
[5668/8205] Linking CXX shared library lib/libMLIRMathToSPIRV.so.22.0git
[5669/8205] Linking CXX shared library lib/libMLIRControlFlowToSPIRV.so.22.0git
[5670/8205] Linking CXX shared library lib/libMLIRSPIRVTransforms.so.22.0git
[5671/8205] Linking CXX shared library lib/libMLIRUBToSPIRV.so.22.0git
[5672/8205] Linking CXX shared library lib/libMLIRIndexToSPIRV.so.22.0git
[5673/8205] Linking CXX shared library lib/libMLIRSPIRVTestPasses.so.22.0git
[5674/8205] Linking CXX shared library lib/libMLIRTestConvertToSPIRV.so.22.0git
[5675/8205] Linking CXX shared library lib/libMLIRCAPIAsync.so.22.0git

```

</details>

https://github.com/llvm/llvm-project/pull/168343
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to