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.