summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Griebl <robert.griebl@qt.io>2021-10-05 22:53:42 +0200
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2021-10-06 10:47:31 +0000
commit5ab2f0b7fa4de8b59ca56b012d4d4d66332ca4eb (patch)
treecf65379f577081e0714578cf46ab99505582b6d8
parent7ec6879492535ecbc5e8fc480d93863c91071e5f (diff)
downloadqtapplicationmanager-5ab2f0b7fa4de8b59ca56b012d4d4d66332ca4eb.tar.gz
SIGSTKSZ is not a constexpr anymore in glibc 2.34+
https://sourceware.org/git/?p=glibc.git;a=blob;f=NEWS;h=85e84fe53699fe9e392edffa993612ce08b2954a;hb=HEAD#l12 Change-Id: I4f2156b5902d2bdd551c4f0f0140651561e56e2d Reviewed-by: Dominik Holland <dominik.holland@qt.io> (cherry picked from commit 6bb69e422328fee8394df278fbd5076f6552ee1e) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
-rw-r--r--src/common-lib/unixsignalhandler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common-lib/unixsignalhandler.cpp b/src/common-lib/unixsignalhandler.cpp
index ee83cd89..3878dddf 100644
--- a/src/common-lib/unixsignalhandler.cpp
+++ b/src/common-lib/unixsignalhandler.cpp
@@ -66,7 +66,7 @@ UnixSignalHandler::UnixSignalHandler()
{
// Setup alternate signal stack (to get backtrace for stack overflow)
// Canonical size might not be suffcient to get QML backtrace, so we double it
- constexpr size_t stackSize = SIGSTKSZ * 2;
+ size_t stackSize = SIGSTKSZ * 2;
stack_t sigstack;
// valgrind will report this as leaked: nothing we can do about it
sigstack.ss_sp = malloc_valgrind_ignore(stackSize);