[compiler-rt] [sanitizer] Fix race condition in GetNamedMappingFd with decorate_pro… (PR #190617)

via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 6 12:07:32 PDT 2026


github-actions[bot] wrote:

<!--PREMERGE ADVISOR COMMENT: Linux-->
# :penguin: Linux x64 Test Results

The build failed before running any tests. Click on a failure below to see the details.

<details>
<summary>compiler-rt/lib/sanitizer_common/tests/Sanitizer-x86_64-Test-Nolibc /home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/compiler-rt/lib/sanitizer_common/tests/Sanitizer-x86_64-Test-Nolibc</summary>

```
FAILED: compiler-rt/lib/sanitizer_common/tests/Sanitizer-x86_64-Test-Nolibc /home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/compiler-rt/lib/sanitizer_common/tests/Sanitizer-x86_64-Test-Nolibc
cd /home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/compiler-rt/lib/sanitizer_common/tests && /home/gha/actions-runner/_work/llvm-project/llvm-project/build/./bin/clang++ sanitizer_nolibc_test_main.x86_64.o -Wl,-whole-archive libRTSanitizerCommon.test.nolibc.x86_64.a -Wl,-no-whole-archive -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/compiler-rt/lib/sanitizer_common/tests/./Sanitizer-x86_64-Test-Nolibc -fuse-ld=lld -Wl,--color-diagnostics -static -nostdlib -m64 -m64
ld.lld: error: undefined symbol: __errno_location
>>> referenced by sanitizer_posix.cpp:373 (/home/gha/actions-runner/_work/llvm-project/llvm-project/compiler-rt/lib/sanitizer_common/sanitizer_posix.cpp:373)
>>>               sanitizer_posix.cpp.o:(__sanitizer::GetNamedMappingFd(char const*, unsigned long, int*)) in archive libRTSanitizerCommon.test.nolibc.x86_64.a
clang++: error: linker command failed with exit code 1 (use -v to see invocation)
```
</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/190617


More information about the llvm-commits mailing list