Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Backports:SLE-15-SP4
codelite
0001-Fix-compilation-with-recent-glibc-where-SI...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0001-Fix-compilation-with-recent-glibc-where-SIGSTKSZ-is-.patch of Package codelite
From 4cfcffe3ec88dcef8d779ed55a782d351cdffb9c Mon Sep 17 00:00:00 2001 From: Lauri Nurmi <lanurmi@iki.fi> Date: Wed, 4 Aug 2021 08:45:50 +0300 Subject: [PATCH] Fix compilation with recent glibc where SIGSTKSZ is not constant. (#3378) --- sdk/codelite_cppcheck/cli/cppcheckexecutor.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/sdk/codelite_cppcheck/cli/cppcheckexecutor.cpp b/sdk/codelite_cppcheck/cli/cppcheckexecutor.cpp index 49a8a6f..3fa0857 100644 --- a/sdk/codelite_cppcheck/cli/cppcheckexecutor.cpp +++ b/sdk/codelite_cppcheck/cli/cppcheckexecutor.cpp @@ -334,7 +334,11 @@ static void print_stacktrace(FILE* output, bool demangling, int maxdepth, bool l #endif } +#ifdef __USE_DYNAMIC_STACK_SIZE +static const size_t MYSTACKSIZE = 16*1024+32768; // wild guess about a reasonable buffer +#else static const size_t MYSTACKSIZE = 16*1024+SIGSTKSZ; // wild guess about a reasonable buffer +#endif static char mytstack[MYSTACKSIZE]= {0}; // alternative stack for signal handler static bool bStackBelowHeap=false; // lame attempt to locate heap vs. stack address space. See CppCheckExecutor::check_wrapper() -- 2.33.0
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor