Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-alt
Navigation:
Lists: gentoo-alt: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-alt@g.o
From: Michael Haubenwallner <haubi@g.o>
Subject: Re: Breaking news: Need to start over on AIX
Date: Fri, 11 Feb 2011 10:23:34 +0100
On 02/10/2011 10:11 PM, Perry Smith wrote:
> On Feb 10, 2011, at 9:32 AM, Michael Haubenwallner wrote:
>>
>> Right now I've checked in the changes to use the new shared library
>> model called "aix-soname" I've proposed recently along bug#213277 [1].
> 
> Can you tell us which version you picked?  At one point you had about
> five ideas you were weighing.

Ohw sorry, sure: The one I've posted at libtool mailing list[1][2] as well as
in the IBM AIX Developers forum[3], and recently to the binutils mailing list[4].
While the big agreement on that variant is still not there - maybe because of
less interest (there's not much response anywhere), I've implemented that in
Prefix now for both prove-of-concept as well as to identify possible problems.

How I prefer doing "shared libraries" with "soname" on AIX now is:

*) Create the shared object "shr.o" (using '-G' linker flag).
*) Set the LOADONLY flag for "shr.o" (using 'strip -e').
*) Create the Import File "shr.imp", containing
   - this header line, being the "soname" emulation:
       #! libNAME.so.1(shr.o)
   - another header line telling the bits used:
       # 32
     or
       # 64
   - the list of symbols exported.
*) Create the archive library "libNAME.so.1.2.3" from both
   "shr.imp" and "shr.o".
*) Create the symlinks as usual:
   libNAME.so.1 -> libNAME.so.1.2.3
   libNAME.so -> libNAME.so.1.2.3
*) Create the static library archive "libNAME.a" from static objects.

[1] http://lists.gnu.org/archive/html/libtool/2011-01/msg00023.html
[2] http://lists.gnu.org/archive/html/libtool/2011-02/msg00000.html
[3] http://www.ibm.com/developerworks/forums/thread.jspa?threadID=358893
[4] http://sourceware.org/ml/binutils/2011-02/msg00099.html

/haubi/
-- 
Michael Haubenwallner
Gentoo on a different level


Replies:
Re: Breaking news: Need to start over on AIX
-- Perry Smith
References:
Breaking news: Need to start over on AIX
-- Michael Haubenwallner
Re: Breaking news: Need to start over on AIX
-- Perry Smith
Navigation:
Lists: gentoo-alt: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: Breaking news: Need to start over on AIX
Next by thread:
Re: Breaking news: Need to start over on AIX
Previous by date:
Re: AIX linking adventure
Next by date:
[PREFIX] planned removal of Python 2.4 and 2.5


Updated Jun 18, 2012

Summary: Archive of the gentoo-alt mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.