Received: from pilsener.srv.ualberta.ca (pilsener.srv.ualberta.ca [129.128.5.19]) by krbdev.mit.edu (8.9.3p2) with ESMTP id XAA05026; Tue, 13 Sep 2005 23:07:43 -0400 (EDT) Received: from login3.srv.ualberta.ca (login3.srv.ualberta.ca [129.128.5.153]) by pilsener.srv.ualberta.ca (8.13.3/8.13.3) with ESMTP id j8E37gR3006872 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Tue, 13 Sep 2005 21:07:42 -0600 (MDT) Received: from login3.srv.ualberta.ca (tsi@localhost.srv.ualberta.ca [127.0.0.1]) by login3.srv.ualberta.ca (8.13.0/8.13.0) with ESMTP id j8E37fgk002468 for ; Tue, 13 Sep 2005 21:07:41 -0600 (MDT) Received: from localhost (tsi@localhost) by login3.srv.ualberta.ca (8.13.0/8.13.0/Submit) with ESMTP id j8E37fkf020132 for ; Tue, 13 Sep 2005 21:07:41 -0600 (MDT) X-Authentication-Warning: login3.srv.ualberta.ca: tsi owned process doing -bs Date: Tue, 13 Sep 2005 21:07:41 -0600 (MDT) From: Marc Aurele La France X-X-Sender: tsi@login3.srv.ualberta.ca To: Sam Hartman via RT Subject: Re: [krbdev.mit.edu #3176] In-Reply-To: Message-Id: References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed RT-Send-Cc: X-RT-Original-Encoding: us-ascii Content-Length: 2412 On Tue, 13 Sep 2005, Sam Hartman via RT wrote: >>>>>> "Marc" == Marc Aurele La France writes: > Marc> On Tue, 13 Sep 2005, Sam Hartman via RT wrote: > >> Note that the patch to shlib.conf breaks our ABI on AIX. > Marc> How so? How can wrapping, or not, a shared object into an > Marc> archive affect a programming interface? And why is this > Marc> wrapping preferable to producing dlopen'able objects? > Because it changes the name that appears in the liblist section of the > xcoff object. ... of the _referencing_ xcoff objects, yes. That's a good point WRT compatibility with previous releases of mit-krb5 and/or AIX. But, at least on AIX 5.3, the run-time loader doesn't seem to care whether a referenced .a contains shared or static objects. So old binaries should be OK. You must admit, though, that the current scheme, before my patch, prevents shared/static co-existence, which is not a Good Thing (tm). > Marc> Quite frankly, I find it odd that this wrapping is only > Marc> being done for AIX, and only by mit-krb5. Even GNU doesn't > Marc> do this. Is this a remnant of the historical > Marc> misundertanding of how AIX shared objects are supposed to > Marc> work? > No. It's because I actually understood conventions used for the C > libraries on AIX 3.1, 3.2 and 4. AIX 4.3 did add optional conventions > for non-wrapped objects, although it was not clear the linker did a > good job of finding them when first introduced. Well, I still have an AIX 3.2.5 system around. So I can offer to try this out there and get back to you. Marc. +----------------------------------+-----------------------------------+ | Marc Aurele La France | work: 1-780-492-9310 | | Academic Information and | fax: 1-780-492-1729 | | Communications Technologies | email: tsi@ualberta.ca | | 352 General Services Building +-----------------------------------+ | University of Alberta | | | Edmonton, Alberta | Standard disclaimers apply | | T6G 2H1 | | | CANADA | | +----------------------------------+-----------------------------------+ XFree86 developer and VP. ATI driver and X server internals.