Re: Replacing malloc et al in programs.

Valery Ushakov <[email protected]> Fri, 14 Nov 2025 21:50:13 +0300
Newsgroups gmane.os.netbsd.devel.userlevel
Message-ID <[email protected]>
On Fri, Nov 14, 2025 at 09:48:47 +0100, Anders Magnusson wrote:

> This suggests that either jemalloc has been too deeply integrated into libc
> (so that it cannot even be changed) or that there is some bug in ld?
> How is replacement of the malloc routines supposed to be done these days?

You need to additionally provide a few stubs, see
https://mail-index.netbsd.org/tech-toolchain/2024/11/10/msg004564.html

-uwe
(unnamed) (message/rfc822, 2.8 KB) - not displayed