mirror of https://lore.kernel.org/lkml/
 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,
	GNU/Weeb Mailing List <gwml@vger.gnuweeb.org>,
	linux-kernel@vger.kernel.org,
	Michael Ellerman <mpe@ellerman.id.au>
Subject: [ammarfaizi2-block:powerpc/linux/next-test 41/56] powerpc64-linux-ld: arch/powerpc/kernel/trace/ftrace.o:undefined reference to `_mcount'
Date: Fri, 11 Feb 2022 07:10:22 +0800	[thread overview]
Message-ID: <202202110717.hZrWu55Z-lkp@intel.com> (raw)

tree:   https://github.com/ammarfaizi2/linux-block powerpc/linux/next-test
head:   14cc509e7b686ce5db7175d0fb084cacae046d96
commit: 3a1a8f078670c24a1c0c7fef172ea5c0e2385b61 [41/56] powerpc/ftrace: Remove ftrace_32.S
config: powerpc64-randconfig-r012-20220210 (https://download.01.org/0day-ci/archive/20220211/202202110717.hZrWu55Z-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://github.com/ammarfaizi2/linux-block/commit/3a1a8f078670c24a1c0c7fef172ea5c0e2385b61
        git remote add ammarfaizi2-block https://github.com/ammarfaizi2/linux-block
        git fetch --no-tags ammarfaizi2-block powerpc/linux/next-test
        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: orphan section `.stubs' from `drivers/i2c/busses/i2c-pasemi-core.o' being placed in section `.stubs'
   powerpc64-linux-ld: warning: orphan section `.ftrace.tramp' from `drivers/i2c/busses/i2c-pasemi-core.o' being placed in section `.ftrace.tramp'
   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+0x18): undefined reference to `._mcount'
   powerpc64-linux-ld: init/main.o: in function `.__traceiter_initcall_start':
   (.text+0x88): undefined reference to `._mcount'
   powerpc64-linux-ld: init/main.o: in function `.__traceiter_initcall_finish':
   (.text+0xf4): undefined reference to `._mcount'
   powerpc64-linux-ld: init/main.o: in function `.trace_initcall_finish_cb':
>> main.c:(.text+0x16c): undefined reference to `._mcount'
   powerpc64-linux-ld: init/main.o: in function `.initcall_blacklisted':
   main.c:(.text+0x4cc): undefined reference to `._mcount'
   powerpc64-linux-ld: init/main.o:(.text+0x5bc): 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/iomap.o: in function `.ioport_map':
   (.text+0x14): undefined reference to `._mcount'
   powerpc64-linux-ld: arch/powerpc/kernel/iomap.o: in function `.pci_iounmap':
   (.text+0x48): undefined reference to `._mcount'
   powerpc64-linux-ld: arch/powerpc/kernel/compat_audit.o: in function `.ppc32_classify_syscall':
>> compat_audit.c:(.text+0x14): undefined reference to `._mcount'
   powerpc64-linux-ld: arch/powerpc/mm/fault.o: in function `.__bad_area_nosemaphore':
>> fault.c:(.text+0x5c): undefined reference to `._mcount'
   powerpc64-linux-ld: arch/powerpc/mm/fault.o: in function `.bad_area_nosemaphore':
   fault.c:(.text+0xb0): undefined reference to `._mcount'
   powerpc64-linux-ld: arch/powerpc/mm/fault.o:fault.c:(.text+0x2bc): 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_adj_delta_to_imm':
>> core.c:(.text+0x24): undefined reference to `._mcount'
   powerpc64-linux-ld: kernel/bpf/core.o: in function `.bpf_adj_branches':
   core.c:(.text+0xdc): undefined reference to `._mcount'
   powerpc64-linux-ld: kernel/bpf/core.o: in function `.__bpf_call_base':
   (.text+0x250): undefined reference to `._mcount'
   powerpc64-linux-ld: kernel/bpf/core.o: in function `.__bpf_prog_ret1':
   core.c:(.text+0x278): undefined reference to `._mcount'
   powerpc64-linux-ld: kernel/bpf/core.o: in function `.bpf_prog_array_copy_core':
   core.c:(.text+0x2ac): undefined reference to `._mcount'
   powerpc64-linux-ld: kernel/bpf/core.o:(.text+0x31c): more undefined references to `._mcount' follow
   powerpc64-linux-ld: drivers/i2c/busses/i2c-pasemi-core.o:(.toc+0x0): undefined reference to `__this_module'
   powerpc64-linux-ld: drivers/i2c/busses/i2c-pasemi-platform.o: in function `.pasemi_platform_i2c_remove':
>> i2c-pasemi-platform.c:(.text+0xc): undefined reference to `._mcount'
   powerpc64-linux-ld: drivers/i2c/busses/i2c-pasemi-platform.o: in function `.pasemi_platform_i2c_probe':
   i2c-pasemi-platform.c:(.text+0x44): undefined reference to `._mcount'
   powerpc64-linux-ld: drivers/i2c/busses/i2c-pasemi-platform.o: in function `.pasemi_platform_i2c_driver_init':
>> i2c-pasemi-platform.c:(.init.text+0x14): undefined reference to `._mcount'
   powerpc64-linux-ld: drivers/i2c/busses/i2c-pca-platform.o: in function `.i2c_pca_pf_readbyte8':
>> i2c-pca-platform.c:(.text+0x34): undefined reference to `._mcount'
   powerpc64-linux-ld: drivers/i2c/busses/i2c-pca-platform.o: in function `.i2c_pca_pf_readbyte16':
   i2c-pca-platform.c:(.text+0x70): undefined reference to `._mcount'
   powerpc64-linux-ld: drivers/i2c/busses/i2c-pca-platform.o:i2c-pca-platform.c:(.text+0xb4): 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-10 23:11 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=202202110717.hZrWu55Z-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=christophe.leroy@csgroup.eu \
    --cc=gwml@vger.gnuweeb.org \
    --cc=kbuild-all@lists.01.org \
    --cc=linux-kernel@vger.kernel.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

all inboxes | Powered by JetHome®