------- Comment #4 from janus at gcc dot gnu dot org 2009-12-26 21:44 -------
I'm curious why this problem only appears for Fortran code and not for C. If it
is a 'glibc feature', then both should be equally affected, or am I mistaken?
The following C program does not show the runtime segfault with -fopenmp
-static:
#include <stdio.h>
#include <omp.h>
int main ()
{
printf ("Number of processors: %i\n", omp_get_num_procs());
}
--
janus at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |UNCONFIRMED
Resolution|DUPLICATE |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42477