[Buildroot] [PATCH 1/1] package: dhcpcd: fix dhcpcd binary not stripped
Thomas Petazzoni
thomas.petazzoni at bootlin.com
Wed Nov 8 22:26:44 UTC 2023
Hello Oleg,
On Tue, 7 Nov 2023 16:23:23 +0300
Oleg Lyovin via buildroot <buildroot at buildroot.org> wrote:
> By default dhcpcd installed with 555 permissions as it is
> configured in its Makefile.inc. Since 'w' bit is missing,
> strip fails and dhcpcd binary installed non-stripped.
Wow, very good finding!
> On ARM GCC 12 glibc configuration strip saves over 1MB of disk space.
Could you clarify in which configuration you found that over 1 MB of
disk space gets saved?
Here, my dhcpcd binary, unstripped looks like this:
-r-xr-xr-x. 1 thomas thomas 327K 8 nov. 23:22 dhcpcd
So, 327 KB. How can 1 MB be saved?
(Note: of course this doesn't remove anything to the relevance of your
patch, but I'm curious how you got that number).
Thanks!
Thomas
--
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
https://bootlin.com
More information about the buildroot
mailing list