On 6/17/25 11:30 AM, Joel Ebel wrote:


On Tue, Jun 17, 2025 at 11:14 AM Chet Ramey <chet.ra...@case.edu <mailto:chet.ra...@case.edu>> wrote:

    On 6/17/25 11:03 AM, Joel Ebel wrote:

     > After some digging, we found that in our environment there's no
    upper bound
     > on RLIMIT_STACK, so it's set to the maximum allowed value of
     > RLIM64_INFINITY or 2^64-1
     > Then make sets the stack limit to the maximum value, again
    RLIM64_INFINITY.
     > glibc calculates ARG_MAX by dividing the current value of
    RLIMIT_STACK by
     > 4, which gives us the 2^62-1 we're seeing.

    So a suitable `ulimit -s' would do the trick?

Yes, I believe it would. Where are you proposing that it should be run?

Since ulimit applies to the current process and its descendents, you can
start a shell, set the ulimit, and run `make tests' from that shell.

--
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU    c...@case.edu    http://tiswww.cwru.edu/~chet/

  • exec3.sub never f... Joel Ebel via Bug reports for the GNU Bourne Again SHell
    • Re: exec3.su... Martin D Kealey
      • Re: exec... Joel Ebel via Bug reports for the GNU Bourne Again SHell
        • Re: ... Chet Ramey
          • ... Joel Ebel via Bug reports for the GNU Bourne Again SHell
            • ... Joel Ebel via Bug reports for the GNU Bourne Again SHell
              • ... Chet Ramey
                • ... Joel Ebel via Bug reports for the GNU Bourne Again SHell
                • ... Chet Ramey
                • ... Joel Ebel via Bug reports for the GNU Bourne Again SHell
                • ... Chet Ramey
      • Re: exec... Lawrence Velázquez

Reply via email to