public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* libpcre2 breaks COMPILED_SOURCE=1 tags
@ 2023-02-13 20:07 Carlos Llamas
  2023-02-14  6:17 ` Greg Kroah-Hartman
  0 siblings, 1 reply; 6+ messages in thread
From: Carlos Llamas @ 2023-02-13 20:07 UTC (permalink / raw)
  To: Greg Kroah-Hartman, Cristian Ciocaltea, Masahiro Yamada, Jialu Xu
  Cc: linux-kernel, Jialu Xu

Newer versions of libpre2 have dropped default support for \K in
lookarounds. Unfortunately, scripts/tags.sh relies on this option to
collect all the _compiled_ sources. This is the error:

  $ make COMPILED_SOURCE=1 tags
    GEN     tags
  grep: \K is not allowed in lookarounds (but see PCRE2_EXTRA_ALLOW_LOOKAROUND_BSK)

It seems there isn't an official maintainer for this script and I can't
quite understand the regex used for the query. Does anyone have a good
alternative for this? The regex pattern was introduced in commit
4f491bb6ea2a ("scripts/tags.sh: collect compiled source precisely").

The previous form of all_compiled_sources() seems to work for me and I'm
guessing it wasn't efficient enough? I can't find much info about the
switch to find/grep either. I believe the initial thread is this:
https://lore.kernel.org/all/20200423103801.GA3730892@kroah.com/

--
Carlos Llamas

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

end of thread, other threads:[~2023-02-15 18:40 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-02-13 20:07 libpcre2 breaks COMPILED_SOURCE=1 tags Carlos Llamas
2023-02-14  6:17 ` Greg Kroah-Hartman
2023-02-14 20:41   ` [PATCH] scripts/tags.sh: fix incompatibility with PCRE2 Carlos Llamas
2023-02-15 16:48     ` Greg Kroah-Hartman
2023-02-15 17:28       ` Carlos Llamas
2023-02-15 18:38         ` [PATCH v2] " Carlos Llamas

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