Boost logo

Boost :

From: Dave Gomboc (dave_at_[hidden])
Date: 2003-10-09 22:49:47


> And to repay my gratitude I have a variation of your solution
> which doesn't require patching GCC. Thanks to your discovery
> of the debug strings merge problem, and to Dave G.'s mention
> of -fwritable-strings, the problem can be fixed by turning
> off the "readonly" flag for the debug strings section. That
> prevents the linker from running the n^2 merge algorithm. To
> do that one can
> run:
>
> objcopy --set-section-flags .debug_str=contents,debug some_file.o
>
> On each compiled file. Normally the flags are
> contents,readonly,debug - so the above removes the readonly
> flag and voila, no merging of debug symbols
> :-) [I have Boost.Build changes to do this if there's interest.]

*laugh* Sweet. Glad to be of service. <g> Yes, definitely update
Boost.Build!

Dave


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk