mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Michael Olbrich <m.olbrich@pengutronix.de>
To: "Sven Püschel" <s.pueschel@pengutronix.de>
Cc: ptxdist@pengutronix.de
Subject: Re: [ptxdist] [PATCH] stress-ng: remove unused libaio dependency
Date: Fri, 10 Jul 2026 09:59:54 +0200	[thread overview]
Message-ID: <alCmeppSDNblMNJe@pengutronix.de> (raw)
In-Reply-To: <20260707173712.313949-1-s.pueschel@pengutronix.de>

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 |



      reply	other threads:[~2026-07-10  8:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-07-07 17:36 Sven Püschel
2026-07-10  7:59 ` Michael Olbrich [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=alCmeppSDNblMNJe@pengutronix.de \
    --to=m.olbrich@pengutronix.de \
    --cc=ptxdist@pengutronix.de \
    --cc=s.pueschel@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox