[LEDE-DEV] [RFC] Use CONFIG_USE_STRIP=y as default

Heinrich Schuchardt heinrich.schuchardt at gmx.de
Sun Jul 10 15:07:10 PDT 2016


Currently the default for stripping when building Lede/OpenWRT is
CONFIG_USE_SSTRIP=y.

This has the following impacts:

Linking with GCC against libraries on the OpenWRT device is impossible.

Python packages like pyusb that dynamically link against C libraries
cannot be used.

Debugging with gdb is not possible.

Cf. the comments in
https://dev.openwrt.org/browser/trunk/tools/sstrip/src/sstrip.c

The size difference between libraries stripped with SSTRIP and STRIP is
very small:

libusb-1.0.so.0.1.0
STRIP: 47720 bytes
SSTRIP: 46412 bytes

In the example above the size increase is less then 3 %.

I suggest to change the default to CONFIG_USE_STRIP=y.



More information about the Lede-dev mailing list