On Thu, Aug 08, 2019 at 09:13:37PM +0300, Andreas Gustafsson wrote: > The image already has an empty /usr/libdata/debug. The increase in > size when MKDEBUG is enabled is spread out over various other > directories, notably /usr/lib. For example, > > /usr/lib 405182 kB -> 866276 kB > /usr/bin 53426 kB -> 63140 kB > > The largest file in /usr/lib is libstdc++_pic.a, which grows from > 4.3 MB to 27 MB.
Heh - nice, didn't think about that. How about: remove all *.a files from those images? Is there a tool to strip CTF from binaries? Martin