[PATCH v5 11/12] bench-malloc-thread: Add libm for powf

Sam James sam@gentoo.org
Thu Nov 20 19:28:08 GMT 2025


Adhemerval Zanella <adhemerval.zanella@linaro.org> writes:

> The compiler might not constant fold the call, which issues
> linker error.

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

> ---
>  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)
>  
>  


More information about the Libc-alpha mailing list