Skip to contentSkip to conversation

objtool/klp: Add the debian-based package name of xxhash to the hint

PATCH Applied Borislav Petkov 4 participants 4 messages Oct 17, 2025 – Oct 22, 2025 objtool

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 objtool/klp: Add the debian-based package name of xxhash to the hint

From: "Borislav Petkov (AMD)" <[email protected]>

Add the package name for the devel version of the xxHash package "libxxhash-dev" as used in debian-based repositories, which objtool now uses.

---
 tools/objtool/builtin-check.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tools/objtool/builtin-check.c +1 -1
index 7b6fd60b022b..1e1ea8396eb3 100644
@@ -164,7 +164,7 @@ static bool opts_valid(void)
 
 #ifndef BUILD_KLP
 	if (opts.checksum) {
-		ERROR("--checksum not supported; install xxhash-devel and recompile");
+		ERROR("--checksum not supported; install xxhash-devel/libxxhash-dev and recompile");
 		return false;
 	}
 #endif
Signature · 1 line
2.51.0
#1 lore raw
kernel test robot noticed the following build errors:

Hi Borislav,

kernel test robot noticed the following build errors:

[auto build test ERROR on next-20251017]
[cannot apply to linus/master v6.18-rc1 v6.17 v6.17-rc7 v6.18-rc1] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]

url:    https://github.com/intel-lab-lkp/linux/commits/Borislav-Petkov/objtool-klp-Add-the-debian-based-package-name-of-xxhash-to-the-hint/20251018-091553
base:   next-20251017
patch link:    https://lore.kernel.org/r/20251017194732.7713-1-bp%40kernel.org
patch subject: [PATCH] objtool/klp: Add the debian-based package name of xxhash to the hint

:::::: branch date: 25 hours ago
:::::: commit date: 25 hours ago
config: x86_64-rhel-9.4 (https://download.01.org/0day-ci/archive/20251019/[email protected]/config)
compiler: gcc-14 (Debian 14.2.0-19) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251019/[email protected]/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <[email protected]>
| Closes: https://lore.kernel.org/r/[email protected]/

All errors (new ones prefixed by >>):

>> error: objtool: --checksum not supported; install xxhash-devel/libxxhash-dev and recompile
--
   drivers/message/fusion/mptsas.c: In function 'mptsas_issue_tm':
   drivers/message/fusion/mptsas.c:4791:26: warning: variable 'timeleft' set but not used [-Wunused-but-set-variable]
    4791 |         unsigned long    timeleft;
         |                          ^~~~~~~~
>> error: objtool: --checksum not supported; install xxhash-devel/libxxhash-dev and recompile
--
   mptsas.c: In function 'mptsas_issue_tm':
   mptsas.c:4791:26: warning: variable 'timeleft' set but not used [-Wunused-but-set-variable]
    4791 |         unsigned long    timeleft;
         |                          ^~~~~~~~
>> error: objtool: --checksum not supported; install xxhash-devel/libxxhash-dev and recompile
Signature · 2 lines
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
#2 lore raw
Quoted 20 lines · kernel test robot

Hi Borislav,

kernel test robot noticed the following build errors:

[auto build test ERROR on next-20251017]
[cannot apply to linus/master v6.18-rc1 v6.17 v6.17-rc7 v6.18-rc1] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]

url:    https://github.com/intel-lab-lkp/linux/commits/Borislav-Petkov/objtool-klp-Add-the-debian-based-package-name-of-xxhash-to-the-hint/20251018-091553
base:   next-20251017
patch link:    https://lore.kernel.org/r/20251017194732.7713-1-bp%40kernel.org
patch subject: [PATCH] objtool/klp: Add the debian-based package name of xxhash to the hint

:::::: branch date: 25 hours ago
:::::: commit date: 25 hours ago
config: x86_64-rhel-9.4 (https://download.01.org/0day-ci/archive/20251019/[email protected]/config)
compiler: gcc-14 (Debian 14.2.0-19) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251019/[email protected]/reproduce)

Quoted 6 lines

If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <[email protected]>
| Closes: https://lore.kernel.org/r/[email protected]/

All errors (new ones prefixed by >>):

Sorry, kindly ignore this report. which is a false positve.

Quoted 20 lines
Quoted 2 lines
Quoted 2 lines

error: objtool: --checksum not supported; install xxhash-devel/libxxhash-dev and recompile

--
drivers/message/fusion/mptsas.c: In function 'mptsas_issue_tm':

   drivers/message/fusion/mptsas.c:4791:26: warning: variable 'timeleft' set but not used [-Wunused-but-set-variable]
    4791 |         unsigned long    timeleft;
         |                          ^~~~~~~~
Quoted 1 line
Quoted 1 line

error: objtool: --checksum not supported; install xxhash-devel/libxxhash-dev and recompile

--
mptsas.c: In function 'mptsas_issue_tm':

   mptsas.c:4791:26: warning: variable 'timeleft' set but not used [-Wunused-but-set-variable]
    4791 |         unsigned long    timeleft;
         |                          ^~~~~~~~
Quoted 1 line
Quoted 1 line

error: objtool: --checksum not supported; install xxhash-devel/libxxhash-dev and recompile

Signature · 2 lines
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
#3 lore raw
In reply to Borislav Petkov
The following commit has been merged into the objtool/core branch of tip:

The following commit has been merged into the objtool/core branch of tip:

Commit-ID:     da247eff96dd32380dfb0cb089be8671ac4bdcd0
Gitweb:        https://git.kernel.org/tip/da247eff96dd32380dfb0cb089be8671ac4bdcd0
Author:        Borislav Petkov (AMD) <[email protected]>
AuthorDate:    Fri, 17 Oct 2025 21:47:32 +02:00
Committer:     Borislav Petkov (AMD) <[email protected]>
CommitterDate: Wed, 22 Oct 2025 13:51:11 +02:00

objtool/klp: Add the debian-based package name of xxhash to the hint

Add the debian package name for the devel version of the xxHash package "libxxhash-dev".

---
 tools/objtool/builtin-check.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tools/objtool/builtin-check.c +1 -1
index 7b6fd60..1e1ea83 100644
@@ -164,7 +164,7 @@ static bool opts_valid(void)
 
 #ifndef BUILD_KLP
 	if (opts.checksum) {
-		ERROR("--checksum not supported; install xxhash-devel and recompile");
+		ERROR("--checksum not supported; install xxhash-devel/libxxhash-dev and recompile");
 		return false;
 	}
 #endif