This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch ld]: Increase stack size to be 10 MB by default


Kai Tietz wrote:

> The problem I see is, that for default of ld for 32-bit 2MB stack are
> ok, but for 64-bit a stack word is double of the 32-bit version. So I
> mean may we should increase the stack size at least to 4MB for
> default. A multi-thread application can lower the stack space reserved

In that case the 64 bit port should have a different default than the 32
bit port.  But I also checked the Microsoft x64 toolchain and it too
uses a default StackReserve of 1MB.  If it works for them I don't see
why the GNU toolchain would need a value ten times larger.

Brian


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]