All of lore.kernel.org
 help / color / mirror / Atom feed
* gpio-rockchip.c:undefined reference to `irq_gc_mask_set_bit'
@ 2021-11-16  2:22 ` kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2021-11-16  2:22 UTC (permalink / raw)
  To: Jianqun Xu; +Cc: kbuild-all, linux-kernel, Linus Walleij

[-- 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 --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* gpio-rockchip.c:undefined reference to `irq_gc_mask_set_bit'
@ 2021-11-16  2:22 ` kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2021-11-16  2:22 UTC (permalink / raw)
  To: kbuild-all

[-- Attachment #1: Type: text/plain, Size: 4554 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(a)lists.01.org

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 39486 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-11-16  2:28 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-16  2:22 gpio-rockchip.c:undefined reference to `irq_gc_mask_set_bit' kernel test robot
2021-11-16  2:22 ` kernel test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.