This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch][RFC] Filename based shared library versioning on AIX
- From: David Edelsohn <dje dot gcc at gmail dot com>
- To: Michael Haubenwallner <michael dot haubenwallner at salomon dot at>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Thu, 1 Nov 2012 19:16:47 -0400
- Subject: Re: [patch][RFC] Filename based shared library versioning on AIX
I would like to introduce filename-based shared library versioning (known as
the "soname" in ELF world) for AIX, activated by the '--enable-aix-soname'
configure flag.
(libgcc_s) Optional filename-based shared library versioning on AIX.
* Makefile.in (enable_aix_soname): Define.
* config/rs6000/t-slibgcc-aix: Implement filename-based versioning.
* configure.in: Accept --enable-aix-soname argument.
* configure: Recreate.
As discussed in the Bugzilla, I think this is a good feature and a
nice trick to support SVR4-like shared object naming on AIX (I think
this really is Linux/SVR4 convention, not ELF file format convention).
As you mention, this scheme is not compatible with the current shared
object naming scheme of GCC/libtool on AIX and not backward
compatible, so it definitely should not be the default.
As Joseph mentioned, these options needs to be documented, but
otherwise they are a good feature to add.
Thanks, David