Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2008-07-10 06:18:24


On Thursday 10 July 2008 05:46:47 Andrej van der Zee wrote:
> Hi,
>
> I still have an open issue with the generated AIX
> linker command. The problem is that with the current
> generated command, it hard-codes the library path in
> the loader section of executables and libraries. In
> Linux this is solved with -soname linker option, but
> on AIX an exact same option does not exist. Though,
> the AIX linker provides -bnoipath that strips the path
> in the loader section of the target. Note that this
> also holds for libraries; for example a boost library
> that depend on another boost library (for example
> boost_filesystem depends on boost_system) and that is
> build without the -bnoipath option, has the relative
> path (into the boost source tree) hard-coded in the
> loader section (and this relative path *only* is used
> when the lib is loaded upon execution).
>
> So I think -bnoipath should be added to the AIX linker
> command.

Can you provide a patch to that effect, including a comment
explaining this AIX linker deficiency, and the exact version
of AIX and linker where this deficiency is present?

Thanks,
Volodya


Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk