public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/33647] New: _gfortran_copy_string missing in libgfortran.a
@ 2007-10-03 18:57 longb at cray dot com
2007-10-03 19:22 ` [Bug fortran/33647] " pinskia at gcc dot gnu dot org
2007-10-03 19:44 ` longb at cray dot com
0 siblings, 2 replies; 3+ messages in thread
From: longb at cray dot com @ 2007-10-03 18:57 UTC (permalink / raw)
To: gcc-bugs
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug fortran/33647] _gfortran_copy_string missing in libgfortran.a
2007-10-03 18:57 [Bug fortran/33647] New: _gfortran_copy_string missing in libgfortran.a longb at cray dot com
@ 2007-10-03 19:22 ` pinskia at gcc dot gnu dot org
2007-10-03 19:44 ` longb at cray dot com
1 sibling, 0 replies; 3+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2007-10-03 19:22 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from pinskia at gcc dot gnu dot org 2007-10-03 19:22 -------
And this is by design. gfortran 4.1 is ABI incompatiable with gfortran 4.2.
This is one of the reasons why in 4.2 (or is it only on the trunk), we added
symbol versioning support. This is not the only place where 4.1 is different
from 4.2.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33647
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug fortran/33647] _gfortran_copy_string missing in libgfortran.a
2007-10-03 18:57 [Bug fortran/33647] New: _gfortran_copy_string missing in libgfortran.a longb at cray dot com
2007-10-03 19:22 ` [Bug fortran/33647] " pinskia at gcc dot gnu dot org
@ 2007-10-03 19:44 ` longb at cray dot com
1 sibling, 0 replies; 3+ messages in thread
From: longb at cray dot com @ 2007-10-03 19:44 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from longb at cray dot com 2007-10-03 19:44 -------
Subject: Re: _gfortran_copy_string missing in libgfortran.a
I suspected this might be the case, but did not find it documented.
Thanks for the quick reply.
Cheers,
Bill
pinskia at gcc dot gnu dot org wrote:
> ------- Comment #1 from pinskia at gcc dot gnu dot org 2007-10-03 19:22 -------
> And this is by design. gfortran 4.1 is ABI incompatiable with gfortran 4.2.
> This is one of the reasons why in 4.2 (or is it only on the trunk), we added
> symbol versioning support. This is not the only place where 4.1 is different
> from 4.2.
>
>
>
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33647
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2007-10-03 19:44 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-10-03 18:57 [Bug fortran/33647] New: _gfortran_copy_string missing in libgfortran.a longb at cray dot com
2007-10-03 19:22 ` [Bug fortran/33647] " pinskia at gcc dot gnu dot org
2007-10-03 19:44 ` longb at cray dot com
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).