From 890bcf94a6e6ee59258337ed91274b9e1ef85ec8 Mon Sep 17 00:00:00 2001 From: Mark Johnston Date: Mon, 30 Jun 2025 09:06:29 -0400 Subject: [PATCH] Remove tests for experimental jemalloc ABIs (#770) Commit 5680cf6dc6e2 ("jemalloc: don't expose 3.0 compat symbols") in FreeBSD src removes the default symbols for allocm() and friends, so this test no longer links. Compatibility is stil provided for programs linking against FBSD_1.3, but here it seems easier to simply stop referencing them. --- src/test/func/jemalloc/jemalloc.cc | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/src/test/func/jemalloc/jemalloc.cc b/src/test/func/jemalloc/jemalloc.cc index ee51421..bd3614e 100644 --- a/src/test/func/jemalloc/jemalloc.cc +++ b/src/test/func/jemalloc/jemalloc.cc @@ -302,20 +302,6 @@ namespace } } -extern "C" -{ - /** - * The jemalloc 3.x experimental APIs are gone from the headers in newer - * versions, but are still present in FreeBSD libc, so declare them here - * for testing. - */ - int allocm(void**, size_t*, size_t, int); - int rallocm(void**, size_t*, size_t, size_t, int); - int sallocm(const void*, size_t*, int); - int dallocm(void*, int); - int nallocm(size_t*, size_t, int); -} - int main() { check_lg_align_macro<63>(); @@ -363,6 +349,5 @@ int main() test_size(); test_zeroing(); test_xallocx(); - test_legacy_experimental_apis(); #endif }