[OpenWrt-Devel] [RFC] Use CONFIG_USE_STRIP=y as default
Heinrich Schuchardt
xypron.glpk at gmx.de
Sun Jul 10 18:16:31 EDT 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.
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
More information about the openwrt-devel
mailing list