[clang] [compiler-rt] [llvm] Skipping host target exports during cross-compilation (PR #209922)

LLVM Continuous Integration via cfe-commits cfe-commits at lists.llvm.org
Fri Jul 17 19:26:40 PDT 2026


llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `flang-x86_64-windows` running on `minipc-ryzen-win` while building `clang,compiler-rt,llvm,runtimes` at step 8 "test-build-unified-tree-check-flang-rt".

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

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

```
Step 8 (test-build-unified-tree-check-flang-rt) failure: test (failure)
...
532.080 [11/6/391] Building CXX object flang-rt/unittests/Runtime/CMakeFiles/RuntimeTests.dir/Pointer.cpp.obj
533.943 [10/6/392] Building CXX object flang-rt/unittests/Runtime/CMakeFiles/RuntimeTests.dir/NumericalFormatTest.cpp.obj
536.380 [9/6/393] Building CXX object flang-rt/unittests/Runtime/CMakeFiles/RuntimeTests.dir/RuntimeCrashTest.cpp.obj
537.127 [8/6/394] Building CXX object flang-rt/unittests/Runtime/CMakeFiles/RuntimeTests.dir/Stop.cpp.obj
538.423 [7/6/395] Building CXX object flang-rt/unittests/Runtime/CMakeFiles/RuntimeTests.dir/Support.cpp.obj
538.497 [6/6/396] Linking CXX static library C:\buildbot\flang-x86_64-windows\build\lib\clang\24\lib\x86_64-pc-windows-msvc\flang_rt.runtime.static.lib
538.599 [5/6/397] Linking CXX static library C:\buildbot\flang-x86_64-windows\build\lib\clang\24\lib\x86_64-pc-windows-msvc\flang_rt.runtime.static_dbg.lib
538.676 [4/6/398] Linking CXX static library C:\buildbot\flang-x86_64-windows\build\lib\clang\24\lib\x86_64-pc-windows-msvc\flang_rt.runtime.dynamic_dbg.lib
538.751 [3/6/399] Building CXX object flang-rt/unittests/Runtime/CMakeFiles/RuntimeTests.dir/Time.cpp.obj
538.757 [2/6/400] Linking CXX executable flang-rt\unittests\Evaluate\reshape.test.exe
FAILED: [code=4294967295] flang-rt/unittests/Evaluate/reshape.test.exe 
C:\Windows\system32\cmd.exe /C "cd . && "C:\Program Files\CMake\bin\cmake.exe" -E vs_link_exe --msvc-ver=1951 --intdir=flang-rt\unittests\Evaluate\CMakeFiles\reshape.test.dir --rc=C:\buildbot\flang-x86_64-windows\build\.\bin\llvm-rc.exe --mt=C:\PROGRA~2\WI3CF2~1\10\bin\100261~1.0\x64\mt.exe --manifests  -- C:\PROGRA~1\MICROS~2\18\COMMUN~1\VC\Tools\MSVC\1451~1.362\bin\Hostx64\x64\link.exe /nologo flang-rt/unittests/Evaluate/CMakeFiles/reshape.test.dir/reshape.cpp.obj  /out:flang-rt\unittests\Evaluate\reshape.test.exe /implib:flang-rt\unittests\Evaluate\reshape.test.lib /pdb:flang-rt\unittests\Evaluate\reshape.test.pdb /version:0.0 /machine:x64 /Brepro /INCREMENTAL:NO /subsystem:console /STACK:10000000  flang-rt/lib/Testing/NonGTestTesting.lib  C:/buildbot/flang-x86_64-windows/build/lib/clang/24/lib/x86_64-pc-windows-msvc/flang_rt.runtime.dynamic.lib  LLVMSupport.lib  kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib && cd ."
LINK: command "C:\PROGRA~1\MICROS~2\18\COMMUN~1\VC\Tools\MSVC\1451~1.362\bin\Hostx64\x64\link.exe /nologo flang-rt/unittests/Evaluate/CMakeFiles/reshape.test.dir/reshape.cpp.obj /out:flang-rt\unittests\Evaluate\reshape.test.exe /implib:flang-rt\unittests\Evaluate\reshape.test.lib /pdb:flang-rt\unittests\Evaluate\reshape.test.pdb /version:0.0 /machine:x64 /Brepro /INCREMENTAL:NO /subsystem:console /STACK:10000000 flang-rt/lib/Testing/NonGTestTesting.lib C:/buildbot/flang-x86_64-windows/build/lib/clang/24/lib/x86_64-pc-windows-msvc/flang_rt.runtime.dynamic.lib LLVMSupport.lib kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib /MANIFEST:EMBED,ID=1" failed (exit code 1181) with the following output:
LINK : fatal error LNK1181: cannot open input file 'LLVMSupport.lib'

538.811 [2/5/401] Linking CXX executable flang-rt\unittests\Evaluate\ISO-Fortran-binding.test.exe
FAILED: [code=4294967295] flang-rt/unittests/Evaluate/ISO-Fortran-binding.test.exe 
C:\Windows\system32\cmd.exe /C "cd . && "C:\Program Files\CMake\bin\cmake.exe" -E vs_link_exe --msvc-ver=1951 --intdir=flang-rt\unittests\Evaluate\CMakeFiles\ISO-Fortran-binding.test.dir --rc=C:\buildbot\flang-x86_64-windows\build\.\bin\llvm-rc.exe --mt=C:\PROGRA~2\WI3CF2~1\10\bin\100261~1.0\x64\mt.exe --manifests  -- C:\PROGRA~1\MICROS~2\18\COMMUN~1\VC\Tools\MSVC\1451~1.362\bin\Hostx64\x64\link.exe /nologo flang-rt/unittests/Evaluate/CMakeFiles/ISO-Fortran-binding.test.dir/ISO-Fortran-binding.cpp.obj  /out:flang-rt\unittests\Evaluate\ISO-Fortran-binding.test.exe /implib:flang-rt\unittests\Evaluate\ISO-Fortran-binding.test.lib /pdb:flang-rt\unittests\Evaluate\ISO-Fortran-binding.test.pdb /version:0.0 /machine:x64 /Brepro /INCREMENTAL:NO /subsystem:console /STACK:10000000  flang-rt/lib/Testing/NonGTestTesting.lib  C:/buildbot/flang-x86_64-windows/build/lib/clang/24/lib/x86_64-pc-windows-msvc/flang_rt.runtime.dynamic.lib  LLVMSupport.lib  kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib && cd ."
LINK: command "C:\PROGRA~1\MICROS~2\18\COMMUN~1\VC\Tools\MSVC\1451~1.362\bin\Hostx64\x64\link.exe /nologo flang-rt/unittests/Evaluate/CMakeFiles/ISO-Fortran-binding.test.dir/ISO-Fortran-binding.cpp.obj /out:flang-rt\unittests\Evaluate\ISO-Fortran-binding.test.exe /implib:flang-rt\unittests\Evaluate\ISO-Fortran-binding.test.lib /pdb:flang-rt\unittests\Evaluate\ISO-Fortran-binding.test.pdb /version:0.0 /machine:x64 /Brepro /INCREMENTAL:NO /subsystem:console /STACK:10000000 flang-rt/lib/Testing/NonGTestTesting.lib C:/buildbot/flang-x86_64-windows/build/lib/clang/24/lib/x86_64-pc-windows-msvc/flang_rt.runtime.dynamic.lib LLVMSupport.lib kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib /MANIFEST:EMBED,ID=1" failed (exit code 1181) with the following output:
LINK : fatal error LNK1181: cannot open input file 'LLVMSupport.lib'

540.865 [2/4/402] Building CXX object flang-rt/unittests/Runtime/CMakeFiles/RuntimeTests.dir/TemporaryStack.cpp.obj
541.384 [2/3/403] Building CXX object flang-rt/unittests/Runtime/CMakeFiles/RuntimeTests.dir/Reduction.cpp.obj
542.769 [2/2/404] Building CXX object flang-rt/unittests/Runtime/CMakeFiles/RuntimeTests.dir/TypeCode.cpp.obj
546.676 [2/1/405] Building CXX object flang-rt/unittests/Runtime/CMakeFiles/RuntimeTests.dir/Transformational.cpp.obj
ninja: build stopped: subcommand failed.
FAILED: [code=4294967295] runtimes/CMakeFiles/check-flang-rt C:/buildbot/flang-x86_64-windows/build/runtimes/CMakeFiles/check-flang-rt 
C:\Windows\system32\cmd.exe /C "cd /D C:\buildbot\flang-x86_64-windows\build\runtimes\runtimes-bins && "C:\Program Files\CMake\bin\cmake.exe" --build C:/buildbot/flang-x86_64-windows/build/runtimes/runtimes-bins/ --target check-flang-rt --config Release"
ninja: build stopped: subcommand failed.
Cache directory:       C:\Users\buildbot-worker\AppData\Local\ccache
Config file:           C:\Users\buildbot-worker\AppData\Local\ccache\ccache.conf
Directory config file:
System config file:    C:\ProgramData\ccache\ccache.conf
Stats updated:         07/17/26 19:15:06
Local storage:
  Cache size (GB):       4.0 / 5.0 (79.99%)
  Files:               16276
  Hits:                    0
  Misses:                  0
  Reads:                   0
  Writes:                  0

```

</details>

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


More information about the cfe-commits mailing list