On Tue, Jul 07, 2026 at 07:36:51PM +0200, Sven Püschel wrote:
> Remove the unused libaio dependency. While stress-ng can utilize libaio,
> it currently isn't selected in the libaio.make. Therefore just drop the
> dependency for now.
> 
> Signed-off-by: Sven Püschel <[email protected]>
> 
> ---
> Experienced this on an aarch64 BSP. I've tried to add HAVE_LIB_AIO and
> even HAVE_LIBAIO_H to libaio.make, but it didn't cause stress-ng to link
> against libaio. The source code indicates that the relevant parts also
> need HAVE_SYSCALL enabled. Therefore decided to just remove the libaio
> dependency instead of trying to get it to work (and potentially breaking
> some platforms/configurations).

In my test, the _header_ is used. stress-ng just does not use any symbols
from libaio.

Michael

> ---
>  rules/stress-ng.in | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/rules/stress-ng.in b/rules/stress-ng.in
> index 426d58cc8..ae98a7b78 100644
> --- a/rules/stress-ng.in
> +++ b/rules/stress-ng.in
> @@ -5,7 +5,6 @@ config STRESS_NG
>       prompt "stress-ng"
>       select GCCLIBS_ATOMIC
>       select LIBC_CRYPT
> -     select LIBAIO
>       select LIBBSD
>       select LIBJPEG
>       select XXHASH
> -- 
> 2.47.3
> 
> 
> 

-- 
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

Reply via email to