On 19/09/2008, at 3:40 PM, Zeljko Vrba wrote:
On Fri, Sep 19, 2008 at 09:08:21AM +1000, David Philp wrote:
myself. It turns out that the /strip/ command exposes the problem. If I take the "debug" executable and run strip on it, it all crashes.
do you run plain strip, or strip -g? Without the -g switch (or an equivalent on your platform), strip removes _more_ than just debug symbols, which in turn might cause RTTI or other symbol lookups to fail.
Interesting. I just ran "plain strip", as that was what boost-build does. If you are correct, that makes this a bug in boost.build. (I.e. boost.build is not calling strip with correct options.) strip has no -g option on OS X. Unfortunately I don't understand what strip does well enough to figure out what the correct options are. If anyone cares to look at the documentation and send me suggestions, I'm happy to try them out and add them to the report I put in trac. The manpage is here: http://developer.apple.com/documentation/Darwin/Reference/ManPages/man1/stri... Thank you very much for your time. D