>
> on Wed May 09 2007, Christopher Cambly <ccambly-AT-ca.ibm.com> wrote:
>
> > In boost 1.33.1, in the file tools/build/v1/python.jam, there was a
> > section specific to AIX that provided a link option specifying an
> > import list.
> >
> >     else if $(OS) = AIX
> >     {
> >         PYTHON_PROPERTIES
> >           += <*><*><linkflags>"-Wl,-bI:$(PYTHON_LIB_PATH)/python.exp"
> >             <*><*><find-library>pthreads ;
> >     }
> >
> > There is no equivalent in the python.jam from Boost Build V2.  
>
> Yep.  Someone (you?) contacted me a while back claiming that if I
> would just pass the right flag to the linker, I could get AIX to
> behave like any other Unix platform and I wouldn't need these special
> shenanigans.  He promised me a patch, but, well, I never got it.
>
> Unfortunately, these messages seem to have disappeared from my
> electronic record :(

The patches for building Boost.Python correctly for use with runtime linking were
included as a subset of the larger patch submission we made for building
Boost-1.34 with the XL compiler.  Unfortunately, these patches did not make
it into the Boost-1.34 release.  I can re-submit these patches to
the tracker at svn.boost.org.

The real issue is that Python itself for AIX is not configured for the use of runtime linking.
If it were, this would eliminating the need for the import list making AIX more like other
unix platforms. Unfortunately, all existing Python builds currently require the use of
the import list for Boost.Python and Python extensions on AIX. (I believe Apache had similar
issues initially with their modules and has since switched to runtime linking).

I have experimented with building Python with runtime linking enabled and have used it
successfully with Boost.Python built without requiring the use of import lists.

>
> --
> Dave Abrahams
> Boost Consulting
> http://www.boost-consulting.com
>
> Don't Miss BoostCon 2007! ==> http://www.boostcon.com
>
> _______________________________________________
> Unsubscribe & other changes: http://lists.boost.
> org/mailman/listinfo.cgi/boost-build

Chris Cambly
XL C++ Compiler Development