mirror of
https://abf.rosa.ru/djam/chromium-browser-stable-test.git
synced 2025-02-23 17:42:45 +00:00
glibc in rosa2019.1 is not so new, that patch is not needed
SIGSTKSZ is defined as a constant: [user@rosa2019 ~]$ grep -nHr SIGSTKSZ /usr/include /usr/include/asm/signal.h:89:#define MINSIGSTKSZ 2048 /usr/include/asm/signal.h:90:#define SIGSTKSZ 8192 /usr/include/asm-generic/signal.h:84:#if !defined MINSIGSTKSZ || !defined SIGSTKSZ /usr/include/asm-generic/signal.h:85:#define MINSIGSTKSZ 2048 /usr/include/asm-generic/signal.h:86:#define SIGSTKSZ 8192 /usr/include/bits/sigstack.h:27:#define MINSIGSTKSZ 2048 /usr/include/bits/sigstack.h:30:#define SIGSTKSZ 8192 /usr/include/elf.h:1229:#define AT_MINSIGSTKSZ 51 /* Stack needed for signal delivery [user@rosa2019 ~]$
This commit is contained in:
parent
0b7011afbc
commit
a5221a1ba2
2 changed files with 0 additions and 29 deletions
|
@ -1,24 +0,0 @@
|
|||
diff -up chromium-88.0.4324.182/third_party/abseil-cpp/absl/debugging/failure_signal_handler.cc.stdmaxfix chromium-88.0.4324.182/third_party/abseil-cpp/absl/debugging/failure_signal_handler.cc
|
||||
--- chromium-88.0.4324.182/third_party/abseil-cpp/absl/debugging/failure_signal_handler.cc.stdmaxfix 2021-02-17 13:16:27.120283969 -0500
|
||||
+++ chromium-88.0.4324.182/third_party/abseil-cpp/absl/debugging/failure_signal_handler.cc 2021-02-17 13:17:37.951617295 -0500
|
||||
@@ -135,7 +135,7 @@ static bool SetupAlternateStackOnce() {
|
||||
#else
|
||||
const size_t page_mask = sysconf(_SC_PAGESIZE) - 1;
|
||||
#endif
|
||||
- size_t stack_size = (std::max(SIGSTKSZ, 65536) + page_mask) & ~page_mask;
|
||||
+ size_t stack_size = (std::max(SIGSTKSZ, static_cast<long>(65536)) + page_mask) & ~page_mask;
|
||||
#if defined(ABSL_HAVE_ADDRESS_SANITIZER) || \
|
||||
defined(ABSL_HAVE_MEMORY_SANITIZER) || defined(ABSL_HAVE_THREAD_SANITIZER)
|
||||
// Account for sanitizer instrumentation requiring additional stack space.
|
||||
diff -up chromium-88.0.4324.182/third_party/breakpad/breakpad/src/client/linux/handler/exception_handler.cc.stdmaxfix chromium-88.0.4324.182/third_party/breakpad/breakpad/src/client/linux/handler/exception_handler.cc
|
||||
--- chromium-88.0.4324.182/third_party/breakpad/breakpad/src/client/linux/handler/exception_handler.cc.stdmaxfix 2021-02-17 14:39:04.556382532 -0500
|
||||
+++ chromium-88.0.4324.182/third_party/breakpad/breakpad/src/client/linux/handler/exception_handler.cc 2021-02-17 14:39:34.002519173 -0500
|
||||
@@ -138,7 +138,7 @@ void InstallAlternateStackLocked() {
|
||||
// SIGSTKSZ may be too small to prevent the signal handlers from overrunning
|
||||
// the alternative stack. Ensure that the size of the alternative stack is
|
||||
// large enough.
|
||||
- static const unsigned kSigStackSize = std::max(16384, SIGSTKSZ);
|
||||
+ static const unsigned kSigStackSize = std::max(static_cast<long>(16384), SIGSTKSZ);
|
||||
|
||||
// Only set an alternative stack if there isn't already one, or if the current
|
||||
// one is too small.
|
|
@ -149,8 +149,6 @@ Patch639: wayland-strndup.patch
|
|||
# Fix sandbox code to properly handle the new way that glibc handles fstat in rosa2019.1+
|
||||
# Thanks to Kevin Kofler for the fix (from Fedora)
|
||||
Patch640: chromium-88.0.4324.96-fstatfix.patch
|
||||
# rosa2019.1's glibc defines SIGSTKSZ as a long instead of a constant (from Fedora)
|
||||
Patch641: chromium-88.0.4324.182-rawhide-gcc-std-max-fix.patch
|
||||
# https://build.opensuse.org/package/view_file/openSUSE:Factory/chromium/build-with-pipewire-0.3.patch
|
||||
Patch642: build-with-pipewire-0.3.patch
|
||||
|
||||
|
@ -390,9 +388,6 @@ cp -f %{_gostsourcedir}/src/msspi/third_party/cprocsp/include/* third_party/bori
|
|||
%patch637 -p1 -b .fcntl
|
||||
%patch639 -p1
|
||||
%patch640 -p1
|
||||
%if %{mdvver} >= 201910
|
||||
%patch641 -p1
|
||||
%endif
|
||||
%patch642 -p1
|
||||
|
||||
# fatal error: 'fuzzer/FuzzedDataProvider.h' file not found
|
||||
|
|
Loading…
Add table
Reference in a new issue