public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: dev-cpp/gtest/files/
@ 2020-07-19 10:43 Joonas Niilola
  0 siblings, 0 replies; 2+ messages in thread
From: Joonas Niilola @ 2020-07-19 10:43 UTC (permalink / raw
  To: gentoo-commits

commit:     fcb4e7ad557c7c41d87ef963f0eef18665b90ca1
Author:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
AuthorDate: Sun Jul 19 10:20:43 2020 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Sun Jul 19 10:43:26 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fcb4e7ad

dev-cpp/gtest: fix ExecutableFile CI issue

Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 .../gtest/files/gtest-1.10.0_p20200702-increase-clone-stack-size.patch    | 0
 .../gtest/files/gtest-1.9.0_pre20190607-increase-clone-stack-size.patch   | 0
 2 files changed, 0 insertions(+), 0 deletions(-)

diff --git a/dev-cpp/gtest/files/gtest-1.10.0_p20200702-increase-clone-stack-size.patch b/dev-cpp/gtest/files/gtest-1.10.0_p20200702-increase-clone-stack-size.patch
old mode 100755
new mode 100644

diff --git a/dev-cpp/gtest/files/gtest-1.9.0_pre20190607-increase-clone-stack-size.patch b/dev-cpp/gtest/files/gtest-1.9.0_pre20190607-increase-clone-stack-size.patch
old mode 100755
new mode 100644


^ permalink raw reply	[flat|nested] 2+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-cpp/gtest/files/
@ 2022-04-18 20:28 Sam James
  0 siblings, 0 replies; 2+ messages in thread
From: Sam James @ 2022-04-18 20:28 UTC (permalink / raw
  To: gentoo-commits

commit:     482e7cfce9dff16b7457c507accbc7e7dcf8ed6c
Author:     Peter Levine <plevine457 <AT> gmail <DOT> com>
AuthorDate: Mon Apr 18 06:17:10 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Apr 18 20:28:28 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=482e7cfc

dev-cpp/gtest: fix testcase failure with musl

Empirically, "getpagesize() * 12" instead of "getpagesize() * 10"
appears to be enough to memory to stave off a stack overflow when built
against musl libc.

Closes: https://bugs.gentoo.org/834068
Closes: https://github.com/gentoo/gentoo/pull/25073
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Peter Levine <plevine457 <AT> gmail.com>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 .../gtest/files/gtest-1.10.0_p20200702-increase-clone-stack-size.patch | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/dev-cpp/gtest/files/gtest-1.10.0_p20200702-increase-clone-stack-size.patch b/dev-cpp/gtest/files/gtest-1.10.0_p20200702-increase-clone-stack-size.patch
index 3e06777ac9a9..0c47681ba347 100644
--- a/dev-cpp/gtest/files/gtest-1.10.0_p20200702-increase-clone-stack-size.patch
+++ b/dev-cpp/gtest/files/gtest-1.10.0_p20200702-increase-clone-stack-size.patch
@@ -1,4 +1,5 @@
 Bug: https://bugs.gentoo.org/692464
+     https://bugs.gentoo.org/834068
 
 --- a/googletest/src/gtest-death-test.cc
 +++ b/googletest/src/gtest-death-test.cc
@@ -7,7 +8,7 @@ Bug: https://bugs.gentoo.org/692464
    if (!use_fork) {
      static const bool stack_grows_down = StackGrowsDown();
 -    const auto stack_size = static_cast<size_t>(getpagesize() * 2);
-+    const auto stack_size = static_cast<size_t>(getpagesize() * 10);
++    const auto stack_size = static_cast<size_t>(getpagesize() * 12);
      // MMAP_ANONYMOUS is not defined on Mac, so we use MAP_ANON instead.
      void* const stack = mmap(NULL, stack_size, PROT_READ | PROT_WRITE,
                               MAP_ANON | MAP_PRIVATE, -1, 0);


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-04-18 20:28 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-07-19 10:43 [gentoo-commits] repo/gentoo:master commit in: dev-cpp/gtest/files/ Joonas Niilola
  -- strict thread matches above, loose matches on Subject: below --
2022-04-18 20:28 Sam James

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox