[glibc/azanella/clang] bench-malloc-thread: Add libm for powf

Adhemerval Zanella azanella@sourceware.org
Thu Apr 10 18:17:06 GMT 2025


https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=ddc1ad904c4a2c36fb7c949c100afad8f89a7e72

commit ddc1ad904c4a2c36fb7c949c100afad8f89a7e72
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Tue Feb 6 16:52:45 2024 -0300

    bench-malloc-thread: Add libm for powf
    
    The bench-malloc-thread.c:63 does use powf and compiler might not
    optimzie it away.

Diff:
---
 benchtests/Makefile | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/benchtests/Makefile b/benchtests/Makefile
index cccee62eb0..bc5258380e 100644
--- a/benchtests/Makefile
+++ b/benchtests/Makefile
@@ -355,6 +355,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)


More information about the Glibc-cvs mailing list