[clang] [clang][ssaf] Link static libraries and multi-arch static libraries (PR #215349)
via cfe-commits
cfe-commits at lists.llvm.org
Tue Aug 11 11:57:49 PDT 2026
github-actions[bot] wrote:
<!--PREMERGE ADVISOR COMMENT: Linux-->
# :penguin: Linux x64 Test Results
* 90779 tests passed
* 1777 tests skipped
* 1 test failed
## Failed Tests
(click on a test name to see its output)
### Clang
<details>
<summary>Clang.Analysis/Scalable/ssaf-linker/static-library-create.test</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 6
rm -rf /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Analysis/Scalable/ssaf-linker/Output/static-library-create.test.tmp
# executed command: rm -rf /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Analysis/Scalable/ssaf-linker/Output/static-library-create.test.tmp
# note: command had no output on stdout or stderr
# RUN: at line 7
mkdir -p /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Analysis/Scalable/ssaf-linker/Output/static-library-create.test.tmp
# executed command: mkdir -p /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Analysis/Scalable/ssaf-linker/Output/static-library-create.test.tmp
# note: command had no output on stdout or stderr
# RUN: at line 16
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang-ssaf-linker static-library create /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Analysis/Scalable/ssaf-linker/Inputs/tu-empty.json -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Analysis/Scalable/ssaf-linker/Output/static-library-create.test.tmp/libempty.json
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang-ssaf-linker static-library create /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Analysis/Scalable/ssaf-linker/Inputs/tu-empty.json -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Analysis/Scalable/ssaf-linker/Output/static-library-create.test.tmp/libempty.json
# note: command had no output on stdout or stderr
# RUN: at line 17
diff /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Analysis/Scalable/ssaf-linker/Outputs/libempty.json /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Analysis/Scalable/ssaf-linker/Output/static-library-create.test.tmp/libempty.json
# executed command: diff /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Analysis/Scalable/ssaf-linker/Outputs/libempty.json /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Analysis/Scalable/ssaf-linker/Output/static-library-create.test.tmp/libempty.json
# note: command had no output on stdout or stderr
# RUN: at line 25
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang-ssaf-linker static-library create /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Analysis/Scalable/ssaf-linker/Inputs/tu-1.json /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Analysis/Scalable/ssaf-linker/Inputs/tu-2.json -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Analysis/Scalable/ssaf-linker/Output/static-library-create.test.tmp/libtwo.json
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang-ssaf-linker static-library create /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Analysis/Scalable/ssaf-linker/Inputs/tu-1.json /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Analysis/Scalable/ssaf-linker/Inputs/tu-2.json -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Analysis/Scalable/ssaf-linker/Output/static-library-create.test.tmp/libtwo.json
# note: command had no output on stdout or stderr
# RUN: at line 26
diff /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Analysis/Scalable/ssaf-linker/Outputs/libtwo.json /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Analysis/Scalable/ssaf-linker/Output/static-library-create.test.tmp/libtwo.json
# executed command: diff /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Analysis/Scalable/ssaf-linker/Outputs/libtwo.json /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Analysis/Scalable/ssaf-linker/Output/static-library-create.test.tmp/libtwo.json
# note: command had no output on stdout or stderr
# RUN: at line 32
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang-ssaf-linker static-library create /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Analysis/Scalable/ssaf-linker/Inputs/tu-empty.json --namespace my-static-lib -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Analysis/Scalable/ssaf-linker/Output/static-library-create.test.tmp/lib-namespace-override.json
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang-ssaf-linker static-library create /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Analysis/Scalable/ssaf-linker/Inputs/tu-empty.json --namespace my-static-lib -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Analysis/Scalable/ssaf-linker/Output/static-library-create.test.tmp/lib-namespace-override.json
# note: command had no output on stdout or stderr
# RUN: at line 33
diff /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Analysis/Scalable/ssaf-linker/Outputs/lib-namespace-override.json /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Analysis/Scalable/ssaf-linker/Output/static-library-create.test.tmp/lib-namespace-override.json
# executed command: diff /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Analysis/Scalable/ssaf-linker/Outputs/lib-namespace-override.json /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Analysis/Scalable/ssaf-linker/Output/static-library-create.test.tmp/lib-namespace-override.json
# note: command had no output on stdout or stderr
# RUN: at line 41
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang-ssaf-linker static-library create /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Analysis/Scalable/ssaf-linker/Inputs/tu-empty.json --target-triple arm64-apple-macosx -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Analysis/Scalable/ssaf-linker/Output/static-library-create.test.tmp/lib-explicit-triple.json
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang-ssaf-linker static-library create /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Analysis/Scalable/ssaf-linker/Inputs/tu-empty.json --target-triple arm64-apple-macosx -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Analysis/Scalable/ssaf-linker/Output/static-library-create.test.tmp/lib-explicit-triple.json
# note: command had no output on stdout or stderr
# RUN: at line 42
diff /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Analysis/Scalable/ssaf-linker/Outputs/lib-explicit-triple.json /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Analysis/Scalable/ssaf-linker/Output/static-library-create.test.tmp/lib-explicit-triple.json
# executed command: diff /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Analysis/Scalable/ssaf-linker/Outputs/lib-explicit-triple.json /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Analysis/Scalable/ssaf-linker/Output/static-library-create.test.tmp/lib-explicit-triple.json
# note: command had no output on stdout or stderr
# RUN: at line 48
not /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang-ssaf-linker static-library create /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Analysis/Scalable/ssaf-linker/Inputs/tu-empty.json --target-triple x86_64-apple-macosx -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Analysis/Scalable/ssaf-linker/Output/static-library-create.test.tmp/lib-mismatch.json 2>&1 | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Analysis/Scalable/ssaf-linker/static-library-create.test --check-prefix=EXPLICIT-MISMATCH
# executed command: not /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang-ssaf-linker static-library create /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Analysis/Scalable/ssaf-linker/Inputs/tu-empty.json --target-triple x86_64-apple-macosx -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Analysis/Scalable/ssaf-linker/Output/static-library-create.test.tmp/lib-mismatch.json
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Analysis/Scalable/ssaf-linker/static-library-create.test --check-prefix=EXPLICIT-MISMATCH
# note: command had no output on stdout or stderr
# RUN: at line 56
not /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang-ssaf-linker static-library create /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Analysis/Scalable/ssaf-linker/Inputs/tu-empty.json --target-triple gibberish -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Analysis/Scalable/ssaf-linker/Output/static-library-create.test.tmp/lib-bogus-arch.json 2>&1 | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Analysis/Scalable/ssaf-linker/static-library-create.test --check-prefix=BOGUS-ARCH
# executed command: not /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang-ssaf-linker static-library create /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Analysis/Scalable/ssaf-linker/Inputs/tu-empty.json --target-triple gibberish -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Analysis/Scalable/ssaf-linker/Output/static-library-create.test.tmp/lib-bogus-arch.json
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Analysis/Scalable/ssaf-linker/static-library-create.test --check-prefix=BOGUS-ARCH
# note: command had no output on stdout or stderr
# RUN: at line 60
not /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang-ssaf-linker static-library create /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Analysis/Scalable/ssaf-linker/Inputs/tu-empty.json --target-triple arm64-gibberish-macosx -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Analysis/Scalable/ssaf-linker/Output/static-library-create.test.tmp/lib-bogus-vendor.json 2>&1 | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Analysis/Scalable/ssaf-linker/static-library-create.test --check-prefix=BOGUS-VENDOR
# executed command: not /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang-ssaf-linker static-library create /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Analysis/Scalable/ssaf-linker/Inputs/tu-empty.json --target-triple arm64-gibberish-macosx -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Analysis/Scalable/ssaf-linker/Output/static-library-create.test.tmp/lib-bogus-vendor.json
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Analysis/Scalable/ssaf-linker/static-library-create.test --check-prefix=BOGUS-VENDOR
# note: command had no output on stdout or stderr
# RUN: at line 64
not /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang-ssaf-linker static-library create /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Analysis/Scalable/ssaf-linker/Inputs/tu-empty.json --target-triple arm64-apple-gibberish -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Analysis/Scalable/ssaf-linker/Output/static-library-create.test.tmp/lib-bogus-os.json 2>&1 | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Analysis/Scalable/ssaf-linker/static-library-create.test --check-prefix=BOGUS-OS
# executed command: not /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang-ssaf-linker static-library create /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Analysis/Scalable/ssaf-linker/Inputs/tu-empty.json --target-triple arm64-apple-gibberish -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Analysis/Scalable/ssaf-linker/Output/static-library-create.test.tmp/lib-bogus-os.json
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Analysis/Scalable/ssaf-linker/static-library-create.test --check-prefix=BOGUS-OS
# note: command had no output on stdout or stderr
# RUN: at line 71
not /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang-ssaf-linker static-library create /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Analysis/Scalable/ssaf-linker/Inputs/tu-empty.json --target-triple x86_64-unknown-linux-gnu -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Analysis/Scalable/ssaf-linker/Output/static-library-create.test.tmp/lib-linux.json 2>&1 | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Analysis/Scalable/ssaf-linker/static-library-create.test --check-prefix=LINUX-TRIPLE
# executed command: not /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang-ssaf-linker static-library create /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Analysis/Scalable/ssaf-linker/Inputs/tu-empty.json --target-triple x86_64-unknown-linux-gnu -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Analysis/Scalable/ssaf-linker/Output/static-library-create.test.tmp/lib-linux.json
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Analysis/Scalable/ssaf-linker/static-library-create.test --check-prefix=LINUX-TRIPLE
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Analysis/Scalable/ssaf-linker/static-library-create.test:73:18: error: LINUX-TRIPLE: expected string not found in input
# | // LINUX-TRIPLE: does not match expected triple 'x86_64-unknown-linux-gnu'
# | ^
# | <stdin>:1:1: note: scanning from here
# | clang-ssaf-linker: error: invalid --target-triple 'x86_64-unknown-linux-gnu': unrecognized vendor
# | ^
# | <stdin>:1:20: note: possible intended match here
# | clang-ssaf-linker: error: invalid --target-triple 'x86_64-unknown-linux-gnu': unrecognized vendor
# | ^
# |
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Analysis/Scalable/ssaf-linker/static-library-create.test
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | 1: clang-ssaf-linker: error: invalid --target-triple 'x86_64-unknown-linux-gnu': unrecognized vendor
# | check:73'0 { } search range (exclusive bounds)
# | check:73'1 error: no match found in search range
# | check:73'2 ? possible intended match
# | >>>>>>
# `-----------------------------
# 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/215349
More information about the cfe-commits
mailing list