/kbuild/src/scripts/syscallhdr.sh: 77: [[: not found

kernel test robot <[email protected]> Sat, 25 Jul 2026 02:31:45 +0200
Newsgroups dev.linux.lists.oe-kbuild-all
Message-ID <[email protected]>
tree:   https://github.com/intel-lab-lkp/linux/commits/Andr-Almeida/syscalls-Create-unified-partial-table-for-all-archs/20260725-040333
head:   8c63d3ddb37ca9ef5da08071f85493dd0b281816
commit: ee3a650b2d887e916d8d644af5416769b7f63f16 syscalls: Add support for x86_x32 for the common syscall table
date:   4 hours ago
compiler: clang version 22.1.8 (https://github.com/llvm/llvm-project ca7933e47d3a3451d81e72ac174dcb5aa28b59d1)
reproduce: (https://download.01.org/0day-ci/archive/20260725/[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/oe-kbuild-all/[email protected]/

All errors (new ones prefixed by >>):

>> /kbuild/src/scripts/syscallhdr.sh: 77: [[: not found
>> /kbuild/src/scripts/syscallhdr.sh: 77: [[: not found
>> /kbuild/src/scripts/syscallhdr.sh: 77: [[: not found
   /kbuild/src/scripts/syscalltbl.sh: 100: Syntax error: redirection unexpected
   make[3]: *** [/kbuild/src/arch/x86/entry/syscalls/Makefile:52: arch/x86/include/generated/asm/syscalls_32.h] Error 2
   /kbuild/src/scripts/syscallhdr.sh: 120: Syntax error: redirection unexpected
   /kbuild/src/scripts/syscallhdr.sh: 120: Syntax error: redirection unexpected
   make[3]: *** [/kbuild/src/arch/x86/entry/syscalls/Makefile:43: arch/x86/include/generated/uapi/asm/unistd_64.h] Error 2
   make[3]: *** [/kbuild/src/arch/x86/entry/syscalls/Makefile:29: arch/x86/include/generated/uapi/asm/unistd_32.h] Error 2
   /kbuild/src/scripts/syscallhdr.sh: 120: Syntax error: redirection unexpected
   make[3]: *** [/kbuild/src/arch/x86/entry/syscalls/Makefile:39: arch/x86/include/generated/uapi/asm/unistd_x32.h] Error 2
   make[3]: Target 'all' not remade because of errors.
   make[2]: *** [/kbuild/src/arch/x86/Makefile:256: archheaders] Error 2
   make[2]: Target 'headers' not remade because of errors.
   make[1]: *** [/kbuild/src/Makefile:248: __sub-make] Error 2
   make[1]: Target 'headers' not remade because of errors.
   make: *** [Makefile:248: __sub-make] Error 2
   make: Target 'headers' not remade because of errors.

--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki