help-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Weird performance problem


From: David Boyce
Subject: Re: Weird performance problem
Date: Sun, 18 Jul 2010 12:50:30 -0400

On Sun, Jul 18, 2010 at 12:46 PM, Paul Smith <address@hidden> wrote:
> On Sun, 2010-07-18 at 12:42 -0300, Leandro Lucarella wrote:
>> Well, the odd behaviour was because Make forces the commands to use the
>> old Linux memory layout (indirectly triggered by making the stack
>> unlimited), as explained by Alberto here:
>> http://thread.gmane.org/gmane.comp.gnu.make.bugs/4730
>
> Hm.  GNU make DOES reset the stack to the "normal" value (at least it
> should) before it execs any commands.  It's only during the running of
> GNU make itself that the stack is set to be unlimited.
>
> We do this after we fork, and before we exec the command.
>
> I don't see why having GNU make's stack set unlimited would impact GNU
> make's children, unless there is some reason why resetting the stack
> doesn't undo the change...?

I was just looking at this too ... looks to me like the resetting was
added post-3.81, which implies that the 3.82 pre-release should work
for Luca.

David Boyce



reply via email to

[Prev in Thread] Current Thread [Next in Thread]