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.

_______________________________________________
Lede-dev mailing list
Lede-dev@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/lede-dev

Reply via email to