From 52524467afc2398140c65a8ca4c937a085e592b5 Mon Sep 17 00:00:00 2001 From: Adhemerval Zanella Date: Thu, 20 Nov 2025 15:30:15 -0300 Subject: [PATCH] bench-malloc-thread: Add libm for powf The compiler might not constant fold the call, which issues linker error. Reviewed-by: Sam James --- benchtests/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/benchtests/Makefile b/benchtests/Makefile index 5a405f6fbb..2ecdde857e 100644 --- a/benchtests/Makefile +++ b/benchtests/Makefile @@ -397,6 +397,8 @@ $(addprefix $(objpfx)bench-,$(bench-pthread)): $(thread-library-benchtests) $(addprefix $(objpfx)bench-,$(bench-malloc)): $(thread-library-benchtests) $(addprefix $(objpfx)bench-,pthread-locks): $(libm-benchtests) $(addprefix $(objpfx)bench-,pthread-mutex-locks): $(libm-benchtests) +$(addprefix $(objpfx)bench-,malloc-thread): $(libm-benchtests) +$(addprefix $(objpfx)bench-,calloc-thread): $(libm-benchtests)