Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni via buildroot <buildroot@buildroot.org>
To: Dario Binacchi <dario.binacchi@amarulasolutions.com>
Cc: linux-amarula@amarulasolutions.com,
	"Yann E . MORIN" <yann.morin.1998@free.fr>,
	buildroot@buildroot.org
Subject: Re: [Buildroot] [PATCH 2/2] package/snappy: fix compilation error raised by vqtbl1q_u8 instruction
Date: Wed, 10 Jul 2024 14:37:55 +0200	[thread overview]
Message-ID: <20240710143755.7a0ad71f@windsurf> (raw)
In-Reply-To: <20240611171714.3233115-2-dario.binacchi@amarulasolutions.com>

Hello Dario,

On Tue, 11 Jun 2024 19:17:14 +0200
Dario Binacchi <dario.binacchi@amarulasolutions.com> wrote:

> The package compilation for the raspberrypi3_qt5we_defconfig raises the
> following error:
> 
> In file included from buildroot/output/build/snappy-1.2.1/snappy.cc:29:
> buildroot/output/build/snappy-1.2.1/snappy-internal.h: In function ‘snappy::internal::V128 snappy::internal::V128_Shuffle(V128, V128)’:
> buildroot/output/build/snappy-1.2.1/snappy-internal.h:109:10: error: ‘vqtbl1q_u8’ was not declared in this scope; did you mean ‘vtbl1_u8’?
>   109 |   return vqtbl1q_u8(input, shuffle_mask);
>       |          ^~~~~~~~~~
>       |          vtbl1_u8
> make[4]: *** [CMakeFiles/snappy.dir/build.make:118: CMakeFiles/snappy.dir/snappy.cc.o] Error 1
> 
> The added patch fixes the error.
> 
> Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>

Thanks for this patch and the related investigation. However, there is
an issue in how this fix is articulated with your version bump in PATCH
1/2. Indeed there are two possibilities:

- The build error with the NEON instruction is introduced by the bump
  to version 1.2.1. In this case, the patch fixing the build error
  should be in the patch doing the bump.

- The build error with the NEON instruction already exists in the
  currently packaged 1.1.10 version of snappy. In that case, the patch
  fixing the issue should come *before* the version bump in your
  series, and should indicate *when* the build error was introduced, so
  that we know if the fix should be backported to Buildroot LTS
  branches.

Could you have a look into this?

Thanks a lot!

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

      reply	other threads:[~2024-07-10 12:38 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-06-11 17:17 [Buildroot] [PATCH 1/2] package/snappy: bump to version 1.2.1 Dario Binacchi
2024-06-11 17:17 ` [Buildroot] [PATCH 2/2] package/snappy: fix compilation error raised by vqtbl1q_u8 instruction Dario Binacchi
2024-07-10 12:37   ` Thomas Petazzoni via buildroot [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=20240710143755.7a0ad71f@windsurf \
    --to=buildroot@buildroot.org \
    --cc=dario.binacchi@amarulasolutions.com \
    --cc=linux-amarula@amarulasolutions.com \
    --cc=thomas.petazzoni@bootlin.com \
    --cc=yann.morin.1998@free.fr \
    /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