[tip:WIP.x86/mm 1/1] arch/x86/kernel/process_64.c:541:35: error: '__NR_ia32_execve' undeclared

From: kbuild test robot
Date: Thu Mar 30 2017 - 05:32:45 EST


tree: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git WIP.x86/mm
head: 693bcce23a1f830d64480cad10f4004e520965fd
commit: 693bcce23a1f830d64480cad10f4004e520965fd [1/1] x86/mm: Make in_compat_syscall() work during exec
config: x86_64-randconfig-x012-201713 (attached as .config)
compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
reproduce:
git checkout 693bcce23a1f830d64480cad10f4004e520965fd
# save the attached .config to linux build tree
make ARCH=x86_64

All errors (new ones prefixed by >>):

arch/x86/kernel/process_64.c: In function '__set_personality_ia32':
>> arch/x86/kernel/process_64.c:541:35: error: '__NR_ia32_execve' undeclared (first use in this function)
task_pt_regs(current)->orig_ax = __NR_ia32_execve;
^~~~~~~~~~~~~~~~
arch/x86/kernel/process_64.c:541:35: note: each undeclared identifier is reported only once for each function it appears in

vim +/__NR_ia32_execve +541 arch/x86/kernel/process_64.c

535 set_thread_flag(TIF_IA32);
536 clear_thread_flag(TIF_X32);
537 if (current->mm)
538 current->mm->context.ia32_compat = TIF_IA32;
539 current->personality |= force_personality32;
540 /* Prepare the first "return" to user space */
> 541 task_pt_regs(current)->orig_ax = __NR_ia32_execve;
542 current->thread.status |= TS_COMPAT;
543 #endif
544 }

---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation

Attachment: .config.gz
Description: application/gzip