On Mon, Mar 1, 2021 at 7:14 PM Felix Fietkau <n...@nbd.name> wrote: > > > On 2021-02-27 05:17, Rosen Penev wrote: > > No package here depends on it. Furthermore, uClibc++ is a fairly buggy > > C++ library and seems to be relatively inactive upstream. > > > > It also lacks proper support for modern C++11 features. > > > > The main benefit of it is size: 66.6 KB vs 287.3 KB on mips24kc. > > Static > > linking and LTO can help bring the size down of packages that need it. > > > > Added warning message to uclibc++.mk > > > > Signed-off-by: Rosen Penev <ros...@gmail.com> > I've been using iperf with uclibc++ for a long time. I know quite a few > other people using it as well. > I'd really appreciate it if you could change iperf to link just > libstdc++ statically (rest should still be dynamic) in order to avoid > pushing >200 KB of extra bloat (after compression!) onto iperf users. > I realize that removing unmaintained packages is tempting, but please > consider the fallout. Right. It's an interesting question.
I could introduce uClibc++ (or even LLVM's libcxx) to the packages feed and link statically to that for specific packages to probably reduce the size further. I'd rather not. I also have https://github.com/openwrt/packages/pull/14873 that I need to update. I'll make the iperf change there. > > - Felix _______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel