package/ply: needs headers >= 4.14
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Tue, 26 Jan 2021 19:16:08 +0000 (20:16 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Sat, 30 Jan 2021 12:32:30 +0000 (13:32 +0100)
ply uses BPF_JLT is available only since kernel 4.14 with:
https://github.com/torvalds/linux/commit/92b31a9af73b3a3fc801899335d6c47966351830

Fixes:
 - http://autobuild.buildroot.org/results/632187ceb7ca5e2dc5a3e5185860ddb874b4274c

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/ply/Config.in

index aa03d038581a150d876c4398b68a9a541daf621b..35c2dc9bfca13706bcbd6f32451fd4985f494506 100644 (file)
@@ -9,7 +9,7 @@ config BR2_PACKAGE_PLY
        bool "ply"
        depends on BR2_PACKAGE_PLY_ARCH_SUPPORTS
        depends on BR2_USE_MMU # fork()
-       depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_6 # BPF_FUNC_get_stackid
+       depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_14 # BPF_JLT
        help
          ply is a light-weight dynamic tracer for Linux. By means of
          using the BPF it can attach probes to the linux kernel