[libcxx-commits] [libcxx] [libc++] Define all CMake configuration features in the same location (PR #115361)

LLVM Continuous Integration via libcxx-commits libcxx-commits at lists.llvm.org
Thu Nov 14 04:43:57 PST 2024


llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `llvm-clang-win-x-aarch64` running on `as-builder-2` while building `libcxx` at step 15 "test-check-cxx-aarch64-unknown-linux-gnu".

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

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

```
Step 15 (test-check-cxx-aarch64-unknown-linux-gnu) failure: Test just built components: check-cxx-aarch64-unknown-linux-gnu completed (failure)
...
-- Installing: C:/buildbot/as-builder-2/x-aarch64/build/runtimes/runtimes-aarch64-unknown-linux-gnu-bins/libcxx/test-suite-install/include/libunwind.modulemap
-- Installing: C:/buildbot/as-builder-2/x-aarch64/build/runtimes/runtimes-aarch64-unknown-linux-gnu-bins/libcxx/test-suite-install/include/mach-o/compact_unwind_encoding.h
-- Installing: C:/buildbot/as-builder-2/x-aarch64/build/runtimes/runtimes-aarch64-unknown-linux-gnu-bins/libcxx/test-suite-install/include/unwind_arm_ehabi.h
-- Installing: C:/buildbot/as-builder-2/x-aarch64/build/runtimes/runtimes-aarch64-unknown-linux-gnu-bins/libcxx/test-suite-install/include/unwind_itanium.h
-- Installing: C:/buildbot/as-builder-2/x-aarch64/build/runtimes/runtimes-aarch64-unknown-linux-gnu-bins/libcxx/test-suite-install/include/unwind.h
-- Install configuration: "Release"
-- Installing: C:/buildbot/as-builder-2/x-aarch64/build/runtimes/runtimes-aarch64-unknown-linux-gnu-bins/libcxx/test-suite-install/lib/aarch64-unknown-linux-gnu/libunwind.a
0.204 [6/2/5]No update step for 'google-benchmark'
0.261 [5/2/6]No patch step for 'google-benchmark'
1.234 [4/2/7]Performing configure step for 'google-benchmark'
FAILED: libcxx/test/benchmarks/google-benchmark/src/google-benchmark-stamp/google-benchmark-configure C:/buildbot/as-builder-2/x-aarch64/build/runtimes/runtimes-aarch64-unknown-linux-gnu-bins/libcxx/test/benchmarks/google-benchmark/src/google-benchmark-stamp/google-benchmark-configure 
cmd.exe /C "cd /D C:\buildbot\as-builder-2\x-aarch64\build\runtimes\runtimes-aarch64-unknown-linux-gnu-bins\libcxx\test\benchmarks\google-benchmark\src\google-benchmark-build && "C:\Program Files\CMake\bin\cmake.exe" -GNinja -CC:/buildbot/as-builder-2/x-aarch64/build/runtimes/runtimes-aarch64-unknown-linux-gnu-bins/libcxx/test/benchmarks/google-benchmark/tmp/google-benchmark-cache-Release.cmake C:/buildbot/as-builder-2/x-aarch64/llvm-project/runtimes/../third-party/benchmark && "C:\Program Files\CMake\bin\cmake.exe" -E touch C:/buildbot/as-builder-2/x-aarch64/build/runtimes/runtimes-aarch64-unknown-linux-gnu-bins/libcxx/test/benchmarks/google-benchmark/src/google-benchmark-stamp/google-benchmark-configure"
loading initial cache file C:/buildbot/as-builder-2/x-aarch64/build/runtimes/runtimes-aarch64-unknown-linux-gnu-bins/libcxx/test/benchmarks/google-benchmark/tmp/google-benchmark-cache-Release.cmake
CMake Warning (dev) at C:/buildbot/as-builder-2/x-aarch64/build/runtimes/runtimes-aarch64-unknown-linux-gnu-bins/libcxx/test/benchmarks/google-benchmark/tmp/google-benchmark-cache-Release.cmake:9:
  Syntax Warning in cmake code at column 31

  Argument not separated from preceding token by whitespace.
This warning is for project developers.  Use -Wno-dev to suppress it.

-- The CXX compiler identification is Clang 20.0.0
-- Detecting CXX compiler ABI info
CMake Warning in C:/buildbot/as-builder-2/x-aarch64/build/runtimes/runtimes-aarch64-unknown-linux-gnu-bins/libcxx/test/benchmarks/google-benchmark/src/google-benchmark-build/CMakeFiles/CMakeScratch/TryCompile-ne1g41/CMakeLists.txt:
  The object file directory

    C:/buildbot/as-builder-2/x-aarch64/build/runtimes/runtimes-aarch64-unknown-linux-gnu-bins/libcxx/test/benchmarks/google-benchmark/src/google-benchmark-build/CMakeFiles/CMakeScratch/TryCompile-ne1g41/CMakeFiles/cmTC_56b88.dir/./

  has 227 characters.  The maximum full path to an object file is 250
  characters (see CMAKE_OBJECT_PATH_MAX).  Object file

    CMakeCXXCompilerABI.cpp.obj

  cannot be safely placed under this directory.  The build may not work
  correctly.


-- Detecting CXX compiler ABI info - failed
-- Check for working CXX compiler: C:/buildbot/as-builder-2/x-aarch64/build/./bin/clang++.exe
-- Check for working CXX compiler: C:/buildbot/as-builder-2/x-aarch64/build/./bin/clang++.exe - broken
CMake Error at C:/Program Files/CMake/share/cmake-3.25/Modules/CMakeTestCXXCompiler.cmake:63 (message):
  The C++ compiler

    "C:/buildbot/as-builder-2/x-aarch64/build/./bin/clang++.exe"

  is not able to compile a simple test program.

  It fails with the following output:

    Change Dir: C:/buildbot/as-builder-2/x-aarch64/build/runtimes/runtimes-aarch64-unknown-linux-gnu-bins/libcxx/test/benchmarks/google-benchmark/src/google-benchmark-build/CMakeFiles/CMakeScratch/TryCompile-l7xuf8
    

```

</details>

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


More information about the libcxx-commits mailing list