Bug#356735: Compiling libc-udeb with -Os ?
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?
-- System Information:
Debian Release: testing/unstable
APT prefers testing
APT policy: (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15-1-amd64-k8
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ANSI_X3.4-1968) (ignored: LC_ALL set to C)
Reply to: