ld.gold -z stack-size=SIZE

Tom Kacvinsky tkacvins@gmail.com
Tue Apr 15 12:15:11 GMT 2025


On Sun, Apr 13, 2025 at 10:40 AM Tom Kacvinsky <tkacvins@gmail.com> wrote:

> Hi,
>
> What are the ramifications of setting the stack size during linking, in
> particular when the stack size requested during a link is higher than the
> hard limit on a system on which the executable runs?
>

>
Answering my own question - setting the stack size at link time doesn't
work - my executables still
depend on the system limits, which we are getting via getrlimit/setrlimit
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://sourceware.org/pipermail/binutils/attachments/20250415/b15d713e/attachment.htm>


More information about the Binutils mailing list