[PATCH v5 11/12] bench-malloc-thread: Add libm for powf
Adhemerval Zanella
adhemerval.zanella@linaro.org
Thu Nov 20 18:30:15 GMT 2025
The compiler might not constant fold the call, which issues
linker error.
---
benchtests/Makefile | 2 ++
1 file changed, 2 insertions(+)
diff --git a/benchtests/Makefile b/benchtests/Makefile
index 0d3dfdfc36..b740ea15a7 100644
--- a/benchtests/Makefile
+++ b/benchtests/Makefile
@@ -393,6 +393,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)
--
2.43.0
More information about the Libc-alpha
mailing list