public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Arnd Bergmann <arnd@arndb.de>
Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org,
	Geert Uytterhoeven <geert@linux-m68k.org>
Subject: [arnd-playground:asm-generic-uaccess-4 5/7] csky-linux-ld: reboot.c:undefined reference to `strncpy_from_user'
Date: Wed, 21 Jul 2021 05:42:55 +0800	[thread overview]
Message-ID: <202107210548.RanhZwG2-lkp@intel.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 4898 bytes --]

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/arnd/playground.git asm-generic-uaccess-4
head:   d7d80410412f516869e09904cffd817acaeec742
commit: 198667ecde061778d6236eb5f8fa4233929f4805 [5/7] asm-generic: uaccess: remove inline strncpy_from_user/strnlen_user
config: csky-defconfig (attached as .config)
compiler: csky-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/arnd/playground.git/commit/?id=198667ecde061778d6236eb5f8fa4233929f4805
        git remote add arnd-playground https://git.kernel.org/pub/scm/linux/kernel/git/arnd/playground.git
        git fetch --no-tags arnd-playground asm-generic-uaccess-4
        git checkout 198667ecde061778d6236eb5f8fa4233929f4805
        # 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=csky SHELL=/bin/bash

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

All errors (new ones prefixed by >>):

   csky-linux-ld: kernel/reboot.o: in function `__do_sys_reboot':
   reboot.c:(.text+0x54e): undefined reference to `strncpy_from_user'
>> csky-linux-ld: reboot.c:(.text+0x610): undefined reference to `strncpy_from_user'
   csky-linux-ld: kernel/module.o: in function `__do_sys_delete_module.constprop.0':
>> module.c:(.text+0x24b0): undefined reference to `strncpy_from_user'
>> csky-linux-ld: module.c:(.text+0x255c): undefined reference to `strncpy_from_user'
   csky-linux-ld: fs/binfmt_elf.o: in function `$t':
>> binfmt_elf.c:(.text+0x13dc): undefined reference to `strnlen_user'
   csky-linux-ld: fs/binfmt_elf.o: in function `$d':
   binfmt_elf.c:(.text+0x1424): undefined reference to `strnlen_user'
   csky-linux-ld: fs/binfmt_elf.o: in function `$t':
   binfmt_elf.c:(.text+0x1484): undefined reference to `strnlen_user'
   csky-linux-ld: fs/binfmt_elf.o: in function `$d':
   binfmt_elf.c:(.text+0x1540): undefined reference to `strnlen_user'
   csky-linux-ld: drivers/tty/vt/vt.o: in function `con_font_op':
>> vt.c:(.text+0x55d8): undefined reference to `strncpy_from_user'
>> csky-linux-ld: vt.c:(.text+0x5640): undefined reference to `strncpy_from_user'
   csky-linux-ld: net/ipv4/tcp.o: in function `$t':
>> tcp.c:(.text+0x5732): undefined reference to `strncpy_from_user'
>> csky-linux-ld: tcp.c:(.text+0x5774): undefined reference to `strncpy_from_user'
   csky-linux-ld: net/ipv4/tcp.o: in function `$d':
   tcp.c:(.text+0x57e4): undefined reference to `strncpy_from_user'
   csky-linux-ld: kernel/sys.o:sys.c:(.text+0x1f6e): more undefined references to `strncpy_from_user' follow
   csky-linux-ld: kernel/auditsc.o: in function `audit_log_execve_info':
>> auditsc.c:(.text+0x536): undefined reference to `strnlen_user'
>> csky-linux-ld: auditsc.c:(.text+0x630): undefined reference to `strncpy_from_user'
>> csky-linux-ld: auditsc.c:(.text+0x638): undefined reference to `strnlen_user'
   csky-linux-ld: mm/maccess.o: in function `strncpy_from_user_nofault':
>> maccess.c:(.text+0x2cc): undefined reference to `strncpy_from_user'
   csky-linux-ld: mm/maccess.o: in function `strnlen_user_nofault':
>> maccess.c:(.text+0x332): undefined reference to `strnlen_user'
   csky-linux-ld: mm/maccess.o: in function `$d':
   maccess.c:(.text+0x354): undefined reference to `strncpy_from_user'
>> csky-linux-ld: maccess.c:(.text+0x358): undefined reference to `strnlen_user'
   csky-linux-ld: mm/util.o: in function `strndup_user':
>> util.c:(.text+0x4f6): undefined reference to `strnlen_user'
>> csky-linux-ld: util.c:(.text+0x558): undefined reference to `strnlen_user'
   csky-linux-ld: mm/memfd.o: in function `__do_sys_memfd_create':
>> memfd.c:(.text+0x1a): undefined reference to `strnlen_user'
>> csky-linux-ld: memfd.c:(.text+0x118): undefined reference to `strnlen_user'
   csky-linux-ld: fs/exec.o:exec.c:(.text+0x12c8): more undefined references to `strnlen_user' follow
   csky-linux-ld: fs/namei.o: in function `getname_flags.part.0':
>> namei.c:(.text+0x4604): undefined reference to `strncpy_from_user'
>> csky-linux-ld: namei.c:(.text+0x467a): undefined reference to `strncpy_from_user'
   csky-linux-ld: namei.c:(.text+0x46c0): undefined reference to `strncpy_from_user'
   csky-linux-ld: fs/xattr.o: in function `removexattr':
   xattr.c:(.text+0x5ce): undefined reference to `strncpy_from_user'
   csky-linux-ld: fs/xattr.o: in function `$d':
   xattr.c:(.text+0x700): undefined reference to `strncpy_from_user'
   csky-linux-ld: fs/xattr.o:xattr.c:(.text+0x928): more undefined references to `strncpy_from_user' follow

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

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 10371 bytes --]

                 reply	other threads:[~2021-07-20 21:43 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202107210548.RanhZwG2-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=arnd@arndb.de \
    --cc=geert@linux-m68k.org \
    --cc=kbuild-all@lists.01.org \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox