Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Azkali:Tegra
gcc7
gcc7-libgo-stacksize-unsigned.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File gcc7-libgo-stacksize-unsigned.patch of Package gcc7
commit 8892e14fdfbe862f1520568d5df1046313d78e73 Author: Matthew Krupcale <krupcalemj@ornl.gov> Date: 2023-03-17 12:53:01 -0400 commit 1a543ca52392b7aea135f47ac244485fcea0d267 Author: Ian Lance Taylor <iant@golang.org> Date: 2021-03-08 15:24:06 -0800 runtime: cast SIGSTKSZ to uintptr PR go/99458 * libgo/runtime/proc.c: cast SIGSTKSZ to uintptr In newer versions of glibc it is long, which causes a signed comparison warning. diff --git a/libgo/runtime/proc.c b/libgo/runtime/proc.c index 06a9c2ad6..4f85043bb 100644 --- a/libgo/runtime/proc.c +++ b/libgo/runtime/proc.c @@ -1352,8 +1352,8 @@ runtime_malg(bool allocatestack, bool signalstack, byte** ret_stack, uintptr* re if(signalstack) { stacksize = 32 * 1024; // OS X wants >= 8K, GNU/Linux >= 2K #ifdef SIGSTKSZ - if(stacksize < SIGSTKSZ) - stacksize = SIGSTKSZ; + if(stacksize < (uintptr)(SIGSTKSZ)) + stacksize = (uintptr)(SIGSTKSZ); #endif }
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