libtool-patches
[Top][All Lists]
Advanced

[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

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/



reply via email to

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