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.2 15/23] ld.lld: error: duplicate symbol: io_uring_cmd_import_fixed
Date: Wed, 22 Dec 2021 06:05:57 +0800 [thread overview]
Message-ID: <202112220501.udx7B2Uz-lkp@intel.com> (raw)
tree: https://git.kernel.org/pub/scm/linux/kernel/git/axboe/linux-block.git nvme-passthru-wip.2
head: 7567defdb3c6a81e4114a03ddf3d6c158df81a76
commit: bc18161c9b80cf2d647710257f9716ee6c66fee4 [15/23] io_uring: add flag and helper for fixed-buffer uring-cmd
config: hexagon-randconfig-r045-20211220 (https://download.01.org/0day-ci/archive/20211222/202112220501.udx7B2Uz-lkp@intel.com/config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project 6c2bf01270a8a52b7986d5c49eaa7ad1c7083ec5)
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/axboe/linux-block.git/commit/?id=bc18161c9b80cf2d647710257f9716ee6c66fee4
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.2
git checkout bc18161c9b80cf2d647710257f9716ee6c66fee4
# save the config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=hexagon 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 fops.c
>>> fops.o:(.text+0x0) in archive block/built-in.a
--
In file included from kernel/fork.c:97:
>> include/linux/io_uring.h:58:5: warning: no previous prototype for function 'io_uring_cmd_import_fixed' [-Wmissing-prototypes]
int io_uring_cmd_import_fixed(u64 ubuf, unsigned long len,
^
include/linux/io_uring.h:58:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
int io_uring_cmd_import_fixed(u64 ubuf, unsigned long len,
^
static
kernel/fork.c:161: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:161: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:763:20: warning: no previous prototype for function 'arch_task_cache_init' [-Wmissing-prototypes]
void __init __weak arch_task_cache_init(void) { }
^
kernel/fork.c:763: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
kernel/fork.c:858:12: warning: no previous prototype for function 'arch_dup_task_struct' [-Wmissing-prototypes]
int __weak arch_dup_task_struct(struct task_struct *dst,
^
kernel/fork.c:858:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
int __weak arch_dup_task_struct(struct task_struct *dst,
^
static
4 warnings generated.
--
In file included from kernel/exit.c:65:
>> include/linux/io_uring.h:58:5: warning: no previous prototype for function 'io_uring_cmd_import_fixed' [-Wmissing-prototypes]
int io_uring_cmd_import_fixed(u64 ubuf, unsigned long len,
^
include/linux/io_uring.h:58:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
int io_uring_cmd_import_fixed(u64 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
reply other threads:[~2021-12-21 22:06 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=202112220501.udx7B2Uz-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®