[llvm] Reland - [Offload] Introduce offload-tblgen and initial new API implementation (#108413) (PR #117704)
LLVM Continuous Integration via llvm-commits
llvm-commits at lists.llvm.org
Wed Nov 27 02:42:34 PST 2024
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `openmp-offload-amdgpu-runtime` running on `omp-vega20-0` while building `offload` at step 5 "compile-openmp".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/30/builds/11122
<details>
<summary>Here is the relevant piece of the build log for the reference</summary>
```
Step 5 (compile-openmp) failure: build (failure)
...
44.699 [6/9/2222] Building CXX object offload/src/CMakeFiles/omptarget.dir/LegacyAPI.cpp.o
44.916 [6/8/2223] Building CXX object offload/src/CMakeFiles/omptarget.dir/OffloadRTL.cpp.o
44.930 [6/7/2224] Building CXX object offload/src/CMakeFiles/omptarget.dir/OpenMP/Mapping.cpp.o
45.085 [6/6/2225] Building CXX object offload/src/CMakeFiles/omptarget.dir/OpenMP/API.cpp.o
45.251 [6/5/2226] Building CXX object offload/src/CMakeFiles/omptarget.dir/device.cpp.o
45.271 [6/4/2227] Building CXX object offload/src/CMakeFiles/omptarget.dir/PluginManager.cpp.o
45.333 [6/3/2228] Building CXX object offload/src/CMakeFiles/omptarget.dir/interface.cpp.o
45.771 [6/2/2229] Building CXX object offload/liboffload/CMakeFiles/LLVMOffload.dir/src/OffloadImpl.cpp.o
46.011 [5/2/2230] Building CXX object offload/src/CMakeFiles/omptarget.dir/omptarget.cpp.o
46.135 [4/2/2231] Linking CXX shared library /home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.build/lib/libLLVMOffload.so.20.0git
FAILED: /home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.build/lib/libLLVMOffload.so.20.0git
: && /home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.build/./bin/clang++ --target=x86_64-unknown-linux-gnu -fPIC -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG -Wl,-z,defs -Wl,-z,nodelete -Wl,--color-diagnostics -Wl,--gc-sections -shared -Wl,-soname,libLLVMOffload.so.20.0git -o /home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.build/lib/libLLVMOffload.so.20.0git offload/liboffload/CMakeFiles/LLVMOffload.dir/src/OffloadLib.cpp.o offload/liboffload/CMakeFiles/LLVMOffload.dir/src/OffloadImpl.cpp.o -Wl,-rpath,"\$ORIGIN:/home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.build/runtimes/runtimes-bins/offload/liboffload/..:" /home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.build/lib/libomptarget.rtl.amdgpu.a /home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.build/lib/libomptarget.rtl.cuda.a /home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.build/lib/libomptarget.rtl.host.a -Wl,--version-script=/home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.src/offload/liboffload/exports /home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.build/lib/libLLVMExtensions.a /home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.build/lib/libLLVMAMDGPUCodeGen.a /home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.build/lib/libLLVMPasses.a /home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.build/lib/libLLVMCFGuard.a /home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.build/lib/libLLVMCoroutines.a /home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.build/lib/libLLVMipo.a /home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.build/lib/libLLVMInstrumentation.a /home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.build/lib/libLLVMLinker.a /home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.build/lib/libLLVMFrontendOpenMP.a /home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.build/lib/libLLVMFrontendOffloading.a /home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.build/lib/libLLVMVectorize.a /home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.build/lib/libLLVMSandboxIR.a /home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.build/lib/libLLVMHipStdPar.a /home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.build/lib/libLLVMIRPrinter.a /home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.build/lib/libLLVMAsmPrinter.a /home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.build/lib/libLLVMGlobalISel.a /home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.build/lib/libLLVMMIRParser.a /home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.build/lib/libLLVMSelectionDAG.a /home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.build/lib/libLLVMCodeGen.a /home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.build/lib/libLLVMScalarOpts.a /home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.build/lib/libLLVMAggressiveInstCombine.a /home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.build/lib/libLLVMInstCombine.a /home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.build/lib/libLLVMCGData.a /home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.build/lib/libLLVMBitWriter.a /home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.build/lib/libLLVMObjCARCOpts.a /home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.build/lib/libLLVMTarget.a /home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.build/lib/libLLVMTransformUtils.a /home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.build/lib/libLLVMAMDGPUAsmParser.a /home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.build/lib/libLLVMAMDGPUDisassembler.a /home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.build/lib/libLLVMAMDGPUDesc.a /home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.build/lib/libLLVMMCDisassembler.a /home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.build/lib/libLLVMAMDGPUInfo.a /home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.build/lib/libLLVMAMDGPUUtils.a /home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.build/lib/libLLVMAnalysis.a /home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.build/lib/libLLVMProfileData.a /home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.build/lib/libLLVMSymbolize.a /home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.build/lib/libLLVMDebugInfoPDB.a /home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.build/lib/libLLVMDebugInfoCodeView.a /home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.build/lib/libLLVMDebugInfoMSF.a /home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.build/lib/libLLVMDebugInfoBTF.a /home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.build/lib/libLLVMDebugInfoDWARF.a /home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.build/lib/libLLVMObject.a /home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.build/lib/libLLVMIRReader.a /home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.build/lib/libLLVMBitReader.a /home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.build/lib/libLLVMAsmParser.a /home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.build/lib/libLLVMTextAPI.a /home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.build/lib/libLLVMCore.a /home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.build/lib/libLLVMRemarks.a /home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.build/lib/libLLVMBitstreamReader.a /home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.build/lib/libLLVMCodeGenTypes.a /home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.build/lib/libLLVMMCParser.a /home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.build/lib/libLLVMMC.a /home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.build/lib/libLLVMBinaryFormat.a /home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.build/lib/libLLVMTargetParser.a /home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.build/lib/libLLVMSupport.a /home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.build/lib/libLLVMDemangle.a -lrt -ldl -lm /usr/lib/x86_64-linux-gnu/libz.so -lpthread /usr/lib/x86_64-linux-gnu/libffi.a && :
ld.lld: error: undefined symbol: llvm::omp::target::ompt::Initialized
>>> referenced by PluginInterface.cpp
>>> PluginInterface.cpp.o:(llvm::omp::target::plugin::GenericDeviceTy::GenericDeviceTy(llvm::omp::target::plugin::GenericPluginTy&, int, int, llvm::omp::GV const&)) in archive /home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.build/lib/libomptarget.rtl.amdgpu.a
>>> referenced by PluginInterface.cpp
>>> PluginInterface.cpp.o:(llvm::omp::target::plugin::GenericDeviceTy::init(llvm::omp::target::plugin::GenericPluginTy&)) in archive /home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.build/lib/libomptarget.rtl.amdgpu.a
ld.lld: error: undefined symbol: llvm::omp::target::ompt::lookupCallbackByCode
>>> referenced by PluginInterface.cpp
>>> PluginInterface.cpp.o:(llvm::omp::target::plugin::GenericDeviceTy::GenericDeviceTy(llvm::omp::target::plugin::GenericPluginTy&, int, int, llvm::omp::GV const&)) in archive /home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.build/lib/libomptarget.rtl.amdgpu.a
ld.lld: error: undefined symbol: llvm::omp::target::ompt::lookupCallbackByName
>>> referenced by PluginInterface.cpp
>>> PluginInterface.cpp.o:(llvm::omp::target::plugin::GenericDeviceTy::init(llvm::omp::target::plugin::GenericPluginTy&)) in archive /home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.build/lib/libomptarget.rtl.amdgpu.a
clang++: error: linker command failed with exit code 1 (use -v to see invocation)
46.467 [4/1/2232] Linking CXX shared library /home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.build/lib/libomptarget.so.20.0git
ninja: build stopped: subcommand failed.
FAILED: runtimes/runtimes-stamps/runtimes-build /home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.build/runtimes/runtimes-stamps/runtimes-build
cd /home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.build/runtimes/runtimes-bins && /usr/local/cmake/bin/cmake --build .
ninja: build stopped: subcommand failed.
```
</details>
https://github.com/llvm/llvm-project/pull/117704
More information about the llvm-commits
mailing list