]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
bench-malloc-thread: Add libm for powf
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>
Thu, 20 Nov 2025 18:30:15 +0000 (15:30 -0300)
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>
Fri, 21 Nov 2025 16:13:24 +0000 (13:13 -0300)
The compiler might not constant fold the call, which issues
linker error.

Reviewed-by: Sam James <sam@gentoo.org>
benchtests/Makefile

index 5a405f6fbb9769b0c9ab4cc8dd8300ab68f6cafe..2ecdde857e1d7b84f4057ca6205e14341041e178 100644 (file)
@@ -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)
 
 \f