[llvm] RuntimeLibcalls: Use get_host_tool_path for executables used in benchmark (PR #153955)

LLVM Continuous Integration via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 17 17:54:37 PDT 2025


llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `fuchsia-x86_64-linux` running on `fuchsia-debian-64-us-central1-a-1` while building `llvm` at step 4 "annotate".

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

<details>
<summary>Here is the relevant piece of the build log for the reference</summary>

```
Step 4 (annotate) failure: 'python ../llvm-zorg/zorg/buildbot/builders/annotated/fuchsia-linux.py ...' (failure)
...
-- Performing Test HAVE_CXX_FLAG_COVERAGE - Failed
-- Compiling and running to test HAVE_GNU_POSIX_REGEX
-- Performing Test HAVE_GNU_POSIX_REGEX -- failed to compile
-- Compiling and running to test HAVE_POSIX_REGEX
-- Performing Test HAVE_POSIX_REGEX -- success
-- Compiling and running to test HAVE_STEADY_CLOCK
-- Performing Test HAVE_STEADY_CLOCK -- success
-- Compiling and running to test HAVE_PTHREAD_AFFINITY
-- Performing Test HAVE_PTHREAD_AFFINITY -- success
-- Configuring done
CMake Error at benchmarks/CMakeLists.txt:24 (add_custom_command):
  Error evaluating generator expression:

    $<TARGET_FILE:llvm-nm>

  Target "llvm-nm" is not an executable or library.


CMake Error at benchmarks/CMakeLists.txt:24 (add_custom_command):
  Error evaluating generator expression:

    $<TARGET_FILE:llvm-nm>

  Target "llvm-nm" is not an executable or library.


CMake Error at benchmarks/CMakeLists.txt:24 (add_custom_command):
  Error evaluating generator expression:

    $<TARGET_FILE:llvm-nm>

  Target "llvm-nm" is not an executable or library.


-- Generating done
CMake Generate step failed.  Build files cannot be regenerated correctly.
['cmake', '-S', '/var/lib/buildbot/fuchsia-x86_64-linux/build/../llvm-project/llvm', '-B', '/var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-o7b_rf9r', '-G', 'Ninja', '-D', 'LLVM_CCACHE_BUILD=ON', '-D', 'LLVM_ENABLE_LTO=OFF', '-D', 'FUCHSIA_SDK=/usr/local/fuchsia/sdk', '-D', 'LLVM_RUNTIME_MULTILIBS=', '-C', '/var/lib/buildbot/fuchsia-x86_64-linux/build/../llvm-project/clang/cmake/caches/Fuchsia-stage2.cmake'] exited with return code 1.
@@@STEP_FAILURE@@@
@@@BUILD_STEP build@@@
Running: ninja -C /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-o7b_rf9r toolchain-distribution
ninja: Entering directory `/var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-o7b_rf9r'
ninja: error: loading 'build.ninja': No such file or directory
['ninja', '-C', '/var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-o7b_rf9r', 'toolchain-distribution'] exited with return code 1.
@@@STEP_FAILURE@@@
@@@BUILD_STEP check@@@
Running: ninja -C /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-o7b_rf9r check-llvm check-clang check-lld
ninja: Entering directory `/var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-o7b_rf9r'
ninja: error: loading 'build.ninja': No such file or directory
['ninja', '-C', '/var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-o7b_rf9r', 'check-llvm', 'check-clang', 'check-lld'] exited with return code 1.
@@@STEP_FAILURE@@@
Step 5 (configure) failure: configure (failure)
...
-- Performing Test HAVE_CXX_FLAG_WSHORTEN_64_TO_32 - Success
-- Performing Test HAVE_CXX_FLAG_FSTRICT_ALIASING
-- Performing Test HAVE_CXX_FLAG_FSTRICT_ALIASING - Success
-- Performing Test HAVE_CXX_FLAG_WNO_DEPRECATED_DECLARATIONS
-- Performing Test HAVE_CXX_FLAG_WNO_DEPRECATED_DECLARATIONS - Success
-- Performing Test HAVE_CXX_FLAG_FNO_EXCEPTIONS
-- Performing Test HAVE_CXX_FLAG_FNO_EXCEPTIONS - Success
-- Performing Test HAVE_CXX_FLAG_WSTRICT_ALIASING
-- Performing Test HAVE_CXX_FLAG_WSTRICT_ALIASING - Success
-- Performing Test HAVE_CXX_FLAG_WD654
-- Performing Test HAVE_CXX_FLAG_WD654 - Failed
-- Performing Test HAVE_CXX_FLAG_WTHREAD_SAFETY
-- Performing Test HAVE_CXX_FLAG_WTHREAD_SAFETY - Success
-- Enabling additional flags: -DINCLUDE_DIRECTORIES=/var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/third-party/benchmark/include
-- Compiling and running to test HAVE_THREAD_SAFETY_ATTRIBUTES
-- Performing Test HAVE_THREAD_SAFETY_ATTRIBUTES -- success
-- Performing Test HAVE_CXX_FLAG_COVERAGE
-- Performing Test HAVE_CXX_FLAG_COVERAGE - Failed
-- Compiling and running to test HAVE_GNU_POSIX_REGEX
-- Performing Test HAVE_GNU_POSIX_REGEX -- failed to compile
-- Compiling and running to test HAVE_POSIX_REGEX
-- Performing Test HAVE_POSIX_REGEX -- success
-- Compiling and running to test HAVE_STEADY_CLOCK
-- Performing Test HAVE_STEADY_CLOCK -- success
-- Compiling and running to test HAVE_PTHREAD_AFFINITY
-- Performing Test HAVE_PTHREAD_AFFINITY -- success
-- Configuring done
CMake Error at benchmarks/CMakeLists.txt:24 (add_custom_command):
  Error evaluating generator expression:

    $<TARGET_FILE:llvm-nm>

  Target "llvm-nm" is not an executable or library.
CMake Error at benchmarks/CMakeLists.txt:24 (add_custom_command):
  Error evaluating generator expression:

    $<TARGET_FILE:llvm-nm>

  Target "llvm-nm" is not an executable or library.


CMake Error at benchmarks/CMakeLists.txt:24 (add_custom_command):
  Error evaluating generator expression:

    $<TARGET_FILE:llvm-nm>

  Target "llvm-nm" is not an executable or library.
-- Generating done
CMake Generate step failed.  Build files cannot be regenerated correctly.
['cmake', '-S', '/var/lib/buildbot/fuchsia-x86_64-linux/build/../llvm-project/llvm', '-B', '/var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-o7b_rf9r', '-G', 'Ninja', '-D', 'LLVM_CCACHE_BUILD=ON', '-D', 'LLVM_ENABLE_LTO=OFF', '-D', 'FUCHSIA_SDK=/usr/local/fuchsia/sdk', '-D', 'LLVM_RUNTIME_MULTILIBS=', '-C', '/var/lib/buildbot/fuchsia-x86_64-linux/build/../llvm-project/clang/cmake/caches/Fuchsia-stage2.cmake'] exited with return code 1.

```

</details>

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


More information about the llvm-commits mailing list