[PATCH v7 21/22] ptrace: add PTRACE_GET_SYSCALL_INFO request

kbuild test robot lkp at intel.com
Mon Jan 7 06:21:39 UTC 2019


Hi Elvira,

Thank you for the patch! Yet something to improve:

[auto build test ERROR on linus/master]
[cannot apply to v4.20 next-20190103]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]

url:    https://github.com/0day-ci/linux/commits/Dmitry-V-Levin/asm-generic-syscall-h-prepare-for-inclusion-by-other-files/20190107-115241
config: nds32-defconfig (attached as .config)
compiler: nds32le-linux-gcc (GCC) 6.4.0
reproduce:
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # save the attached .config to linux build tree
        GCC_VERSION=6.4.0 make.cross ARCH=nds32 

All errors (new ones prefixed by >>):

   lib/syscall.o: In function `syscall_get_nr':
>> syscall.c:(.text+0x0): multiple definition of `syscall_get_nr'
   kernel/ptrace.o:ptrace.c:(.text+0x38c): first defined here
   lib/syscall.o: In function `syscall_rollback':
>> syscall.c:(.text+0x18): multiple definition of `syscall_rollback'
   kernel/ptrace.o:ptrace.c:(.text+0x3a4): first defined here
   lib/syscall.o: In function `syscall_get_error':
>> syscall.c:(.text+0x34): multiple definition of `syscall_get_error'
   kernel/ptrace.o:ptrace.c:(.text+0x3c0): first defined here
   lib/syscall.o: In function `syscall_get_return_value':
>> syscall.c:(.text+0x54): multiple definition of `syscall_get_return_value'
   kernel/ptrace.o:ptrace.c:(.text+0x3e0): first defined here
   lib/syscall.o: In function `syscall_set_return_value':
>> syscall.c:(.text+0x6c): multiple definition of `syscall_set_return_value'
   kernel/ptrace.o:ptrace.c:(.text+0x3f8): first defined here
   lib/syscall.o: In function `syscall_get_arguments':
>> syscall.c:(.text+0x88): multiple definition of `syscall_get_arguments'
   kernel/ptrace.o:ptrace.c:(.text+0x414): first defined here
   lib/syscall.o: In function `syscall_set_arguments':
>> syscall.c:(.text+0x1e0): multiple definition of `syscall_set_arguments'
   kernel/ptrace.o:ptrace.c:(.text+0x63c): first defined here

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .config.gz
Type: application/gzip
Size: 9721 bytes
Desc: not available
URL: <http://lists.strace.io/pipermail/strace-devel/attachments/20190107/30694feb/attachment.bin>


More information about the Strace-devel mailing list