[patch][RFC] Filename based shared library versioning on AIX

David Edelsohn dje.gcc@gmail.com
Mon Nov 5 18:31:00 GMT 2012


On Mon, Nov 5, 2012 at 1:10 PM, Michael Haubenwallner
<michael.haubenwallner@salomon.at> wrote:

> Well, as long as the old sharedlibs were not created as standalone shared
> objects (lib.so), this is similar to a normal "soname"-bump on AIX, in that
> it is still possible for the package manager to transfer the old shared
> objects (with F_LOADONLY flag set) into the new archives.

Yes, the old shared objects can be placed in the new archive, but one
also needs to ensure that the archive has the correct name, e.g.
libfoo.a not libfoo.so.x.y ad libfoo.so.

> As far as I can see, gcc does not provide this libtool-option (environment
> variable LDFLAGS=-brtl) at all for its libraries (for good reason).

I do not understand what you mean by gcc does not provide this libtool
option.  GCC does link libstdc++ with -G option, for use with -brtl,
but does not automatically link applications with -brtl.

Thanks, David



More information about the Gcc-patches mailing list