linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Mark Brown <broonie@kernel.org>
Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org,
	Borislav Petkov <bp@suse.de>, Miroslav Benes <mbenes@suse.cz>
Subject: collect2: error: ld returned 1 exit status
Date: Wed, 26 Jan 2022 03:17:01 +0800	[thread overview]
Message-ID: <202201260016.WjRQsceW-lkp@intel.com> (raw)

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   a08b41ab9e2e468647f78eb17c28e29b93006394
commit: b18adee4ce4443399963826b5d28d9e63d40740c stacktrace: Move documentation for arch_stack_walk_reliable() to header
date:   11 months ago
config: x86_64-rhel-8.3-kselftests (https://download.01.org/0day-ci/archive/20220126/202201260016.WjRQsceW-lkp@intel.com/config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
        # https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=b18adee4ce4443399963826b5d28d9e63d40740c
        git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
        git fetch --no-tags linus master
        git checkout b18adee4ce4443399963826b5d28d9e63d40740c
        # save the config file to linux build tree
        make W=1 ARCH=x86_64 SHELL=/bin/bash tools/all

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 >>):

   /usr/bin/ld: virtio_ring.o: in function `spin_lock':
   /kbuild/worktree/build-ktools-consumer/tools/virtio/./linux/spinlock.h:16: undefined reference to `pthread_spin_lock'
   /usr/bin/ld: virtio_ring.o: in function `spin_unlock':
   /kbuild/worktree/build-ktools-consumer/tools/virtio/./linux/spinlock.h:22: undefined reference to `pthread_spin_unlock'
   /usr/bin/ld: virtio_ring.o: in function `spin_lock':
   /kbuild/worktree/build-ktools-consumer/tools/virtio/./linux/spinlock.h:16: undefined reference to `pthread_spin_lock'
   /usr/bin/ld: virtio_ring.o: in function `spin_unlock':
   /kbuild/worktree/build-ktools-consumer/tools/virtio/./linux/spinlock.h:22: undefined reference to `pthread_spin_unlock'
   /usr/bin/ld: virtio_ring.o: in function `spin_lock':
   /kbuild/worktree/build-ktools-consumer/tools/virtio/./linux/spinlock.h:16: undefined reference to `pthread_spin_lock'
   /usr/bin/ld: virtio_ring.o: in function `spin_unlock':
   /kbuild/worktree/build-ktools-consumer/tools/virtio/./linux/spinlock.h:22: undefined reference to `pthread_spin_unlock'
   /usr/bin/ld: virtio_ring.o: in function `spin_lock':
   /kbuild/worktree/build-ktools-consumer/tools/virtio/./linux/spinlock.h:16: undefined reference to `pthread_spin_lock'
   /usr/bin/ld: virtio_ring.o: in function `spin_unlock':
   /kbuild/worktree/build-ktools-consumer/tools/virtio/./linux/spinlock.h:22: undefined reference to `pthread_spin_unlock'
>> collect2: error: ld returned 1 exit status
   make[3]: *** [<builtin>: virtio_test] Error 1
   make[3]: *** Waiting for unfinished jobs....
   /usr/bin/ld: virtio_ring.o: in function `spin_lock':
   /kbuild/worktree/build-ktools-consumer/tools/virtio/./linux/spinlock.h:16: undefined reference to `pthread_spin_lock'
   /usr/bin/ld: virtio_ring.o: in function `spin_unlock':
   /kbuild/worktree/build-ktools-consumer/tools/virtio/./linux/spinlock.h:22: undefined reference to `pthread_spin_unlock'
   /usr/bin/ld: virtio_ring.o: in function `spin_lock':
   /kbuild/worktree/build-ktools-consumer/tools/virtio/./linux/spinlock.h:16: undefined reference to `pthread_spin_lock'
   /usr/bin/ld: virtio_ring.o: in function `spin_unlock':
   /kbuild/worktree/build-ktools-consumer/tools/virtio/./linux/spinlock.h:22: undefined reference to `pthread_spin_unlock'
   /usr/bin/ld: virtio_ring.o: in function `spin_lock':
   /kbuild/worktree/build-ktools-consumer/tools/virtio/./linux/spinlock.h:16: undefined reference to `pthread_spin_lock'
   /usr/bin/ld: virtio_ring.o: in function `spin_unlock':
   /kbuild/worktree/build-ktools-consumer/tools/virtio/./linux/spinlock.h:22: undefined reference to `pthread_spin_unlock'
   /usr/bin/ld: virtio_ring.o: in function `spin_lock':
   /kbuild/worktree/build-ktools-consumer/tools/virtio/./linux/spinlock.h:16: undefined reference to `pthread_spin_lock'
   /usr/bin/ld: virtio_ring.o: in function `spin_unlock':
   /kbuild/worktree/build-ktools-consumer/tools/virtio/./linux/spinlock.h:22: undefined reference to `pthread_spin_unlock'
>> collect2: error: ld returned 1 exit status
   make[3]: *** [<builtin>: vringh_test] Error 1
   ***
   *** The source tree is not clean, please run 'make mrproper'
   *** in /kbuild/worktree/build-ktools-consumer
   ***
   make[5]: *** [/kbuild/worktree/build-ktools-consumer/Makefile:573: outputmakefile] Error 1
   make[4]: *** [Makefile:732: include/config/auto.conf.cmd] Error 2
   make[3]: *** [Makefile:11: mod] Error 2

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

             reply	other threads:[~2022-01-25 19:17 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-25 19:17 kernel test robot [this message]
  -- strict thread matches above, loose matches on Subject: below --
2022-01-29 21:57 collect2: error: ld returned 1 exit status kernel test robot
2021-09-11 19:31 kernel test robot
2021-07-20 19:27 kernel test robot
2021-07-05  2:19 kernel test robot
2021-05-31 12:45 kernel test robot
2021-05-29 19:48 kernel test robot
2021-05-16 23:06 kernel test robot
2021-04-10 19:46 kernel test robot
2021-03-07 17:24 kernel test robot
2021-03-03 21:22 kernel test robot
2019-05-31  6:18 kbuild test robot
2017-02-12  4:37 kbuild test robot
2017-01-01 19:08 kbuild test robot
2016-12-11 10:05 kbuild test robot
2016-11-20 20:39 kbuild test robot
2016-11-21 10:16 ` Linus Walleij
2016-09-11  2:06 kbuild test robot
2016-04-16 23:50 kbuild test robot
2016-04-03  0:46 kbuild test robot
2016-03-12 23:33 kbuild test robot
2016-03-05 23:34 kbuild test robot
2016-02-27 23:12 kbuild test robot
2016-01-16 23:31 kbuild test robot
2015-12-05 23:55 kbuild test robot
2015-11-22  1:05 kbuild test robot
2015-11-23  9:54 ` Michael Ellerman
2015-11-23 12:45   ` Fengguang Wu
2015-10-10 23:32 kbuild test robot

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=202201260016.WjRQsceW-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=bp@suse.de \
    --cc=broonie@kernel.org \
    --cc=kbuild-all@lists.01.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mbenes@suse.cz \
    /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;
as well as URLs for NNTP newsgroup(s).