lib/x86_64/handlers.S:2: Error: Unknown opcode: `push'

From: kernel test robot
Date: Mon Jul 26 2021 - 18:33:24 EST


Hi Aaron,

First bad commit (maybe != root cause):

tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: ff1176468d368232b684f75e82563369208bc371
commit: 29faeb9632012d6c3fa4aa33c3d589b9ff18b206 selftests: kvm: Add exception handling to selftests
date: 9 months ago
config: sparc64-randconfig-r023-20210726 (attached as .config)
compiler: sparc64-linux-gcc (GCC) 10.3.0
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=29faeb9632012d6c3fa4aa33c3d589b9ff18b206
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout 29faeb9632012d6c3fa4aa33c3d589b9ff18b206
# save the attached .config to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-10.3.0 make.cross O=build_dir ARCH=sparc64 SHELL=/bin/bash -C tools/testing/selftests install

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@xxxxxxxxx>

All errors (new ones prefixed by >>):

lib/x86_64/handlers.S: Assembler messages:
>> lib/x86_64/handlers.S:2: Error: Unknown opcode: `push'
lib/x86_64/handlers.S:3: Error: Unknown opcode: `push'
lib/x86_64/handlers.S:4: Error: Unknown opcode: `push'
lib/x86_64/handlers.S:5: Error: Unknown opcode: `push'
lib/x86_64/handlers.S:6: Error: Unknown opcode: `push'
lib/x86_64/handlers.S:7: Error: Unknown opcode: `push'
lib/x86_64/handlers.S:8: Error: Unknown opcode: `push'
lib/x86_64/handlers.S:9: Error: Unknown opcode: `push'
lib/x86_64/handlers.S:11: Error: Unknown opcode: `push'
lib/x86_64/handlers.S:12: Error: Unknown opcode: `push'
lib/x86_64/handlers.S:13: Error: Unknown opcode: `push'
lib/x86_64/handlers.S:14: Error: Unknown opcode: `push'
lib/x86_64/handlers.S:15: Error: Unknown opcode: `push'
lib/x86_64/handlers.S:16: Error: Unknown opcode: `push'
lib/x86_64/handlers.S:17: Error: Unknown opcode: `push'
>> lib/x86_64/handlers.S:18: Error: Illegal operands
>> lib/x86_64/handlers.S:22: Error: Unknown opcode: `pop'
lib/x86_64/handlers.S:23: Error: Unknown opcode: `pop'
lib/x86_64/handlers.S:24: Error: Unknown opcode: `pop'
lib/x86_64/handlers.S:25: Error: Unknown opcode: `pop'
lib/x86_64/handlers.S:26: Error: Unknown opcode: `pop'
lib/x86_64/handlers.S:27: Error: Unknown opcode: `pop'
lib/x86_64/handlers.S:28: Error: Unknown opcode: `pop'
lib/x86_64/handlers.S:29: Error: Unknown opcode: `pop'
lib/x86_64/handlers.S:30: Error: Unknown opcode: `pop'
lib/x86_64/handlers.S:31: Error: Unknown opcode: `pop'
lib/x86_64/handlers.S:32: Error: Unknown opcode: `pop'
lib/x86_64/handlers.S:33: Error: Unknown opcode: `pop'
lib/x86_64/handlers.S:34: Error: Unknown opcode: `pop'
lib/x86_64/handlers.S:35: Error: Unknown opcode: `pop'
lib/x86_64/handlers.S:36: Error: Unknown opcode: `pop'
lib/x86_64/handlers.S:39: Error: Illegal operands
>> lib/x86_64/handlers.S:40: Error: Unknown opcode: `iretq'
>> lib/x86_64/handlers.S:73: Error: non-constant expression in ".if" statement
>> lib/x86_64/handlers.S:73: Error: Unknown opcode: `pushq'
>> lib/x86_64/handlers.S:73: Error: non-constant expression in ".if" statement
>> lib/x86_64/handlers.S:73: Error: Unknown opcode: `pushq'
>> lib/x86_64/handlers.S:73: Error: non-constant expression in ".if" statement
>> lib/x86_64/handlers.S:73: Error: Unknown opcode: `pushq'
>> lib/x86_64/handlers.S:73: Error: non-constant expression in ".if" statement
>> lib/x86_64/handlers.S:73: Error: Unknown opcode: `pushq'
>> lib/x86_64/handlers.S:73: Error: non-constant expression in ".if" statement
>> lib/x86_64/handlers.S:73: Error: Unknown opcode: `pushq'
>> lib/x86_64/handlers.S:73: Error: non-constant expression in ".if" statement
>> lib/x86_64/handlers.S:73: Error: Unknown opcode: `pushq'
>> lib/x86_64/handlers.S:73: Error: non-constant expression in ".if" statement
>> lib/x86_64/handlers.S:73: Error: Unknown opcode: `pushq'
>> lib/x86_64/handlers.S:73: Error: non-constant expression in ".if" statement
>> lib/x86_64/handlers.S:73: Error: Unknown opcode: `pushq'
lib/x86_64/handlers.S:74: Error: non-constant expression in ".if" statement
lib/x86_64/handlers.S:74: Error: Unknown opcode: `pushq'
lib/x86_64/handlers.S:75: Error: non-constant expression in ".if" statement
lib/x86_64/handlers.S:75: Error: Unknown opcode: `pushq'
lib/x86_64/handlers.S:76: Error: non-constant expression in ".if" statement
lib/x86_64/handlers.S:76: Error: Unknown opcode: `pushq'
lib/x86_64/handlers.S:76: Error: non-constant expression in ".if" statement
lib/x86_64/handlers.S:76: Error: Unknown opcode: `pushq'
lib/x86_64/handlers.S:76: Error: non-constant expression in ".if" statement
lib/x86_64/handlers.S:76: Error: Unknown opcode: `pushq'
lib/x86_64/handlers.S:76: Error: non-constant expression in ".if" statement
lib/x86_64/handlers.S:76: Error: Unknown opcode: `pushq'
lib/x86_64/handlers.S:76: Error: non-constant expression in ".if" statement
lib/x86_64/handlers.S:76: Error: Unknown opcode: `pushq'
lib/x86_64/handlers.S:77: Error: non-constant expression in ".if" statement
lib/x86_64/handlers.S:77: Error: Unknown opcode: `pushq'
lib/x86_64/handlers.S:77: Error: non-constant expression in ".if" statement
lib/x86_64/handlers.S:77: Error: Unknown opcode: `pushq'
lib/x86_64/handlers.S:78: Error: non-constant expression in ".if" statement
lib/x86_64/handlers.S:78: Error: Unknown opcode: `pushq'
lib/x86_64/handlers.S:79: Error: non-constant expression in ".if" statement
lib/x86_64/handlers.S:79: Error: Unknown opcode: `pushq'
lib/x86_64/handlers.S:79: Error: non-constant expression in ".if" statement
lib/x86_64/handlers.S:79: Error: Unknown opcode: `pushq'
lib/x86_64/handlers.S:79: Error: non-constant expression in ".if" statement
lib/x86_64/handlers.S:79: Error: Unknown opcode: `pushq'
lib/x86_64/handlers.S:79: Error: non-constant expression in ".if" statement
lib/x86_64/handlers.S:79: Error: Unknown opcode: `pushq'
lib/x86_64/handlers.S:79: Error: non-constant expression in ".if" statement
lib/x86_64/handlers.S:79: Error: Unknown opcode: `pushq'
lib/x86_64/handlers.S:79: Error: non-constant expression in ".if" statement
lib/x86_64/handlers.S:79: Error: Unknown opcode: `pushq'
lib/x86_64/handlers.S:79: Error: non-constant expression in ".if" statement
lib/x86_64/handlers.S:79: Error: Unknown opcode: `pushq'
lib/x86_64/handlers.S:79: Error: non-constant expression in ".if" statement
lib/x86_64/handlers.S:79: Error: Unknown opcode: `pushq'
lib/x86_64/handlers.S:79: Error: non-constant expression in ".if" statement
lib/x86_64/handlers.S:79: Error: Unknown opcode: `pushq'
lib/x86_64/handlers.S:79: Error: non-constant expression in ".if" statement
lib/x86_64/handlers.S:79: Error: Unknown opcode: `pushq'
lib/x86_64/handlers.S:79: Error: non-constant expression in ".if" statement
lib/x86_64/handlers.S:79: Error: Unknown opcode: `pushq'
lib/x86_64/handlers.S:79: Error: non-constant expression in ".if" statement
lib/x86_64/handlers.S:79: Error: Unknown opcode: `pushq'
lib/x86_64/handlers.S:79: Error: non-constant expression in ".if" statement
lib/x86_64/handlers.S:79: Error: Unknown opcode: `pushq'
lib/x86_64/handlers.S:79: Error: non-constant expression in ".if" statement
lib/x86_64/handlers.S:79: Error: Unknown opcode: `pushq'
lib/x86_64/handlers.S:79: Error: non-constant expression in ".if" statement
lib/x86_64/handlers.S:79: Error: Unknown opcode: `pushq'
lib/x86_64/handlers.S:79: Error: non-constant expression in ".if" statement
lib/x86_64/handlers.S:79: Error: Unknown opcode: `pushq'
lib/x86_64/handlers.S:79: Error: non-constant expression in ".if" statement
lib/x86_64/handlers.S:79: Error: Unknown opcode: `pushq'
lib/x86_64/handlers.S:79: Error: non-constant expression in ".if" statement
lib/x86_64/handlers.S:79: Error: Unknown opcode: `pushq'
lib/x86_64/handlers.S:79: Error: non-constant expression in ".if" statement
lib/x86_64/handlers.S:79: Error: Unknown opcode: `pushq'
lib/x86_64/handlers.S:79: Error: non-constant expression in ".if" statement
lib/x86_64/handlers.S:79: Error: Unknown opcode: `pushq'
lib/x86_64/handlers.S:79: Error: non-constant expression in ".if" statement
lib/x86_64/handlers.S:79: Error: Unknown opcode: `pushq'
lib/x86_64/handlers.S:79: Error: non-constant expression in ".if" statement
lib/x86_64/handlers.S:79: Error: Unknown opcode: `pushq'
lib/x86_64/handlers.S:79: Error: non-constant expression in ".if" statement
lib/x86_64/handlers.S:79: Error: Unknown opcode: `pushq'
lib/x86_64/handlers.S:79: Error: non-constant expression in ".if" statement
lib/x86_64/handlers.S:79: Error: Unknown opcode: `pushq'
lib/x86_64/handlers.S:79: Error: non-constant expression in ".if" statement
lib/x86_64/handlers.S:79: Error: Unknown opcode: `pushq'
lib/x86_64/handlers.S:79: Error: non-constant expression in ".if" statement
lib/x86_64/handlers.S:79: Error: Unknown opcode: `pushq'
lib/x86_64/handlers.S:79: Error: non-constant expression in ".if" statement
lib/x86_64/handlers.S:79: Error: Unknown opcode: `pushq'
lib/x86_64/handlers.S:79: Error: non-constant expression in ".if" statement
lib/x86_64/handlers.S:79: Error: Unknown opcode: `pushq'
lib/x86_64/handlers.S:79: Error: non-constant expression in ".if" statement
lib/x86_64/handlers.S:79: Error: Unknown opcode: `pushq'
lib/x86_64/handlers.S:79: Error: non-constant expression in ".if" statement
lib/x86_64/handlers.S:79: Error: Unknown opcode: `pushq'
lib/x86_64/handlers.S:79: Error: non-constant expression in ".if" statement
lib/x86_64/handlers.S:79: Error: Unknown opcode: `pushq'
lib/x86_64/handlers.S:79: Error: non-constant expression in ".if" statement
lib/x86_64/handlers.S:79: Error: Unknown opcode: `pushq'
lib/x86_64/handlers.S:79: Error: non-constant expression in ".if" statement
lib/x86_64/handlers.S:79: Error: Unknown opcode: `pushq'
lib/x86_64/handlers.S:79: Error: non-constant expression in ".if" statement
lib/x86_64/handlers.S:79: Error: Unknown opcode: `pushq'
lib/x86_64/handlers.S:79: Error: non-constant expression in ".if" statement
lib/x86_64/handlers.S:79: Error: Unknown opcode: `pushq'
lib/x86_64/handlers.S:79: Error: non-constant expression in ".if" statement
lib/x86_64/handlers.S:79: Error: Unknown opcode: `pushq'
lib/x86_64/handlers.S:79: Error: non-constant expression in ".if" statement
lib/x86_64/handlers.S:79: Error: Unknown opcode: `pushq'
lib/x86_64/handlers.S:79: Error: non-constant expression in ".if" statement
lib/x86_64/handlers.S:79: Error: Unknown opcode: `pushq'
lib/x86_64/handlers.S:79: Error: non-constant expression in ".if" statement
lib/x86_64/handlers.S:79: Error: Unknown opcode: `pushq'
lib/x86_64/handlers.S:79: Error: non-constant expression in ".if" statement
lib/x86_64/handlers.S:79: Error: Unknown opcode: `pushq'

Kconfig warnings: (for reference only)
WARNING: unmet direct dependencies detected for COMPAT_BINFMT_ELF
Depends on COMPAT && BINFMT_ELF
Selected by
- COMPAT && SPARC64
WARNING: unmet direct dependencies detected for FRAME_POINTER
Depends on DEBUG_KERNEL && (M68K || UML || SUPERH) || ARCH_WANT_FRAME_POINTERS || MCOUNT
Selected by
- LOCKDEP && DEBUG_KERNEL && LOCK_DEBUGGING_SUPPORT && !MIPS && !PPC && !ARM && !S390 && !MICROBLAZE && !ARC && !X86

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx

Attachment: .config.gz
Description: application/gzip