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...? -- ------------------------------------------------------------------------------- Paul D. Smith <[email protected]> Find some GNU make tips at: http://www.gnu.org http://make.mad-scientist.net "Please remain calm...I may be mad, but I am a professional." --Mad Scientist _______________________________________________ Help-make mailing list [email protected] http://lists.gnu.org/mailman/listinfo/help-make
