[Bug fortran/79182] when use openmp and link static libgfortran,open function cause SIGSEGV

2017-01-23 Thread hwliu11 at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79182 --- Comment #3 from hwliu11 at hotmail dot com --- (In reply to Jakub Jelinek from comment #2) > That is a libc issue, statically linking only parts of -lpthread often > results in broken programs, unless libpthread.a ensures all of libpthr

[Bug fortran/79182] when use openmp and link static libgfortran,open function cause SIGSEGV

2017-01-22 Thread hwliu11 at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79182 --- Comment #1 from hwliu11 at hotmail dot com --- My platform Unbuntu 16.06 LTS 64Bit

[Bug fortran/79182] New: when use openmp and link static libgfortran,open function cause SIGSEGV

2017-01-22 Thread hwliu11 at hotmail dot com
Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: hwliu11 at hotmail dot com Target Milestone: --- Test File program savedata implicit none integer ncpu,thread_num integer OMP_GET_NUM_THREADS external