From: Peter Korsgaard <peter@korsgaard.com>
To: Thomas Petazzoni via buildroot <buildroot@buildroot.org>
Cc: Fabrice Fontaine <fontaine.fabrice@gmail.com>,
Thomas Petazzoni <thomas.petazzoni@bootlin.com>,
Eloi Bail <eloi.bail@savoirfairelinux.com>
Subject: Re: [Buildroot] [PATCH 1/1] package/bayer2rgb-neon: fix aarch64 build with BR2_OPTIMIZE_0
Date: Fri, 01 Mar 2024 11:53:54 +0100 [thread overview]
Message-ID: <87wmqm8bp9.fsf@48ers.dk> (raw)
In-Reply-To: <20240207172418.45613b76@windsurf> (Thomas Petazzoni via buildroot's message of "Wed, 7 Feb 2024 17:24:18 +0100")
>>>>> "Thomas" == Thomas Petazzoni via buildroot <buildroot@buildroot.org> writes:
> 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.
Committed to 2023.02.x and 2023.11.x, thanks.
--
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
prev parent reply other threads:[~2024-03-01 10:54 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
2024-03-01 10:53 ` Peter Korsgaard [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=87wmqm8bp9.fsf@48ers.dk \
--to=peter@korsgaard.com \
--cc=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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox