This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/33647] New: _gfortran_copy_string missing in libgfortran.a


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]