Andrii Nakryiko
ed59fc95f3
UPSTREAM: kbuild: tolerate missing pahole when generating BTF
...
When BTF generation is enabled through CONFIG_DEBUG_INFO_BTF,
scripts/link-vmlinux.sh detects if pahole version is too old and
gracefully continues build process, skipping BTF generation build step.
But if pahole is not available, build will still fail. This patch adds
check for whether pahole exists at all and bails out gracefully, if not.
Cc: Alexei Starovoitov <ast@fb.com >
Reported-by: Yonghong Song <yhs@fb.com >
Fixes: e83b9f55448a ("kbuild: add ability to generate BTF type info for vmlinux")
Change-Id: I89e477f03aba8e16789b2a330469b2ac562df4d5
Signed-off-by: Andrii Nakryiko <andriin@fb.com >
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net >
2025-10-02 18:28:49 -07:00
..
2017-08-10 01:01:03 +09:00
2019-06-11 12:21:51 +02:00
2023-01-08 10:57:58 +02:00
2024-10-09 14:04:02 +03:00
2019-12-05 15:37:04 +01:00
2017-11-02 11:10:55 +01:00
2025-04-29 19:06:47 +03:00
2017-03-28 16:16:52 +02:00
2025-03-30 17:05:48 +00:00
2018-05-30 07:52:21 +02:00
2022-10-26 13:16:58 +02:00
2021-08-15 13:03:31 +02:00
2017-06-23 14:17:38 -06:00
2018-05-30 07:52:17 +02:00
2023-04-26 11:18:58 +02:00
2021-06-03 08:36:11 +02:00
2017-05-14 11:20:44 +09:00
2025-10-02 18:02:02 -07:00
2018-06-14 17:07:45 -07:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-05-18 16:04:11 -07:00
2017-05-18 16:04:11 -07:00
2017-05-18 16:04:11 -07:00
2017-11-02 11:10:55 +01:00
2017-02-03 11:49:06 +01:00
2023-12-15 09:31:15 +00:00
2019-06-25 11:36:53 +08:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2018-11-27 18:06:36 -08:00
2018-04-25 16:04:04 -07:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-12-14 09:53:06 +01:00
2021-06-03 08:36:11 +02:00
2020-07-29 07:42:54 +02:00
2020-05-20 08:17:01 +02:00
2021-01-12 20:09:06 +01:00
2021-06-03 08:36:11 +02:00
2017-05-14 11:20:44 +09:00
2017-05-14 11:20:44 +09:00
2023-01-08 11:00:43 +02:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2018-02-07 11:12:17 -08:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2024-10-10 10:27:56 +00:00
2024-10-10 10:27:56 +00:00
2017-07-07 15:09:09 -07:00
2021-07-21 20:40:31 -07:00
2017-05-14 11:20:44 +09:00
2017-08-08 11:09:31 -07:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-12-25 14:26:33 +01:00
2017-11-02 11:10:55 +01:00
2020-01-04 13:59:51 +01:00
2020-07-01 12:51:55 +02:00
2018-02-25 11:07:58 +01:00
2017-11-02 11:10:55 +01:00
2021-11-26 11:40:28 +01:00
2017-11-02 11:10:55 +01:00
2025-10-02 18:28:49 -07:00
2021-03-07 11:46:40 +01:00
2017-11-02 11:10:55 +01:00
2023-01-08 10:57:58 +02:00
2017-12-18 21:11:22 +05:30
2017-11-02 11:10:55 +01:00
2018-04-05 18:59:43 -07:00
2024-05-30 09:00:38 +00:00
2020-01-13 19:38:49 +00:00
2017-11-02 11:10:55 +01:00
2023-03-07 22:56:38 +02:00
2019-07-10 09:14:22 -07:00
2020-01-13 19:38:49 +00:00
2023-01-08 11:00:42 +02:00
2017-11-02 11:10:55 +01:00
2017-12-18 21:11:22 +05:30
2022-09-07 09:18:37 +02:00
2017-11-02 11:10:55 +01:00
2023-09-23 10:46:52 +02:00
2017-11-02 11:10:55 +01:00
2017-05-14 11:20:44 +09:00
2021-07-28 13:07:49 +02:00
2017-11-02 11:10:55 +01:00
2022-09-28 10:56:49 +02:00
2017-11-02 11:10:55 +01:00
2017-03-13 09:40:28 -07:00
2020-07-24 14:27:27 +00:00
2019-10-29 09:16:59 +01:00
2017-03-11 11:13:38 +09:00
2020-04-02 16:34:15 +02:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2023-05-30 17:53:01 +00:00
2019-07-31 07:28:53 +02:00
2022-01-05 12:33:48 +01:00
2020-11-05 11:06:51 +01:00
2021-06-03 08:36:11 +02:00
2023-12-20 15:32:34 +01:00
2017-10-03 17:54:23 -07:00
2021-06-03 08:36:11 +02:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2025-10-02 18:28:35 -07:00
2018-12-08 13:03:35 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00