mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH] stress-ng: remove unused libaio dependency
@ 2026-07-07 17:36 Sven Püschel
  2026-07-10  7:59 ` Michael Olbrich
  0 siblings, 1 reply; 2+ messages in thread
From: Sven Püschel @ 2026-07-07 17:36 UTC (permalink / raw)
  To: ptxdist; +Cc: Sven Püschel

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 <s.pueschel@pengutronix.de>

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




^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [ptxdist] [PATCH] stress-ng: remove unused libaio dependency
  2026-07-07 17:36 [ptxdist] [PATCH] stress-ng: remove unused libaio dependency Sven Püschel
@ 2026-07-10  7:59 ` Michael Olbrich
  0 siblings, 0 replies; 2+ messages in thread
From: Michael Olbrich @ 2026-07-10  7:59 UTC (permalink / raw)
  To: Sven Püschel; +Cc: ptxdist

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 <s.pueschel@pengutronix.de>
> 
> ---
> 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 |



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-07-10  8:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-07 17:36 [ptxdist] [PATCH] stress-ng: remove unused libaio dependency Sven Püschel
2026-07-10  7:59 ` Michael Olbrich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox