This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/33647] New: _gfortran_copy_string missing in libgfortran.a
- From: "longb at cray dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 3 Oct 2007 18:57:33 -0000
- Subject: [Bug fortran/33647] New: _gfortran_copy_string missing in libgfortran.a
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
In the library .../lib64/libgfortran.a, the 4.1.2 version has a routine
_gfortran_copy_string
in the strong_intrinsics.o component. For the same 4.2.1 library there is no
corresponding entry point.
It appears that codes compiled with 4.1.2 generate internal calls to this entry
point. Attempting to link a library built with 4.1.2 and a code compiled and
linked with the 4.2.1 compiler results in an "undefined reference" message from
the loader for _gfortran_copy_string.
Is it by design that codes compiled with 4.1.2 cannot be linked with 4.2.1? Is
it a viable workaround to manually extract the string_intrinsic.o component
from the old libgfortran.a file and insert it into the new libgfortran.a
library, replacing the current version?
--
Summary: _gfortran_copy_string missing in libgfortran.a
Product: gcc
Version: 4.2.1
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: fortran
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: longb at cray dot com
GCC build triplet: x86_64-suse-linux
GCC host triplet: x86_64-suse-linux
GCC target triplet: x86_64-suse-linux
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33647