[llvm] TableGen: Use StringOffsetTable for RuntimeLibcall names (PR #148839)
LLVM Continuous Integration via llvm-commits
llvm-commits at lists.llvm.org
Tue Jul 15 07:36:51 PDT 2025
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `ml-opt-rel-x86-64` running on `ml-opt-rel-x86-64-b1` while building `llvm` at step 5 "build-unified-tree".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/185/builds/22136
<details>
<summary>Here is the relevant piece of the build log for the reference</summary>
```
Step 5 (build-unified-tree) failure: build (failure)
...
54.828 [1551/33/2339] Linking CXX executable bin/llvm-jitlink-executor
54.884 [1551/32/2340] Building X86GenDAGISel.inc...
54.905 [1551/31/2341] Linking CXX static library lib/libLLVMVectorize.a
54.981 [1551/30/2342] Linking CXX static library lib/libLLVMScalarOpts.a
55.041 [1548/32/2343] Linking CXX static library lib/libLLVMFuzzMutate.a
55.064 [1548/31/2344] Linking CXX executable bin/llvm-sim
55.070 [1548/30/2345] Linking CXX static library lib/libLLVMFrontendOpenMP.a
55.284 [1547/30/2346] Linking CXX executable bin/llvm-cat
55.318 [1547/29/2347] Linking CXX executable bin/llvm-tli-checker
55.412 [1547/28/2348] Linking CXX executable bin/llvm-modextract
FAILED: bin/llvm-modextract
: && /usr/bin/c++ -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-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG -Wl,--gc-sections tools/llvm-modextract/CMakeFiles/llvm-modextract.dir/llvm-modextract.cpp.o -o bin/llvm-modextract -Wl,-rpath,"\$ORIGIN/../lib:" lib/libLLVMBitReader.a lib/libLLVMBitWriter.a lib/libLLVMCore.a lib/libLLVMSupport.a -lpthread lib/libLLVMAnalysis.a lib/libtf_xla_runtime.a lib/libLLVMProfileData.a lib/libLLVMSymbolize.a lib/libLLVMDebugInfoGSYM.a lib/libLLVMDebugInfoPDB.a lib/libLLVMDebugInfoCodeView.a lib/libLLVMDebugInfoMSF.a lib/libLLVMDebugInfoBTF.a lib/libLLVMDebugInfoDWARF.a lib/libLLVMObject.a lib/libLLVMIRReader.a lib/libLLVMBitReader.a lib/libLLVMAsmParser.a lib/libLLVMCore.a lib/libLLVMRemarks.a lib/libLLVMBitstreamReader.a lib/libLLVMMCParser.a lib/libLLVMMC.a lib/libLLVMTextAPI.a lib/libLLVMDebugInfoDWARFLowLevel.a lib/libLLVMBinaryFormat.a lib/libLLVMTargetParser.a lib/libLLVMSupport.a lib/libLLVMDemangle.a -lrt -ldl -lpthread -lm /usr/lib/x86_64-linux-gnu/libz.so && :
lib/libLLVMObject.a(IRSymtab.cpp.o):IRSymtab.cpp:function (anonymous namespace)::buildPreservedSymbolsSet(llvm::Triple const&): error: undefined reference to 'llvm::RTLIB::RuntimeLibcallsInfo::RuntimeLibcallImplNameTable'
collect2: error: ld returned 1 exit status
55.412 [1547/27/2349] Linking CXX static library lib/libLLVMipo.a
55.417 [1547/26/2350] Linking CXX executable bin/verify-uselistorder
FAILED: bin/verify-uselistorder
: && /usr/bin/c++ -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-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG -Wl,--gc-sections tools/verify-uselistorder/CMakeFiles/verify-uselistorder.dir/verify-uselistorder.cpp.o -o bin/verify-uselistorder -Wl,-rpath,"\$ORIGIN/../lib:" lib/libLLVMAsmParser.a lib/libLLVMBitReader.a lib/libLLVMBitWriter.a lib/libLLVMCore.a lib/libLLVMIRReader.a lib/libLLVMSupport.a -lpthread lib/libLLVMAnalysis.a lib/libtf_xla_runtime.a lib/libLLVMProfileData.a lib/libLLVMSymbolize.a lib/libLLVMDebugInfoGSYM.a lib/libLLVMDebugInfoPDB.a lib/libLLVMDebugInfoCodeView.a lib/libLLVMDebugInfoMSF.a lib/libLLVMDebugInfoBTF.a lib/libLLVMDebugInfoDWARF.a lib/libLLVMObject.a lib/libLLVMIRReader.a lib/libLLVMAsmParser.a lib/libLLVMBitReader.a lib/libLLVMCore.a lib/libLLVMRemarks.a lib/libLLVMBitstreamReader.a lib/libLLVMMCParser.a lib/libLLVMMC.a lib/libLLVMTextAPI.a lib/libLLVMDebugInfoDWARFLowLevel.a lib/libLLVMBinaryFormat.a lib/libLLVMTargetParser.a lib/libLLVMSupport.a lib/libLLVMDemangle.a -lrt -ldl -lpthread -lm /usr/lib/x86_64-linux-gnu/libz.so && :
lib/libLLVMObject.a(IRSymtab.cpp.o):IRSymtab.cpp:function (anonymous namespace)::buildPreservedSymbolsSet(llvm::Triple const&): error: undefined reference to 'llvm::RTLIB::RuntimeLibcallsInfo::RuntimeLibcallImplNameTable'
collect2: error: ld returned 1 exit status
55.488 [1547/25/2351] Linking CXX executable bin/llvm-as
FAILED: bin/llvm-as
: && /usr/bin/c++ -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-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG -Wl,--gc-sections tools/llvm-as/CMakeFiles/llvm-as.dir/llvm-as.cpp.o -o bin/llvm-as -Wl,-rpath,"\$ORIGIN/../lib:" lib/libLLVMAsmParser.a lib/libLLVMBitWriter.a lib/libLLVMCore.a lib/libLLVMSupport.a -lpthread lib/libLLVMAnalysis.a lib/libtf_xla_runtime.a lib/libLLVMProfileData.a lib/libLLVMSymbolize.a lib/libLLVMDebugInfoGSYM.a lib/libLLVMDebugInfoPDB.a lib/libLLVMDebugInfoCodeView.a lib/libLLVMDebugInfoMSF.a lib/libLLVMDebugInfoBTF.a lib/libLLVMDebugInfoDWARF.a lib/libLLVMObject.a lib/libLLVMIRReader.a lib/libLLVMAsmParser.a lib/libLLVMBitReader.a lib/libLLVMCore.a lib/libLLVMRemarks.a lib/libLLVMBitstreamReader.a lib/libLLVMMCParser.a lib/libLLVMMC.a lib/libLLVMTextAPI.a lib/libLLVMDebugInfoDWARFLowLevel.a lib/libLLVMBinaryFormat.a lib/libLLVMTargetParser.a lib/libLLVMSupport.a lib/libLLVMDemangle.a -lrt -ldl -lpthread -lm /usr/lib/x86_64-linux-gnu/libz.so && :
lib/libLLVMObject.a(IRSymtab.cpp.o):IRSymtab.cpp:function (anonymous namespace)::buildPreservedSymbolsSet(llvm::Triple const&): error: undefined reference to 'llvm::RTLIB::RuntimeLibcallsInfo::RuntimeLibcallImplNameTable'
collect2: error: ld returned 1 exit status
57.824 [1547/24/2352] Building X86GenSubtargetInfo.inc...
58.116 [1547/23/2353] Building AArch64GenSubtargetInfo.inc...
59.238 [1547/22/2354] Generating RegAllocEvictModel.o, RegAllocEvictModel.h
2025-07-15 14:36:08.601335: I external/local_tsl/tsl/cuda/cudart_stub.cc:31] Could not find cuda drivers on your machine, GPU will not be used.
2025-07-15 14:36:08.688655: E external/local_xla/xla/stream_executor/cuda/cuda_dnn.cc:9261] Unable to register cuDNN factory: Attempting to register factory for plugin cuDNN when one has already been registered
2025-07-15 14:36:08.688758: E external/local_xla/xla/stream_executor/cuda/cuda_fft.cc:607] Unable to register cuFFT factory: Attempting to register factory for plugin cuFFT when one has already been registered
2025-07-15 14:36:08.690608: E external/local_xla/xla/stream_executor/cuda/cuda_blas.cc:1515] Unable to register cuBLAS factory: Attempting to register factory for plugin cuBLAS when one has already been registered
2025-07-15 14:36:08.701931: I external/local_tsl/tsl/cuda/cudart_stub.cc:31] Could not find cuda drivers on your machine, GPU will not be used.
2025-07-15 14:36:08.702259: I tensorflow/core/platform/cpu_feature_guard.cc:182] This TensorFlow binary is optimized to use available CPU instructions in performance-critical operations.
To enable the following instructions: AVX2 FMA, in other operations, rebuild TensorFlow with the appropriate compiler flags.
2025-07-15 14:36:10.026953: W tensorflow/compiler/tf2tensorrt/utils/py_utils.cc:38] TF-TRT Warning: Could not find TensorRT
2025-07-15 14:36:11.319224: I tensorflow/core/grappler/devices.cc:66] Number of eligible GPUs (core count >= 8, compute capability >= 0.0): 0
2025-07-15 14:36:11.319419: I tensorflow/core/grappler/clusters/single_machine.cc:361] Starting new session
INFO:tensorflow:Restoring parameters from /b/ml-opt-rel-x86-64-b1/build/lib/CodeGen/models/regalloc-eviction-autogenerated/variables/variables
I0715 14:36:11.370469 139731132913472 saver.py:1413] Restoring parameters from /b/ml-opt-rel-x86-64-b1/build/lib/CodeGen/models/regalloc-eviction-autogenerated/variables/variables
2025-07-15 14:36:11.372350: I tensorflow/compiler/mlir/mlir_graph_optimization_pass.cc:388] MLIR V1 optimization pass is not enabled
WARNING:tensorflow:From /b/home/.local/lib/python3.9/site-packages/tensorflow/python/tools/saved_model_aot_compile.py:284: convert_variables_to_constants (from tensorflow.python.framework.convert_to_constants) is deprecated and will be removed in a future version.
Instructions for updating:
This API was designed for TensorFlow v1. See https://www.tensorflow.org/guide/migrate for instructions on how to migrate your code to TensorFlow v2.
W0715 14:36:11.398452 139731132913472 deprecation.py:50] From /b/home/.local/lib/python3.9/site-packages/tensorflow/python/tools/saved_model_aot_compile.py:284: convert_variables_to_constants (from tensorflow.python.framework.convert_to_constants) is deprecated and will be removed in a future version.
Instructions for updating:
This API was designed for TensorFlow v1. See https://www.tensorflow.org/guide/migrate for instructions on how to migrate your code to TensorFlow v2.
WARNING:tensorflow:From /b/home/.local/lib/python3.9/site-packages/tensorflow/python/framework/convert_to_constants.py:946: extract_sub_graph (from tensorflow.python.framework.graph_util_impl) is deprecated and will be removed in a future version.
Instructions for updating:
```
</details>
https://github.com/llvm/llvm-project/pull/148839
More information about the llvm-commits
mailing list