> Date: Thu, 26 Sep 2024 12:48:12 +0900 > From: Ryo ONODERA <r...@tetera.org> > > On NetBSD/amd64-current of today with new jemalloc, > linking to jemalloc always returns undefined references. > This problem causes build failures of pkgsrc/www/firefox > and misc/libreoffice at least. > [...] > $ gcc test.c -ljemalloc > ld: /usr/lib/libjemalloc.so: undefined reference to `__je_sdallocx' > [...]
We should create expected-symbols files for all these libraries so this doesn't happen again by accident. libc may be a lot of work (probably more than libm) but once the work is done it will be easy to keep up to date and it will be invaluable for preventing this class of mistake in the future -- especially on release branches.