From: Vladimir Prus (ghost_at_[hidden])
Date: 2004-03-16 05:30:52
Christopher Currie wrote:
> Because of this optimization, the linker only pulls in the symbols it
> needs *at the time it reads the library,* and if it's a one-pass linker
> like Solaris ld, it never gets a chance to go back and pick up any
> symbols that a later library might possibly need. The GNU linker,
> thankfully, has become more intelligent and will resolve library symbols
> in any order, but the demand has not been there for the Solaris linker
> to come up to modern standards.
I believe GNU linker is no better. It has a switch to use order-insensitive
linking for a groups of library, but is order-sensitive by default.
I'm not sure if this is broken or not, but it worked this way for quite a lot
of time, so I suspect this is not going to change.
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