From: kernel test robot <lkp@intel.com>
To: Jianqun Xu <jay.xu@rock-chips.com>
Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org,
Linus Walleij <linus.walleij@linaro.org>
Subject: gpio-rockchip.c:undefined reference to `irq_gc_mask_set_bit'
Date: Tue, 16 Nov 2021 10:22:15 +0800 [thread overview]
Message-ID: <202111161012.Yfel3F0o-lkp@intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 4497 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 8ab774587903771821b59471cc723bba6d893942
commit: 936ee2675eee1faca0dcdfa79165c7990422e0fc gpio/rockchip: add driver for rockchip gpio
date: 3 months ago
config: arm64-randconfig-r023-20211019 (attached as .config)
compiler: aarch64-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/torvalds/linux.git/commit/?id=936ee2675eee1faca0dcdfa79165c7990422e0fc
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout 936ee2675eee1faca0dcdfa79165c7990422e0fc
# save the attached .config to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=arm64 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 >>):
aarch64-linux-ld: Unexpected GOT/PLT entries detected!
aarch64-linux-ld: Unexpected run-time procedure linkages detected!
aarch64-linux-ld: drivers/gpio/gpio-rockchip.o: in function `rockchip_irq_disable':
>> gpio-rockchip.c:(.text+0x454): undefined reference to `irq_gc_mask_set_bit'
aarch64-linux-ld: drivers/gpio/gpio-rockchip.o: in function `rockchip_irq_enable':
>> gpio-rockchip.c:(.text+0x478): undefined reference to `irq_gc_mask_clr_bit'
aarch64-linux-ld: drivers/gpio/gpio-rockchip.o: in function `rockchip_interrupts_register':
>> gpio-rockchip.c:(.text+0x518): undefined reference to `irq_generic_chip_ops'
aarch64-linux-ld: drivers/gpio/gpio-rockchip.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `irq_generic_chip_ops' which may bind externally can not be used when making a shared object; recompile with -fPIC
gpio-rockchip.c:(.text+0x518): dangerous relocation: unsupported relocation
>> aarch64-linux-ld: gpio-rockchip.c:(.text+0x528): undefined reference to `irq_generic_chip_ops'
>> aarch64-linux-ld: gpio-rockchip.c:(.text+0x594): undefined reference to `__irq_alloc_domain_generic_chips'
>> aarch64-linux-ld: gpio-rockchip.c:(.text+0x5cc): undefined reference to `irq_get_domain_generic_chip'
>> aarch64-linux-ld: gpio-rockchip.c:(.text+0x5e0): undefined reference to `irq_gc_ack_set_bit'
aarch64-linux-ld: drivers/gpio/gpio-rockchip.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `irq_gc_ack_set_bit' which may bind externally can not be used when making a shared object; recompile with -fPIC
gpio-rockchip.c:(.text+0x5e0): dangerous relocation: unsupported relocation
>> aarch64-linux-ld: gpio-rockchip.c:(.text+0x5e4): undefined reference to `irq_gc_mask_set_bit'
aarch64-linux-ld: drivers/gpio/gpio-rockchip.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `irq_gc_mask_set_bit' which may bind externally can not be used when making a shared object; recompile with -fPIC
gpio-rockchip.c:(.text+0x5e4): dangerous relocation: unsupported relocation
aarch64-linux-ld: gpio-rockchip.c:(.text+0x5e8): undefined reference to `irq_gc_ack_set_bit'
aarch64-linux-ld: gpio-rockchip.c:(.text+0x5ec): undefined reference to `irq_gc_mask_set_bit'
>> aarch64-linux-ld: gpio-rockchip.c:(.text+0x5f0): undefined reference to `irq_gc_mask_clr_bit'
aarch64-linux-ld: drivers/gpio/gpio-rockchip.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `irq_gc_mask_clr_bit' which may bind externally can not be used when making a shared object; recompile with -fPIC
gpio-rockchip.c:(.text+0x5f0): dangerous relocation: unsupported relocation
aarch64-linux-ld: gpio-rockchip.c:(.text+0x5f8): undefined reference to `irq_gc_mask_clr_bit'
>> aarch64-linux-ld: gpio-rockchip.c:(.text+0x604): undefined reference to `irq_gc_set_wake'
aarch64-linux-ld: drivers/gpio/gpio-rockchip.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `irq_gc_set_wake' which may bind externally can not be used when making a shared object; recompile with -fPIC
gpio-rockchip.c:(.text+0x604): dangerous relocation: unsupported relocation
aarch64-linux-ld: gpio-rockchip.c:(.text+0x60c): undefined reference to `irq_gc_set_wake'
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 39486 bytes --]
reply other threads:[~2021-11-16 2:28 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=202111161012.Yfel3F0o-lkp@intel.com \
--to=lkp@intel.com \
--cc=jay.xu@rock-chips.com \
--cc=kbuild-all@lists.01.org \
--cc=linus.walleij@linaro.org \
--cc=linux-kernel@vger.kernel.org \
/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®