[clang] [llvm] [Triple] Make an target triple "os" for firmware (PR #176272)
via cfe-commits
cfe-commits at lists.llvm.org
Thu Jan 15 16:37:35 PST 2026
github-actions[bot] wrote:
<!--PREMERGE ADVISOR COMMENT: Windows-->
# :window: Windows x64 Test Results
* 129539 tests passed
* 2866 tests skipped
* 1 test failed
## Failed Tests
(click on a test name to see its output)
### Clang
<details>
<summary>Clang.Driver/darwin-fapple-link-rtlib.c</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 1
c:\_work\llvm-project\llvm-project\build\bin\clang.exe -target arm64-apple-ios12.0 C:\_work\llvm-project\llvm-project\clang\test\Driver\darwin-fapple-link-rtlib.c -nostdlib -fapple-link-rtlib -resource-dir=C:\_work\llvm-project\llvm-project\clang\test\Driver/Inputs/resource_dir -### 2>&1 | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\clang\test\Driver\darwin-fapple-link-rtlib.c
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\clang.exe' -target arm64-apple-ios12.0 'C:\_work\llvm-project\llvm-project\clang\test\Driver\darwin-fapple-link-rtlib.c' -nostdlib -fapple-link-rtlib '-resource-dir=C:\_work\llvm-project\llvm-project\clang\test\Driver/Inputs/resource_dir' '-###'
# note: command had no output on stdout or stderr
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' 'C:\_work\llvm-project\llvm-project\clang\test\Driver\darwin-fapple-link-rtlib.c'
# note: command had no output on stdout or stderr
# RUN: at line 2
c:\_work\llvm-project\llvm-project\build\bin\clang.exe -target arm64-apple-ios12.0 C:\_work\llvm-project\llvm-project\clang\test\Driver\darwin-fapple-link-rtlib.c -static -fapple-link-rtlib -resource-dir=C:\_work\llvm-project\llvm-project\clang\test\Driver/Inputs/resource_dir -### 2>&1 | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\clang\test\Driver\darwin-fapple-link-rtlib.c
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\clang.exe' -target arm64-apple-ios12.0 'C:\_work\llvm-project\llvm-project\clang\test\Driver\darwin-fapple-link-rtlib.c' -static -fapple-link-rtlib '-resource-dir=C:\_work\llvm-project\llvm-project\clang\test\Driver/Inputs/resource_dir' '-###'
# note: command had no output on stdout or stderr
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' 'C:\_work\llvm-project\llvm-project\clang\test\Driver\darwin-fapple-link-rtlib.c'
# note: command had no output on stdout or stderr
# RUN: at line 3
c:\_work\llvm-project\llvm-project\build\bin\clang.exe -target arm64-apple-ios12.0 C:\_work\llvm-project\llvm-project\clang\test\Driver\darwin-fapple-link-rtlib.c -fapple-link-rtlib -resource-dir=C:\_work\llvm-project\llvm-project\clang\test\Driver/Inputs/resource_dir -### 2>&1 | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\clang\test\Driver\darwin-fapple-link-rtlib.c --check-prefix=DEFAULT
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\clang.exe' -target arm64-apple-ios12.0 'C:\_work\llvm-project\llvm-project\clang\test\Driver\darwin-fapple-link-rtlib.c' -fapple-link-rtlib '-resource-dir=C:\_work\llvm-project\llvm-project\clang\test\Driver/Inputs/resource_dir' '-###'
# note: command had no output on stdout or stderr
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' 'C:\_work\llvm-project\llvm-project\clang\test\Driver\darwin-fapple-link-rtlib.c' --check-prefix=DEFAULT
# note: command had no output on stdout or stderr
# RUN: at line 4
c:\_work\llvm-project\llvm-project\build\bin\clang.exe -target arm64-apple-firmware C:\_work\llvm-project\llvm-project\clang\test\Driver\darwin-fapple-link-rtlib.c -static -fapple-link-rtlib -resource-dir=C:\_work\llvm-project\llvm-project\clang\test\Driver/Inputs/resource_dir -### 2>&1 | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\clang\test\Driver\darwin-fapple-link-rtlib.c --check-prefix=FIRMWARE
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\clang.exe' -target arm64-apple-firmware 'C:\_work\llvm-project\llvm-project\clang\test\Driver\darwin-fapple-link-rtlib.c' -static -fapple-link-rtlib '-resource-dir=C:\_work\llvm-project\llvm-project\clang\test\Driver/Inputs/resource_dir' '-###'
# note: command had no output on stdout or stderr
# error: command failed with exit status: 0xc000001d
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' 'C:\_work\llvm-project\llvm-project\clang\test\Driver\darwin-fapple-link-rtlib.c' --check-prefix=FIRMWARE
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\clang\test\Driver\darwin-fapple-link-rtlib.c:9:14: error: FIRMWARE: expected string not found in input
# | // FIRMWARE: libclang_rt.soft_static.a
# | ^
# | <stdin>:1:1: note: scanning from here
# | clang version 23.0.0git (https://github.com/llvm/llvm-project 928e02359e18dc06178ec51d2be362e5459fa4da)
# | ^
# | <stdin>:9:184: note: possible intended match here
# | 0. Program arguments: c:\\_work\\llvm-project\\llvm-project\\build\\bin\\clang.exe -target arm64-apple-firmware C:\\_work\\llvm-project\\llvm-project\\clang\\test\\Driver\\darwin-fapple-link-rtlib.c -static -fapple-link-rtlib -resource-dir=C:\\_work\\llvm-project\\llvm-project\\clang\\test\\Driver/Inputs/resource_dir -###
# | ^
# |
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\clang\test\Driver\darwin-fapple-link-rtlib.c
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | 1: clang version 23.0.0git (https://github.com/llvm/llvm-project 928e02359e18dc06178ec51d2be362e5459fa4da)
# | check:9'0 X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
# | 2: Target: arm64-apple-firmware
# | check:9'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 3: Thread model: posix
# | check:9'0 ~~~~~~~~~~~~~~~~~~~~
# | 4: InstalledDir: C:\_work\llvm-project\llvm-project\build\bin
# | check:9'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 5: Build config: +assertions
# | check:9'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 6: Assertion failed: isTargetMacOS() && "unexpected target", file C:\_work\llvm-project\llvm-project\clang\lib\Driver\ToolChains\Darwin.cpp, line 3556
# | check:9'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 7: PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script.
# | check:9'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 8: Stack dump:
# | check:9'0 ~~~~~~~~~~~~
# | 9: 0. Program arguments: c:\\_work\\llvm-project\\llvm-project\\build\\bin\\clang.exe -target arm64-apple-firmware C:\\_work\\llvm-project\\llvm-project\\clang\\test\\Driver\\darwin-fapple-link-rtlib.c -static -fapple-link-rtlib -resource-dir=C:\\_work\\llvm-project\\llvm-project\\clang\\test\\Driver/Inputs/resource_dir -###
# | check:9'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | check:9'1 ? possible intended match
# | 10: 1. Compilation construction
# | check:9'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 11: 2. Building compilation jobs
# | check:9'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 12: 3. Building compilation jobs
# | check:9'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 13: 4. Building compilation jobs
# | check:9'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 14: Exception Code: 0xC000001D
# | check:9'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
If these failures are unrelated to your changes (for example tests are broken or flaky at HEAD), please open an issue at https://github.com/llvm/llvm-project/issues and add the `infrastructure` label.
https://github.com/llvm/llvm-project/pull/176272
More information about the cfe-commits
mailing list