rust/cargo-c: update to 0.10.7+cargo-0.84.0
[oi-userland.git] / components / developer / gcc-11 / patches / 1006-libsanitizer-no-proc-task.patch
blobc15fad4bb5de44f150f97a5d64ad533d05a316ff
1 Solaris (and illumos) have no /proc/%d/task/.
2 https://github.com/llvm/llvm-project/issues/61320
4 --- gcc-releases-gcc-11.3.0/libsanitizer/sanitizer_common/sanitizer_linux.cpp.orig
5 +++ gcc-releases-gcc-11.3.0/libsanitizer/sanitizer_common/sanitizer_linux.cpp
6 @@ -899,7 +899,7 @@
7 #endif
8 #endif // !SANITIZER_SOLARIS
10 -#if !SANITIZER_NETBSD
11 +#if !SANITIZER_NETBSD && !SANITIZER_SOLARIS
12 // ThreadLister implementation.
13 ThreadLister::ThreadLister(pid_t pid) : pid_(pid), buffer_(4096) {
14 char task_directory_path[80];