From: kernel test robot <lkp@intel.com>
To: Kanchan Joshi <joshi.k@samsung.com>
Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org,
linux-kernel@vger.kernel.org, Jens Axboe <axboe@kernel.dk>,
Anuj Gupta <anuj20.g@samsung.com>
Subject: [axboe-block:nvme-passthru-wip 12/19] ld.lld: error: duplicate symbol: io_uring_cmd_import_fixed
Date: Fri, 8 Oct 2021 04:50:51 +0800 [thread overview]
Message-ID: <202110080449.OIZG6Oq1-lkp@intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 4005 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/axboe/linux-block.git nvme-passthru-wip
head: 9c18980ac90053bcdb21594eae48935d89bf389c
commit: 069d94370113e6543d01ae4af5646cdabc0c5a02 [12/19] io_uring: add helper for fixed-buffer uring-cmd
config: riscv-randconfig-r042-20211007 (attached as .config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project 58b68e70ebf6308f982426a2618782f473218eed)
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
# install riscv cross compiling tool for clang build
# apt-get install binutils-riscv64-linux-gnu
# https://git.kernel.org/pub/scm/linux/kernel/git/axboe/linux-block.git/commit/?id=069d94370113e6543d01ae4af5646cdabc0c5a02
git remote add axboe-block https://git.kernel.org/pub/scm/linux/kernel/git/axboe/linux-block.git
git fetch --no-tags axboe-block nvme-passthru-wip
git checkout 069d94370113e6543d01ae4af5646cdabc0c5a02
# save the attached .config to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=riscv SHELL=/bin/bash
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All error/warnings (new ones prefixed by >>):
>> ld.lld: error: duplicate symbol: io_uring_cmd_import_fixed
>>> defined at fork.c
>>> fork.o:(io_uring_cmd_import_fixed) in archive kernel/built-in.a
>>> defined at exit.c
>>> exit.o:(.text+0x0) in archive kernel/built-in.a
--
>> ld.lld: error: duplicate symbol: io_uring_cmd_import_fixed
>>> defined at fork.c
>>> fork.o:(io_uring_cmd_import_fixed) in archive kernel/built-in.a
>>> defined at exec.c
>>> exec.o:(.text+0x0) in archive fs/built-in.a
--
>> ld.lld: error: duplicate symbol: io_uring_cmd_import_fixed
>>> defined at fork.c
>>> fork.o:(io_uring_cmd_import_fixed) in archive kernel/built-in.a
>>> defined at socket.c
>>> socket.o:(.text+0x0) in archive net/built-in.a
--
In file included from kernel/fork.c:98:
>> include/linux/io_uring.h:55:5: warning: no previous prototype for function 'io_uring_cmd_import_fixed' [-Wmissing-prototypes]
int io_uring_cmd_import_fixed(void *ubuf, unsigned long len,
^
include/linux/io_uring.h:55:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
int io_uring_cmd_import_fixed(void *ubuf, unsigned long len,
^
static
kernel/fork.c:162:13: warning: no previous prototype for function 'arch_release_task_struct' [-Wmissing-prototypes]
void __weak arch_release_task_struct(struct task_struct *tsk)
^
kernel/fork.c:162:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
void __weak arch_release_task_struct(struct task_struct *tsk)
^
static
kernel/fork.c:764:20: warning: no previous prototype for function 'arch_task_cache_init' [-Wmissing-prototypes]
void __init __weak arch_task_cache_init(void) { }
^
kernel/fork.c:764:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
void __init __weak arch_task_cache_init(void) { }
^
static
3 warnings generated.
--
In file included from kernel/exit.c:66:
>> include/linux/io_uring.h:55:5: warning: no previous prototype for function 'io_uring_cmd_import_fixed' [-Wmissing-prototypes]
int io_uring_cmd_import_fixed(void *ubuf, unsigned long len,
^
include/linux/io_uring.h:55:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
int io_uring_cmd_import_fixed(void *ubuf, unsigned long len,
^
static
1 warning generated.
---
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: 35161 bytes --]
reply other threads:[~2021-10-07 20:51 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=202110080449.OIZG6Oq1-lkp@intel.com \
--to=lkp@intel.com \
--cc=anuj20.g@samsung.com \
--cc=axboe@kernel.dk \
--cc=joshi.k@samsung.com \
--cc=kbuild-all@lists.01.org \
--cc=linux-kernel@vger.kernel.org \
--cc=llvm@lists.linux.dev \
/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
all inboxes | Powered by JetHome®