On Mon, Mar 1, 2021 at 7:45 PM Ilya Lipnitskiy
<ilya.lipnits...@gmail.com> wrote:
>
> On Mon, Mar 1, 2021 at 7:18 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
> I think you mean link with uclibc++ statically?
>
> > pushing >200 KB of extra bloat (after compression!) onto iperf users.
Good news. Adding -static-libstdc++ increases by a small amount:

Original: 43792
static-libstdc++ + flto: 68523
static-libstdc++: 69556

I was hoping for flto to reduce it further. Oh well. I assume further
size reduction will involve editing the code.
> > I realize that removing unmaintained packages is tempting, but please
> > consider the fallout.
> >
> > - Felix
> >
> > _______________________________________________
> > openwrt-devel mailing list
> > openwrt-devel@lists.openwrt.org
> > https://lists.openwrt.org/mailman/listinfo/openwrt-devel

_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to