Skip to contentSkip to conversation

ingenic_nand_drv.c:undefined reference to `jz4780_nemc_assert'

PATCH New Miquel Raynal 1 participant 1 message Jan 21, 2020 Memory technology devices (MTD)

lore
Share & tools
lore

Miquel Raynal

author maintainer
#0 lore raw

PATCH 1/60 ingenic_nand_drv.c:undefined reference to `jz4780_nemc_assert'

Hi Paul, Harvey,

I wanted to enable COMPILE_TEST on the Ingenic NAND driver but I got these errors. Would you mind fixing them so that the driver can be more easily compile-tested please?

Thanks!
Miquèl

Begin forwarded message:

Date: Tue, 21 Jan 2020 03:45:39 +0800
From: kbuild test robot <[email protected]>
To: Miquel Raynal <[email protected]>
Cc: [email protected]
Subject: [miquelraynal:ecc-engine 1/60] ingenic_nand_drv.c:undefined reference to `jz4780_nemc_assert'

tree:   https://github.com/miquelraynal/linux-0day.git ecc-engine
head:   6864d344e2877ab874d2d2d1bee09cb7964342fd
commit: e0845722abfa09460b118fc56bd526c59d71f1f3 [1/60] mtd: rawnand:
ingenic: Allow to compile test the new Ingenic driver config:

arm64-randconfig-a001-20200119 (attached as .config) compiler:
aarch64-linux-gcc (GCC) 7.5.0 reproduce:
wget
https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross
-O ~/bin/make.cross chmod +x ~/bin/make.cross git checkout e0845722abfa09460b118fc56bd526c59d71f1f3 # save the attached .config to linux build tree GCC_VERSION=7.5.0 make.cross ARCH=arm64

If you fix the issue, kindly add following tag

All errors (new ones prefixed by >>):

drivers/mtd/nand/raw/ingenic/ingenic_nand_drv.o: In function `ingenic_nand_cmd_ctrl':

Quoted 1 line
Quoted 1 line

ingenic_nand_drv.c:(.text+0x694): undefined reference to `jz4780_nemc_assert'

ingenic_nand_drv.c:(.text+0x694): relocation truncated to fit:
R_AARCH64_CALL26 against undefined symbol jz4780_nemc_assert' drivers/mtd/nand/raw/ingenic/ingenic_nand_drv.o: In function ingenic_nand_select_chip': ingenic_nand_drv.c:(.text+0x700):
undefined reference to `jz4780_nemc_assert' ingenic_nand_drv.c:(.text+0x700): relocation truncated to fit:
R_AARCH64_CALL26 against undefined symbol jz4780_nemc_assert' drivers/mtd/nand/raw/ingenic/ingenic_nand_drv.o: In function ingenic_nand_probe':

Quoted 1 line
Quoted 1 line

ingenic_nand_drv.c:(.text+0x784): undefined reference to `jz4780_nemc_num_banks'

ingenic_nand_drv.c:(.text+0x784): relocation truncated to fit:
R_AARCH64_CALL26 against undefined symbol `jz4780_nemc_num_banks'

Quoted 1 line
Quoted 1 line

ingenic_nand_drv.c:(.text+0x948): undefined reference to `jz4780_nemc_set_type'

ingenic_nand_drv.c:(.text+0x948): relocation truncated to fit:
R_AARCH64_CALL26 against undefined symbol `jz4780_nemc_set_type'

---
0-DAY kernel test infrastructure Open Source Technology
Center https://lists.01.org/hyperkitty/list/[email protected]
Intel Corporation

______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/