mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Miquel Raynal <miquel.raynal@bootlin.com>
Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org,
	Pratyush Yadav <p.yadav@ti.com>
Subject: [mtd:spi-mem-ecc 17/30] nios2-linux-ld: core.c:undefined reference to `nand_ecc_get_on_die_hw_engine'
Date: Tue, 1 Feb 2022 14:50:55 +0800	[thread overview]
Message-ID: <202202011416.yZ7MuZxH-lkp@intel.com> (raw)

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git spi-mem-ecc
head:   6d0fadec1de4434fce145b374ef25c665357fa60
commit: 319169b2a767b293984ae2c5e22268fecfb91864 [17/30] mtd: nand: ecc: Rework Kconfig dependencies
config: nios2-randconfig-c004-20220130 (https://download.01.org/0day-ci/archive/20220201/202202011416.yZ7MuZxH-lkp@intel.com/config)
compiler: nios2-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/mtd/linux.git/commit/?id=319169b2a767b293984ae2c5e22268fecfb91864
        git remote add mtd https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git
        git fetch --no-tags mtd spi-mem-ecc
        git checkout 319169b2a767b293984ae2c5e22268fecfb91864
        # 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=nios2 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 >>):

   nios2-linux-ld: drivers/mtd/nand/core.o: in function `nanddev_ecc_engine_init':
   core.c:(.text+0x88c): undefined reference to `of_get_nand_ecc_user_config'
   core.c:(.text+0x88c): relocation truncated to fit: R_NIOS2_CALL26 against `of_get_nand_ecc_user_config'
>> nios2-linux-ld: core.c:(.text+0x8cc): undefined reference to `nand_ecc_get_on_die_hw_engine'
   core.c:(.text+0x8cc): relocation truncated to fit: R_NIOS2_CALL26 against `nand_ecc_get_on_die_hw_engine'
>> nios2-linux-ld: core.c:(.text+0x8dc): undefined reference to `nand_ecc_init_ctx'
   core.c:(.text+0x8dc): relocation truncated to fit: R_NIOS2_CALL26 against `nand_ecc_init_ctx'
>> nios2-linux-ld: core.c:(.text+0x904): undefined reference to `nand_ecc_put_on_host_hw_engine'
   core.c:(.text+0x904): relocation truncated to fit: R_NIOS2_CALL26 against `nand_ecc_put_on_host_hw_engine'
>> nios2-linux-ld: core.c:(.text+0x918): undefined reference to `nand_ecc_get_sw_engine'
   core.c:(.text+0x918): relocation truncated to fit: R_NIOS2_CALL26 against `nand_ecc_get_sw_engine'
>> nios2-linux-ld: core.c:(.text+0x928): undefined reference to `nand_ecc_is_strong_enough'
   core.c:(.text+0x928): relocation truncated to fit: R_NIOS2_CALL26 against `nand_ecc_is_strong_enough'
>> nios2-linux-ld: core.c:(.text+0x960): undefined reference to `nand_ecc_get_on_host_hw_engine'
   core.c:(.text+0x960): relocation truncated to fit: R_NIOS2_CALL26 against `nand_ecc_get_on_host_hw_engine'
   nios2-linux-ld: drivers/mtd/nand/core.o: in function `nanddev_ecc_engine_cleanup':
   core.c:(.text+0x9cc): undefined reference to `nand_ecc_cleanup_ctx'
   core.c:(.text+0x9cc): relocation truncated to fit: R_NIOS2_CALL26 against `nand_ecc_cleanup_ctx'
   nios2-linux-ld: core.c:(.text+0x9f8): undefined reference to `nand_ecc_put_on_host_hw_engine'
   core.c:(.text+0x9f8): relocation truncated to fit: R_NIOS2_CALL26 against `nand_ecc_put_on_host_hw_engine'
   nios2-linux-ld: drivers/mtd/nand/ecc-sw-hamming.o: in function `nand_ecc_sw_hamming_cleanup_ctx':
   ecc-sw-hamming.c:(.text+0x18): undefined reference to `nand_ecc_cleanup_req_tweaking'
   ecc-sw-hamming.c:(.text+0x18): relocation truncated to fit: R_NIOS2_CALL26 against `nand_ecc_cleanup_req_tweaking'
   nios2-linux-ld: drivers/mtd/nand/ecc-sw-hamming.o: in function `nand_ecc_sw_hamming_init_ctx':
   ecc-sw-hamming.c:(.text+0xbc): undefined reference to `nand_ecc_init_req_tweaking'
   ecc-sw-hamming.c:(.text+0xbc): additional relocation overflows omitted from the output
>> nios2-linux-ld: ecc-sw-hamming.c:(.text+0x178): undefined reference to `nand_get_small_page_ooblayout'
>> nios2-linux-ld: ecc-sw-hamming.c:(.text+0x194): undefined reference to `nand_get_large_page_hamming_ooblayout'
>> nios2-linux-ld: ecc-sw-hamming.c:(.text+0x1a4): undefined reference to `nand_ecc_cleanup_req_tweaking'
   nios2-linux-ld: drivers/mtd/nand/ecc-sw-hamming.o: in function `nand_ecc_sw_hamming_prepare_io_req':
   ecc-sw-hamming.c:(.text+0x7a8): undefined reference to `nand_ecc_tweak_req'
   nios2-linux-ld: drivers/mtd/nand/ecc-sw-hamming.o: in function `nand_ecc_sw_hamming_finish_io_req':
   ecc-sw-hamming.c:(.text+0xb7c): undefined reference to `nand_ecc_restore_req'
>> nios2-linux-ld: ecc-sw-hamming.c:(.text+0xc78): undefined reference to `nand_ecc_restore_req'

Kconfig warnings: (for reference only)
   WARNING: unmet direct dependencies detected for MTD_NAND_ECC_SW_HAMMING
   Depends on MTD && MTD_NAND_ECC
   Selected by
   - SM_FTL && MTD && BLOCK

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

                 reply	other threads:[~2022-02-01  6: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=202202011416.yZ7MuZxH-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=kbuild-all@lists.01.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=miquel.raynal@bootlin.com \
    --cc=p.yadav@ti.com \
    /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®