From random looking at what takes space on "/" filesystem of catbus.sparc devbox, I noticed this: > # du -sh /usr/lib64/libc.a > 829M /usr/lib64/libc.a Meanwhile on my amd64 PC, it is just 23MB. It would be interesting to know (and maybe report upstream?) why such a big difference.
I actually saw this on amd64 earlier with: before: 360M libc.a after `strip`: 3.7M libc.a I wonder if we're not stripping static libraries correctly in Portage (might only show up with splitdebug or something). For kicks, I stripped the libc.a on catbus and got: catbus /etc/portage # ls -hal /usr/lib64/libc.a -rw-r--r-- 1 root root 829M Jun 19 16:51 /usr/lib64/libc.a catbus /etc/portage # strip /usr/lib64/libc.a catbus /etc/portage # ls -hal /usr/lib64/libc.a -rw-r--r-- 1 root root 3.2M Jul 19 18:19 /usr/lib64/libc.a which makes me think something is off.
I saw https://lore.kernel.org/all/1721415498-29682-1-git-send-email-mark.hatle@kernel.crashing.org/ by chance earlier, might be interesting to compare their implementation in openembedded...