[Bug libfortran/27740] libgfortran should use versioned symbols
burnus at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Wed Apr 18 17:19:00 GMT 2007
------- Comment #10 from burnus at gcc dot gnu dot org 2007-04-18 18:19 -------
> What happend to this? I can't find the patch in the tracker anymore, but
> there's no indication in the ChangeLog(s) that is was applied.
The last patch was applied, i.e. gfortran uses now _gfortran_ prefixes to for
the libgfortran symbols.
However, what is missing are named symbols. That is: One may change the
library, but one keeps the old version. Using the version information, old
programs get the old version. This is used, e.g., by the glibc. If you use
objdump -t libc.so.6, you find:
sched_getaffinity@GLIBC_2.3.3 <--- old version for old programs
sched_getaffinity@@GLIBC_2.3.4 <--- new interface
This was done in the old patch
http://gcc.gnu.org/ml/gcc-patches/2006-05/msg01186.html
That patch got stuck with ISO_C_BINDINGS. We still don't have them, but we have
_gfortran_ prefixes. Thus one could probably start updating that patch even
though ISO_C_BINDING is not yet in gfortran.
--
burnus at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |burnus at gcc dot gnu dot
| |org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27740
More information about the Gcc-bugs
mailing list