Subject: Re: [boost] iPhone mangled symbol size explosion in release
From: Michael Marcin (mike.marcin_at_[hidden])
Date: 2009-12-18 11:48:55
> We're currently working to ship an iPhone application that makes heavy
> of Boost.
> The compiled executable is absurdly large, partly to third party
> partly to our own insufficent coding practices, but strikingly it
> seems that
> (from looking at the executable in a hex editor) around 4MB of the
> app size is mangled boost function names. We are statically linking
> the libraries in Boost we are using. Here are some examples:
> AFAIK All application functions should have been hard-linked since
> we're statically linking and thus not require any type of named
> Am I perhaps missing or misusing a Boost configuration setting or
> compiler flag?
An update for anyone that might run across this thread in a future archive
Problem may be solved. Apparently there is another switch in Xcode, called
"Deployment Postprocessing", which, if not turned on, means all the other
settings there (like strip symbols) are completely ignored.
Damned "intuitive" IDEs. App goes to 4.7Mb from over 9Mb.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk