public inbox for linux-mm@kvack.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Christophe Leroy <christophe.leroy@csgroup.eu>
Cc: kbuild-all@lists.01.org,
	Linux Memory Management List <linux-mm@kvack.org>,
	Michael Ellerman <mpe@ellerman.id.au>
Subject: [linux-next:master 3877/5417] epapr_paravirt.c:undefined reference to `._mcount'
Date: Sat, 12 Feb 2022 01:59:15 +0800	[thread overview]
Message-ID: <202202120046.84Ueq6fk-lkp@intel.com> (raw)

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head:   6d9bd4ad4ca08b1114e814c2c42383b8b13be631
commit: 3a1a8f078670c24a1c0c7fef172ea5c0e2385b61 [3877/5417] powerpc/ftrace: Remove ftrace_32.S
config: powerpc64-randconfig-r005-20220211 (https://download.01.org/0day-ci/archive/20220212/202202120046.84Ueq6fk-lkp@intel.com/config)
compiler: powerpc64-linux-gcc (GCC) 11.2.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/next/linux-next.git/commit/?id=3a1a8f078670c24a1c0c7fef172ea5c0e2385b61
        git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
        git fetch --no-tags linux-next master
        git checkout 3a1a8f078670c24a1c0c7fef172ea5c0e2385b61
        # save the config file to linux build tree
        mkdir build_dir
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=powerpc 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 >>):

   powerpc64-linux-ld: warning: discarding dynamic section .glink
   powerpc64-linux-ld: warning: discarding dynamic section .plt
   powerpc64-linux-ld: linkage table error against `_mcount'
   powerpc64-linux-ld: stubs don't match calculated size
   powerpc64-linux-ld: can not build stubs: bad value
   powerpc64-linux-ld: init/main.o: in function `.__traceiter_initcall_level':
   (.text+0x40): undefined reference to `._mcount'
   powerpc64-linux-ld: init/main.o: in function `.__traceiter_initcall_start':
   (.text+0xd4): undefined reference to `._mcount'
   powerpc64-linux-ld: init/main.o: in function `.__traceiter_initcall_finish':
   (.text+0x164): undefined reference to `._mcount'
   powerpc64-linux-ld: init/main.o: in function `.trace_initcall_finish_cb':
   main.c:(.text+0x200): undefined reference to `._mcount'
   powerpc64-linux-ld: init/main.o: in function `.initcall_blacklisted':
   main.c:(.text+0x744): undefined reference to `._mcount'
   powerpc64-linux-ld: init/main.o:(.text+0xdac): more undefined references to `._mcount' follow
   powerpc64-linux-ld: arch/powerpc/kernel/trace/ftrace.o:(.toc+0x0): undefined reference to `_mcount'
   powerpc64-linux-ld: arch/powerpc/kernel/trace/ftrace.o:(.toc+0x8): undefined reference to `ftrace_tramp_text'
   powerpc64-linux-ld: arch/powerpc/kernel/trace/ftrace.o:(.toc+0x10): undefined reference to `ftrace_tramp_init'
   powerpc64-linux-ld: arch/powerpc/kernel/epapr_paravirt.o: in function `.epapr_idle_init':
>> epapr_paravirt.c:(.init.text+0xc): undefined reference to `._mcount'
   powerpc64-linux-ld: arch/powerpc/kernel/epapr_paravirt.o: in function `.early_init_dt_scan_epapr':
   epapr_paravirt.c:(.init.text+0x38): undefined reference to `._mcount'
   powerpc64-linux-ld: arch/powerpc/kernel/epapr_paravirt.o: in function `.epapr_paravirt_early_init':
   epapr_paravirt.c:(.init.text+0x148): undefined reference to `._mcount'
   powerpc64-linux-ld: arch/powerpc/kernel/kvm.o: in function `.kvm_map_magic_page':
>> kvm.c:(.init.text+0x14): undefined reference to `._mcount'
   powerpc64-linux-ld: arch/powerpc/kernel/kvm.o: in function `.kvm_alloc':
   kvm.c:(.init.text+0xa0): undefined reference to `._mcount'
   powerpc64-linux-ld: arch/powerpc/kernel/kvm.o:kvm.c:(.init.text+0x14c): more undefined references to `._mcount' follow
   powerpc64-linux-ld: kernel/trace/ftrace.o:(.toc+0x0): undefined reference to `_mcount'
   powerpc64-linux-ld: kernel/bpf/core.o: in function `.__bpf_call_base':
   (.text+0xc): undefined reference to `._mcount'
   powerpc64-linux-ld: kernel/bpf/core.o: in function `.__bpf_prog_ret1':
   core.c:(.text+0x34): undefined reference to `._mcount'
   powerpc64-linux-ld: kernel/bpf/core.o: in function `.bpf_event_output':
   (.text+0x5c): undefined reference to `._mcount'
   powerpc64-linux-ld: kernel/bpf/core.o: in function `.bpf_adj_delta_to_imm':
   core.c:(.text+0x9c): undefined reference to `._mcount'
   powerpc64-linux-ld: kernel/bpf/core.o: in function `.bpf_adj_delta_to_off':
   core.c:(.text+0x1c0): undefined reference to `._mcount'
   powerpc64-linux-ld: kernel/bpf/core.o:core.c:(.text+0x2e8): more undefined references to `._mcount' follow

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


                 reply	other threads:[~2022-02-11 18:00 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=202202120046.84Ueq6fk-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=christophe.leroy@csgroup.eu \
    --cc=kbuild-all@lists.01.org \
    --cc=linux-mm@kvack.org \
    --cc=mpe@ellerman.id.au \
    /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