https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90471
--- Comment #15 from Martin Liška <marxin at gcc dot gnu.org> --- (In reply to Daniel Fruzynski from comment #14) > How to check default stack size? I found that ld has --stack option to set > it, but I cannot find a way to check default. I tried to dump default linker > script using --verbose when linking, but there was no stack size there. ulimit -s