linux-kbuild.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* What is the oldest perl version being used with the kernel ? update oldest supported to 5.14 ?
@ 2021-08-20 17:27 Joe Perches
  2021-08-20 17:33 ` Willy Tarreau
  2021-08-20 18:25 ` Matthew Wilcox
  0 siblings, 2 replies; 4+ messages in thread
From: Joe Perches @ 2021-08-20 17:27 UTC (permalink / raw)
  To: LKML
  Cc: Dave Hansen, Matthew Wilcox, Dwaipayan Ray, LukasBulwahn,
	linux-doc, devicetree, linux-kbuild, linux-hardening,
	linux-riscv, netdev, linux-csky

Perl 5.8 is nearly 20 years old now.

https://en.wikipedia.org/wiki/Perl_5_version_history

checkpatch uses regexes that are incompatible with perl versions
earlier than 5.10, but these uses are currently runtime checked
and skipped if the perl version is too old.  This runtime checking
skips several useful tests.

There is also some desire for tools like kernel-doc, checkpatch and
get_maintainer to use a common library of regexes and functions:
https://lore.kernel.org/lkml/YR2lexDd9N0sWxIW@casper.infradead.org/

It'd be useful to set the minimum perl version to something more modern.

I believe perl 5.14, now only a decade old, is a reasonable target.

Any objections or suggestions for a newer minimum version?


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

end of thread, other threads:[~2021-08-21  5:43 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-20 17:27 What is the oldest perl version being used with the kernel ? update oldest supported to 5.14 ? Joe Perches
2021-08-20 17:33 ` Willy Tarreau
2021-08-20 18:25 ` Matthew Wilcox
2021-08-21  5:43   ` Kees Cook

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).