Bug#356735: Compiling libc-udeb with -Os ?
On Mon, Mar 13, 2006 at 01:40:01PM +0100, Robert Millan wrote:
> Package: glibc
> Severity: wishlist
>
> I've tested what would be the size saving when building glibc with -Os:
>
> $ du -h */*udeb
> 1020K normal/libc6-udeb_2.3.6-3_amd64.udeb
> 12K normal/libnss-dns-udeb_2.3.6-3_amd64.udeb
> 20K normal/libnss-files-udeb_2.3.6-3_amd64.udeb
> 888K tiny/libc6-udeb_2.3.6-3_amd64.udeb
> 12K tiny/libnss-dns-udeb_2.3.6-3_amd64.udeb
> 16K tiny/libnss-files-udeb_2.3.6-3_amd64.udeb
>
> For the udeb I think it's significant. I would suggest adding a build pass for
> -Os (and possibly other tinification options), and use that to prepare the
> udebs.
>
> What do you think? Would you like a patch for this?
Did you try if the result actually works? At least historically glibc
was somewhat problematic when compiled with other than default
optimisations.
Thiemo
Reply to: