https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71839

--- Comment #5 from Anton Shterenlikht <mexas at bristol dot ac.uk> ---
The puzzling thing is that symbol _gfortran_caf_stop_str
is in the OpenCoarrays library:

$ nm ~/OpenCoarrays-1.6.0/opencoarrays-build/lib/libcaf_mpi.a | grep
_gfortran_caf_stop_str
0000000000004870 T _gfortran_caf_stop_str

My library must not affect whether this symbol is found or not.

However, it seems, when I build my library, a lot of
OpenCoarray symbols are added to it, but not that one.

For example, another symbol, _gfortran_caf_error_stop_str, is also in
the OpenCoarrays library:

$ nm ~/OpenCoarrays-1.6.0/opencoarrays-build/lib/libcaf_mpi.a | grep
_gfortran_caf_error_stop_str
00000000000048e0 T _gfortran_caf_error_stop_str

but this one is added to my library by caf:

nm ../libcgpack.a |grep stop
                 U _gfortran_caf_error_stop_str
                 U _gfortran_caf_error_stop_str
                 U _gfortran_caf_error_stop_str
                 U _gfortran_caf_error_stop_str
                 U _gfortran_caf_error_stop_str
                 U _gfortran_caf_error_stop_str
                 U _gfortran_caf_error_stop_str
                 U _gfortran_caf_error_stop_str
                 U _gfortran_caf_error_stop_str
                 U _gfortran_caf_error_stop_str
                 U _gfortran_caf_error_stop_str
                 U _gfortran_caf_error_stop_str
                 U _gfortran_caf_error_stop_str
                 U _gfortran_caf_error_stop_str
                 U _gfortran_caf_error_stop_str

Maybe I should ask the OpenCoarrays people.

Reply via email to