All of lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni via buildroot <buildroot@buildroot.org>
To: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Cc: Eloi Bail <eloi.bail@savoirfairelinux.com>, buildroot@buildroot.org
Subject: Re: [Buildroot] [PATCH 1/1] package/bayer2rgb-neon: fix aarch64 build with BR2_OPTIMIZE_0
Date: Wed, 7 Feb 2024 17:24:18 +0100	[thread overview]
Message-ID: <20240207172418.45613b76@windsurf> (raw)
In-Reply-To: <20240106224233.3637602-1-fontaine.fabrice@gmail.com>

On Sat,  6 Jan 2024 23:42:33 +0100
Fabrice Fontaine <fontaine.fabrice@gmail.com> wrote:

> Fix the following build failure with aarch64 and BR2_OPTIMIZE_0 raised
> since commit 0512910e4901edcb78bb1daa4eb3be9bdc4dc8a9:
> 
> src/convert-neon-body-bayer8.inc.h: In function 'bayer2rgb_convert_neon':
> src/convert-neon.c:233:17: error: third argument to '__builtin_prefetch' must be a constant
>   233 |                 __builtin_prefetch(((void const *)(_addr)) + 64, 0, (_lvl)); \
>       |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> src/convert-neon-body-bayer8.inc.h:8:9: note: in expansion of macro 'do_prefetch'
>     8 |         do_prefetch(&in[+1*stride - 1], (rows_per_loop) < 3 ? 3 : 0);
>       |         ^~~~~~~~~~~
> 
> Fixes:
>  - http://autobuild.buildroot.org/results/307c1c448becd99dfba3a17b3ef816db0bb5cad6
> 
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
> ---
>  package/bayer2rgb-neon/bayer2rgb-neon.mk | 4 ++++
>  1 file changed, 4 insertions(+)

Applied to master, thanks.

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

  reply	other threads:[~2024-02-07 16:24 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-01-06 22:42 [Buildroot] [PATCH 1/1] package/bayer2rgb-neon: fix aarch64 build with BR2_OPTIMIZE_0 Fabrice Fontaine
2024-02-07 16:24 ` Thomas Petazzoni via buildroot [this message]
2024-03-01 10:53   ` Peter Korsgaard

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=20240207172418.45613b76@windsurf \
    --to=buildroot@buildroot.org \
    --cc=eloi.bail@savoirfairelinux.com \
    --cc=fontaine.fabrice@gmail.com \
    --cc=thomas.petazzoni@bootlin.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.