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

Michael Haubenwallner <[email protected]>
Newsgroups gmane.comp.gnu.libtool.patches
Message-ID <[email protected]>
Hi,

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 lib.so
> 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://git.sv.gnu.org/libtool.git, applied the two patches meanwhile pushed here:
http://git.savannah.gnu.org/cgit/libtool.git/log/?id=845ff0b76837a630eb54d23eb66912339b589a65&showmsg=1
Doing
  $ ./bootstrap && ./configure && make dist
created "libtool-2.4.3.37-ef71.tar.gz" as the reference.

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

For testing all the different setups with different compilers I've pushed
https://github.com/haubi/libtool-testing
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-2.4.3.37-ef71.tar.gz | tar xf -
  $ ./libtool-testing/aix/runtests.sh -j6 libtool-2.4.3.37-ef71 &
does the reference's testsuite runs in ./test-libtool-2.4.3.37-ef71/

Similar,
  $ gzip -dc libtool-2.4.3.38-b0be1.tar.gz | tar xf -
  $ ./libtool-testing/aix/runtests.sh -j6 libtool-2.4.3.38-b0be1 &
does the testee's testsuite runs in ./test-libtool-2.4.3.38-b0be1/

To compare reference's with testee's test results from all different runs:
  $ ./libtool-testing/aix/analysetests.sh libtool-2.4.3.37-ef71 test-libtool-2.4.3.3*

Thanks!
/haubi/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.