[Bug modula2/108405] modula-2: Testsuite fails: concurrentstore.mod, contimer.mod, tinytimer.mod on Darwin (and likely elsewhere)
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108405 Iain Sandoe changed: What|Removed |Added Resolution|--- |FIXED Status|UNCONFIRMED |RESOLVED --- Comment #5 from Iain Sandoe --- so fixed on trunk.
[Bug modula2/108405] modula-2: Testsuite fails: concurrentstore.mod, contimer.mod, tinytimer.mod on Darwin (and likely elsewhere)
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108405 --- Comment #4 from CVS Commits --- The master branch has been updated by Iain D Sandoe : https://gcc.gnu.org/g:bcc023e2b4dd0dc1fd1fca3ea12664d5bdade4dc commit r13-5307-gbcc023e2b4dd0dc1fd1fca3ea12664d5bdade4dc Author: Iain Sandoe Date: Sat Jan 14 10:20:47 2023 + modula-2: Fix stack size request in initPreemptive [PR108405] As noted in the PR, the problem is that we make a request for additional stack that violates the constraints on some systems. This patch chooses a value that is divisible by common OS page sizes. TODO: the user value should be checked and then an exception thrown if it is not suitable. Signed-off-by: Iain Sandoe PR modula2/108405 gcc/m2/ChangeLog: * gm2-libs-iso/Preemptive.mod (initPreemptive): Use a value for extra space that is divisible by common OS pagesizes.
[Bug modula2/108405] modula-2: Testsuite fails: concurrentstore.mod, contimer.mod, tinytimer.mod on Darwin (and likely elsewhere)
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108405 --- Comment #3 from Andreas Schwab --- NPTL does not have the alignment restriction.
[Bug modula2/108405] modula-2: Testsuite fails: concurrentstore.mod, contimer.mod, tinytimer.mod on Darwin (and likely elsewhere)
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108405 --- Comment #2 from Iain Sandoe --- (In reply to Iain Sandoe from comment #1) > note that a default size of 8Mb is not enough for either Linux or Arm64 > Darwin (both have PTHREAD_STACK_MIN of 16384). this is, of course, rubbish .. the default is 8Mb not 8k (which is fine for both 4096 and 16384 page sizes).
[Bug modula2/108405] modula-2: Testsuite fails: concurrentstore.mod, contimer.mod, tinytimer.mod on Darwin (and likely elsewhere)
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108405 Iain Sandoe changed: What|Removed |Added Target||x86_64-darwin Keywords||testsuite-fail --- Comment #1 from Iain Sandoe --- note that a default size of 8Mb is not enough for either Linux or Arm64 Darwin (both have PTHREAD_STACK_MIN of 16384).