[llvm-branch-commits] [compiler-rt] 8c31f77 - [ubsan][test] Skip Misc/Posix/static-link.cpp on Solaris (#175464)
Cullen Rhodes via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Mon Feb 9 01:55:08 PST 2026
Author: Rainer Orth
Date: 2026-02-09T09:55:00Z
New Revision: 8c31f7749ac89caf477f83ad0e58c414efad67f2
URL: https://github.com/llvm/llvm-project/commit/8c31f7749ac89caf477f83ad0e58c414efad67f2
DIFF: https://github.com/llvm/llvm-project/commit/8c31f7749ac89caf477f83ad0e58c414efad67f2.diff
LOG: [ubsan][test] Skip Misc/Posix/static-link.cpp on Solaris (#175464)
The `UBSan-Standalone-x86_64 :: TestCases/Misc/Posix/static-link.cpp`
test currently `FAIL`s on Solaris/x86_64 with
```
ld: fatal: option '-z record' is incompatible with building a static executable
```
One cannot create static executables on Solaris since no `libc.a` is
delivered, so this patch skips the test.
Tested on `x86_64-pc-solaris2.11`.
(cherry picked from commit 5c2b510f882129fcdb3945842e3d050b068f3cda)
Added:
Modified:
compiler-rt/test/ubsan/TestCases/Misc/Posix/static-link.cpp
Removed:
################################################################################
diff --git a/compiler-rt/test/ubsan/TestCases/Misc/Posix/static-link.cpp b/compiler-rt/test/ubsan/TestCases/Misc/Posix/static-link.cpp
index 081eec049e3fc..daa76b7322669 100644
--- a/compiler-rt/test/ubsan/TestCases/Misc/Posix/static-link.cpp
+++ b/compiler-rt/test/ubsan/TestCases/Misc/Posix/static-link.cpp
@@ -6,7 +6,7 @@
// UNSUPPORTED: i386-target-arch, internal_symbolizer
// Does not link.
-// UNSUPPORTED: darwin
+// UNSUPPORTED: darwin,target={{.*solaris.*}}
#include <signal.h>
#include <stdio.h>
More information about the llvm-branch-commits
mailing list