bug-make
[Top][All Lists]
Advanced

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

Re: INTERNAL: Exiting with 2 jobserver tokens available; should be 5!


From: Paul Smith
Subject: Re: INTERNAL: Exiting with 2 jobserver tokens available; should be 5!
Date: Sat, 12 Nov 2016 08:55:14 -0500

On Sat, 2016-11-12 at 13:06 +0200, Jaak Ristioja wrote:
> I'm guessing that PATH_MAX is 4096 on most Linux systems, while the stack is
> 8192.

There's no way the stack is so small.  Virtually no userspace program
can run with an 8k stack, regardless of whether they use alloca() or
not.

I think you might be misled by the output of ulimit -s as "8192";
however, the doc says:

> Values are in 1024-byte increments

so really the default is an 8M stack, not an 8K stack.

Also, traditional Linux systems set the hard limit on the stack size to
"unlimited" (run 'ulimit -S' to see it), and GNU make will reset its own
stack size to the maximum when it starts.

I don't know if there are special features of ARM which make alloca()
more problematic than other systems, but I've certainly never heard of
any issues like this on ARM.

I suspect this is a red herring.



reply via email to

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