Re: [PATCH] Use mallinfo2 with glibc >= 2.33

2022-09-08 Thread Jonathan Wakely via Gcc-patches
On Thu, 8 Sept 2022 at 06:03, François Dumont wrote: > > libstdc++: glibc mallinfo deprecated, use mallinfo2 when version => > 2.33 > > glibc mallinfo is now deprecated resulting in make check-performance > failure. When glibc => 2.33 prefer mallinfo2. > > libstdcxx-v3/ChangeLo

Re: [PATCH] Use mallinfo2 with glibc >= 2.33

2022-09-07 Thread François Dumont via Gcc-patches
    libstdc++: glibc mallinfo deprecated, use mallinfo2 when version => 2.33     glibc mallinfo is now deprecated resulting in make check-performance     failure. When glibc => 2.33 prefer mallinfo2.     libstdcxx-v3/ChangeLog:     * testsuite/util/testsuite_performance.h (__gnu_test:

Re: [PATCH] Use mallinfo2 with glibc >= 2.33

2022-09-07 Thread Jonathan Wakely via Gcc-patches
On Wed, 7 Sept 2022 at 18:03, François Dumont via Libstdc++ wrote: > > libstdc++: Use glibc >= 2.33 mallinfo2 function > > mallinfo started to be deprecated which makes performance tests failed > to build, just > adopt mallinfo2. > > libstdcxx-v3/ChangeLog: > > * testsuite/util/testsuite_

[PATCH] Use mallinfo2 with glibc >= 2.33

2022-09-07 Thread François Dumont via Gcc-patches
libstdc++: Use glibc >= 2.33 mallinfo2 function mallinfo started to be deprecated which makes performance tests failed to build, just adopt mallinfo2. libstdcxx-v3/ChangeLog:     * testsuite/util/testsuite_performance.h (__mallinfo): New, our own mallinfo     struct with just what we