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
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
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
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
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
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
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
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
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?
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
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?
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79876
Thomas Koenig changed:
What|Removed |Added
Status|NEW |WAITING
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
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79876
Dominique d'Humieres changed:
What|Removed |Added
Status|UNCONFIRMED |NEW
Last reconfirmed|
14 matches
Mail list logo