[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] AIX: Optional filename-based shlib versioning

From: Michael Haubenwallner
Subject: Re: [PATCH] AIX: Optional filename-based shlib versioning
Date: Tue, 25 Nov 2014 09:19:15 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0


for the curious, this is how I've done the testing:

On 11/24/2014 02:09 PM, Michael Haubenwallner wrote:
> Support filename-based shared library versioning on AIX with the
> library filename extension, which is used with runtime linking only.

> (--with-aix-soname=aix): Default, the current situation.

> (--with-aix-soname=svr4): Filename-based shared library versioning.

> (--with-aix-soname=both): One shared library is created with the
> filename-based, another one with the in-archive versioning scheme for
> backwards compatibility. The library_names value in the .la file
> specifies either the one or the other, depending on whether the -brtl
> linker flag is specified in LDFLAGS.

Cloned git://, applied the two patches meanwhile 
pushed here:
  $ ./bootstrap && ./configure && make dist
created "libtool-" as the reference.

Then, applied this one patch to be tested, doing
  $ ./bootstrap && ./configure && make dist
created "libtool-" as the testee.

For testing all the different setups with different compilers I've pushed
The scripts found in aix/ there does testsuite runs with all possible
combinations of these settings:
* gcc/g++, xlc/g++, xlc/xlC as available on the host machine
* 32 and 64 bit
* --with-aix-soname=aix|both|svr4 each, when supported by the testee
* with and without LDFLAGS=-Wl,-brtl

Starting the different test setups
  $ gzip -dc libtool- | tar xf -
  $ ./libtool-testing/aix/ -j6 libtool- &
does the reference's testsuite runs in ./test-libtool-

  $ gzip -dc libtool- | tar xf -
  $ ./libtool-testing/aix/ -j6 libtool- &
does the testee's testsuite runs in ./test-libtool-

To compare reference's with testee's test results from all different runs:
  $ ./libtool-testing/aix/ libtool- 


reply via email to

[Prev in Thread] Current Thread [Next in Thread]