Boost logo

Boost :

From: David Abrahams (dave_at_[hidden])
Date: 2003-10-09 16:19:29

Rene Rivera <grafik.list_at_[hidden]> writes:

> 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.]

Hooray!!! Yes, please!!! Can we have it be the default for debug mode?

Dave Abrahams
Boost Consulting

Boost list run by bdawes at, gregod at, cpdaniel at, john at