[Pkg-rust-maintainers] Bug#1148007: libstd-rust-dev: strip debug symbol from .rlibs on armhf

Andres Salomon dilinger at queued.net
Wed Sep 16 07:36:21 BST 2026


Package: libstd-rust-dev
Version: 1.95.0+dfsg1-2

Armhf, as a 32-bit platform, has limited memory space available. Over in 
chromium-land, we keep running out of memory and having builds fail when 
statically linking together the browser with the various rust libs on 
armhf (though mysteriously not i386.. yet).

As a test, chromium packages are unar'ing the stuff in libstd-rust-dev, 
strip -d'ing the .o files, and ar'ing them back up before linking in an 
effort to reduce lld's memory usage. Fabian suggested filing this bug to 
a reminder to consider properly stripping out debug symbols for the 
packaged .rlibs on certain architectures.



More information about the Pkg-rust-maintainers mailing list