Boost logo

Boost-Build :

Subject: Re: [Boost-build] Boost.Build Darwin issues.
From: Vladimir Prus (ghost_at_[hidden])
Date: 2010-02-22 08:10:19


On Monday 22 February 2010 16:02:24 Igore Dmit. wrote:

> Boost.build on Darwin uses "strip" to remove symbols, but if used without
> any options, produced binary crashes at startup.
> It affects binaries that uses boost.asio and links to boos_thread +
> boost_system. Adding "-S" and "-x" flags to strip solved the issue for me.

Are you sure you have up-to-date version? I think that we pass -S and -x to strip
for quite a long time, specifically since:

        ------------------------------------------------------------------------
        r49063 | vladimir_prus | 2008-09-30 10:17:56 +0400 (Tue, 30 Sep 2008) | 2 lines

        Use strip -S -x for stripping.

Later commit makes strip only invoked with explicit strip=on

> Darwin tool specifies 2 flags to use with gcc. First of them is always
> "unrecognized", second is unrecognized with gcc4.4 and gcc4.5 (didn't check
> 4.3).

Sorry, which are those? I believe this is also fixed quite some time.

Could you try the nightly build from http://boost.org/boost-build2 and see if
it works better for you?

Thanks,

--
Vladimir Prus
http://vladimir_prus.blogspot.com
Boost.Build: http://boost.org/boost-build2

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