[Bug fortran/79876] [7 Regression] FAIL: libgomp.fortran/strassen.f90 -O execution test on x86_64-apple-darwin16

2017-03-30 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79876 --- Comment #13 from Jakub Jelinek --- Seems libgomp has a bug that without {,G}OMP_STACKSIZE and with OMP_DISPLAY_ENV it displays random (uninitialized) value for the stack size, so I need to test something like: 2017-03-30 Jakub Jelinek

[Bug fortran/79876] [7 Regression] FAIL: libgomp.fortran/strassen.f90 -O execution test on x86_64-apple-darwin16

2017-03-30 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79876 --- Comment #12 from Jakub Jelinek --- Of course, the testcase was not using libgomp at all and OMP_STACKSIZE is an env var used by libgomp only. So, this means whatever darwin libpthread are using is using extremely small default for the

[Bug fortran/79876] [7 Regression] FAIL: libgomp.fortran/strassen.f90 -O execution test on x86_64-apple-darwin16

2017-03-30 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79876 --- Comment #11 from Dominique d'Humieres --- > and see what it prints? RLIMIT_STACK cur 67104768 max 67104768 PTHREAD_STACK_MIN 8192 main thread pthread_get_stacksize_np 67104768 other thread pthread_get_stacksize_np 524288 other thread

[Bug fortran/79876] [7 Regression] FAIL: libgomp.fortran/strassen.f90 -O execution test on x86_64-apple-darwin16

2017-03-30 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79876 --- Comment #10 from Jakub Jelinek --- (In reply to Dominique d'Humieres from comment #9) > > I have read people complaining about very low OMP stack sizes > > on OSX. > > What is setting the limit? Probably OSX thread library? Can you try

[Bug fortran/79876] [7 Regression] FAIL: libgomp.fortran/strassen.f90 -O execution test on x86_64-apple-darwin16

2017-03-07 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79876 --- Comment #9 from Dominique d'Humieres --- > I have read people complaining about very low OMP stack sizes > on OSX. What is setting the limit? > Should we set this to a more reasonable default value in libgfortran? > Less than 800k is quite

[Bug fortran/79876] [7 Regression] FAIL: libgomp.fortran/strassen.f90 -O execution test on x86_64-apple-darwin16

2017-03-07 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79876 --- Comment #8 from Thomas Koenig --- I have read people complaining about very low OMP stack sizes on OSX. Should we set this to a more reasonable default value in libgfortran? Less than 800k is quite ridiculous. Alternatively, is there a way

[Bug fortran/79876] [7 Regression] FAIL: libgomp.fortran/strassen.f90 -O execution test on x86_64-apple-darwin16

2017-03-07 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79876 --- Comment #7 from Jakub Jelinek --- stack size (kbytes, -s) 65532 is 64M, that should be more than enough. Of course unless darwin pthread_create does something dumb, like using far smaller stack sizes for threads by default. In

[Bug fortran/79876] [7 Regression] FAIL: libgomp.fortran/strassen.f90 -O execution test on x86_64-apple-darwin16

2017-03-07 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79876 --- Comment #6 from Dominique d'Humieres --- > Does Darwin have so ridiculously low stack size limits by default, > or is that just some setting you've done? On darwin1(0|6) ulimit gives stack size (kbytes, -s) 65532 and the

[Bug fortran/79876] [7 Regression] FAIL: libgomp.fortran/strassen.f90 -O execution test on x86_64-apple-darwin16

2017-03-07 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79876 --- Comment #5 from Jakub Jelinek --- Does Darwin have so ridiculously low stack size limits by default, or is that just some setting you've done?

[Bug fortran/79876] [7 Regression] FAIL: libgomp.fortran/strassen.f90 -O execution test on x86_64-apple-darwin16

2017-03-06 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79876 --- Comment #4 from Dominique d'Humieres --- > Le 6 mars 2017 à 16:55, tkoenig at gcc dot gnu.org > a écrit : > > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79876 > > --- Comment #3 from Thomas Koenig --- > On my

[Bug fortran/79876] [7 Regression] FAIL: libgomp.fortran/strassen.f90 -O execution test on x86_64-apple-darwin16

2017-03-06 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79876 --- Comment #3 from Thomas Koenig --- On my Linux system, I can get a crash with OMP_STACKSIZE=500k ./a.out and successfull execution with OMP_STACKSIZE=1M ./a.out What happens if you try these commands?

[Bug fortran/79876] [7 Regression] FAIL: libgomp.fortran/strassen.f90 -O execution test on x86_64-apple-darwin16

2017-03-06 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79876 Thomas Koenig changed: What|Removed |Added Status|NEW |WAITING

[Bug fortran/79876] [7 Regression] FAIL: libgomp.fortran/strassen.f90 -O execution test on x86_64-apple-darwin16

2017-03-05 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79876 Thomas Koenig changed: What|Removed |Added Target Milestone|--- |7.0 --- Comment #2 from Thomas Koenig

[Bug fortran/79876] [7 Regression] FAIL: libgomp.fortran/strassen.f90 -O execution test on x86_64-apple-darwin16

2017-03-05 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79876 Dominique d'Humieres changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|