[prev in list] [next in list] [prev in thread] [next in thread]
List: wine-devel
Subject: Re: ntdll: Reduce stack usage of virtual memory functions by storing sigset in static memory.
From: Grazvydas Ignotas <notasas () gmail ! com>
Date: 2015-09-28 16:16:44
Message-ID: CANOLnONw1h4484=NHUjNzUwGG4769hOM2xPmF2vPJ39WkK74dg () mail ! gmail ! com
[Download RAW message or body]
On Sun, Sep 27, 2015 at 6:05 PM, Michael Müller <michael@fds-team.de> wrote:
> Am 27.09.2015 um 00:07 schrieb Sebastian Lackner:
>> From: Michael Müller <michael@fds-team.de>
>>
>> For https://bugs.winehq.org/show_bug.cgi?id=34558
>>
>> Depending on the compiler optimization flags there is still no guarantee that
>> everything will fit into the available stack space, no matter if its declared
>> as static or not.
>
> As suspected the idea does not work for all optimization levels. At
> least GCC merges the content of the functions when using -O2 and
> therefore reintroduces the problem - even __attribute__ ((noinline)) is
> not sufficient.
Try __attribute__ ((noclone,noinline))
Gražvydas
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic