[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: lib/54050: malloc_usable_size() is provided on recent NetBSD-current, however malloc.h has no prototype
The following reply was made to PR lib/54050; it has been noted by GNATS.
From: Kamil Rytarowski <n54%gmx.com@localhost>
Subject: Re: lib/54050: malloc_usable_size() is provided on recent
NetBSD-current, however malloc.h has no prototype
Date: Tue, 12 Mar 2019 13:35:20 +0100
On 09.03.2019 19:55, Joerg Sonnenberger wrote:
> The following reply was made to PR lib/54050; it has been noted by GNATS.
> From: Joerg Sonnenberger <joerg%bec.de@localhost>
> To: gnats-bugs%NetBSD.org@localhost
> Cc: lib-bug-people%netbsd.org@localhost, gnats-admin%netbsd.org@localhost,
> Subject: Re: lib/54050: malloc_usable_size() is provided on recent
> NetBSD-current, however malloc.h has no prototype
> Date: Sat, 9 Mar 2019 19:52:02 +0100
> On Sat, Mar 09, 2019 at 03:40:00AM +0000, ryoon%NetBSD.org@localhost wrote:
> > >Description:
> > It seems that recent NetBSD-current with jemalloc provides
> > malloc_usable_size(), however /usr/include/malloc.h has
> > no prototype definition.
> > This inconsistency breaks a build of pkgsrc/www/firefox-65.0.2nb1.
> I would actually very much prefer to go the reverse direction and do
> *not* expose the various statistic intefaces at all. They are a cancer
> that just tie libc down to a specific malloc implementation.
> Applications have no reason for demanding this stuff.
I disagree, I do find the statistics API useful for part of external
software. At some point of time this API would allow me to port an
additional software at all as test-suite required mallctl interfaces to
validate the code (LLVM scudo hardened allocator).
Main Index |
Thread Index |