[Buildroot] wpa_supplicant-2.9 - very large static binary size

Nicolas Cavallari nicolas.cavallari at green-communications.fr
Wed Feb 10 09:05:21 UTC 2021


On 09/02/2021 20:55, Reuven Wachtfogel wrote:
> Enabling a static wpa_supplicant-2.9 without debug and without any 
> sub-options generates a 2MB+ binary.  From various sources, I was 
> expecting something closer to 600KB. Any ideas?

The 802.11 and Wi-Fi standard aren't getting any lighter...

Since wpa_supplicant 2.8, most features started being enabled by default 
because Linux distribution were tired to manually enable support for them.

Even my shared-libs wpa_supplicant binary is over 2M with a few options 
now...  but i can debloat it to 800K by toggling a few options.

I already have many local modifications to enable/disable things, maybe 
I should just improve/clean them and send it as a patch.  Testing the 
various configurations will take time, however.




More information about the buildroot mailing list