AmigaOS: raise default tool stack size to 32768 bytes #19578
Closed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This change increases the minimum stack cookie for the AmigaOS build of the curl tool.
In testing, the older stack size of 16384 was causing curl to crash on heavy TLS loads
These operations are significantly more stack-intensive on m68k systems due to soft-float and clib2 stack frame characteristics.
Doubling the stack size allows the TLS tests to pass.
This value has been tested across:
68000
68020
68040
68060
and ensures curl runs reliably across all TLS-enabled scenarios on AmigaOS 3.x, without affecting any other platforms.
This change affects only the AmigaOS 3.2+ builds and does not modify behavior on any other platform.