screen_info_pci.c:undefined reference to `screen_info'
kernel test robot
build bottree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 8630c59e99363c4b655788fd01134aef9bcd9264 commit: 96959283a58d91ae20d025546f00e16f0a555208 Drivers: hv: Always select CONFIG_SYSFB for Hyper-V guests date: 2 weeks ago config: arm64-randconfig-r113-20250607 (https://download.01.org/0day-ci/archive/20250608/[email protected]/config) compiler: aarch64-linux-gcc (GCC) 8.5.0 reproduce: (https://download.01.org/0day-ci/archive/20250608/[email protected]/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <[email protected]>
| Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/
All errors (new ones prefixed by >>):
aarch64-linux-ld: aarch64-linux-ld: DWARF error: could not find abbrev number 50 drivers/video/screen_info_pci.o: in function `screen_info_fixup_lfb':
>> screen_info_pci.c:(.text+0x1b4): undefined reference to `screen_info' aarch64-linux-ld: drivers/video/screen_info_pci.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `screen_info' which may bind externally can not be used when making a shared object; recompile with -fPIC >> screen_info_pci.c:(.text+0x1b4): dangerous relocation: unsupported relocation >> aarch64-linux-ld: screen_info_pci.c:(.text+0x1b8): undefined reference to `screen_info' aarch64-linux-ld: screen_info_pci.c:(.text+0x1bc): undefined reference to `screen_info' aarch64-linux-ld: drivers/video/screen_info_pci.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `screen_info' which may bind externally can not be used when making a shared object; recompile with -fPIC screen_info_pci.c:(.text+0x1bc): dangerous relocation: unsupported relocation aarch64-linux-ld: screen_info_pci.c:(.text+0x1c0): undefined reference to `screen_info' aarch64-linux-ld: screen_info_pci.c:(.text+0x248): undefined reference to `screen_info' aarch64-linux-ld: drivers/video/screen_info_pci.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `screen_info' which may bind externally can not be used when making a shared object; recompile with -fPIC screen_info_pci.c:(.text+0x248): dangerous relocation: unsupported relocation aarch64-linux-ld: drivers/video/screen_info_pci.o:screen_info_pci.c:(.text+0x24c): more undefined references to `screen_info' follow aarch64-linux-ld: drivers/video/screen_info_pci.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `screen_info' which may bind externally can not be used when making a shared object; recompile with -fPIC drivers/video/screen_info_pci.o: in function `screen_info_fixup_lfb': screen_info_pci.c:(.text+0x25c): dangerous relocation: unsupported relocation aarch64-linux-ld: drivers/video/screen_info_pci.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `screen_info' which may bind externally can not be used when making a shared object; recompile with -fPIC drivers/video/screen_info_pci.o: in function `screen_info_apply_fixups': screen_info_pci.c:(.text+0x3e8): dangerous relocation: unsupported relocation aarch64-linux-ld: drivers/video/screen_info_pci.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `screen_info' which may bind externally can not be used when making a shared object; recompile with -fPIC screen_info_pci.c:(.text+0x3f0): dangerous relocation: unsupported relocation aarch64-linux-ld: drivers/video/screen_info_pci.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `screen_info' which may bind externally can not be used when making a shared object; recompile with -fPIC screen_info_pci.c:(.text+0x404): dangerous relocation: unsupported relocation aarch64-linux-ld: drivers/video/screen_info_pci.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `screen_info' which may bind externally can not be used when making a shared object; recompile with -fPIC screen_info_pci.c:(.text+0x498): dangerous relocation: unsupported relocation aarch64-linux-ld: drivers/video/screen_info_pci.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `screen_info' which may bind externally can not be used when making a shared object; recompile with -fPIC screen_info_pci.c:(.text+0x4ac): dangerous relocation: unsupported relocation aarch64-linux-ld: drivers/video/screen_info_pci.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `screen_info' which may bind externally can not be used when making a shared object; recompile with -fPIC screen_info_pci.c:(.text+0x4c0): dangerous relocation: unsupported relocation aarch64-linux-ld: drivers/video/screen_info_pci.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `screen_info' which may bind externally can not be used when making a shared object; recompile with -fPIC screen_info_pci.c:(.text+0x4cc): dangerous relocation: unsupported relocation aarch64-linux-ld: drivers/video/screen_info_pci.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `screen_info' which may bind externally can not be used when making a shared object; recompile with -fPIC screen_info_pci.c:(.text+0x520): dangerous relocation: unsupported relocation aarch64-linux-ld: drivers/video/screen_info_pci.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `screen_info' which may bind externally can not be used when making a shared object; recompile with -fPIC screen_info_pci.c:(.text+0x538): dangerous relocation: unsupported relocation aarch64-linux-ld: drivers/video/screen_info_pci.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `screen_info' which may bind externally can not be used when making a shared object; recompile with -fPIC screen_info_pci.c:(.text+0x54c): dangerous relocation: unsupported relocation aarch64-linux-ld: drivers/firmware/sysfb.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `screen_info' which may bind externally can not be used when making a shared object; recompile with -fPIC aarch64-linux-ld: DWARF error: could not find abbrev number 4733 drivers/firmware/sysfb.o: in function `sysfb_parent_dev.constprop.3': >> sysfb.c:(.text+0x60): dangerous relocation: unsupported relocation aarch64-linux-ld: drivers/firmware/sysfb.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `screen_info' which may bind externally can not be used when making a shared object; recompile with -fPIC drivers/firmware/sysfb.o: in function `sysfb_handles_screen_info': sysfb.c:(.text+0x170): dangerous relocation: unsupported relocation aarch64-linux-ld: drivers/firmware/sysfb.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `screen_info' which may bind externally can not be used when making a shared object; recompile with -fPIC sysfb.c:(.text+0x180): dangerous relocation: unsupported relocation aarch64-linux-ld: drivers/firmware/sysfb.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `screen_info' which may bind externally can not be used when making a shared object; recompile with -fPIC sysfb.c:(.text+0x20c): dangerous relocation: unsupported relocation aarch64-linux-ld: drivers/firmware/sysfb.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `screen_info' which may bind externally can not be used when making a shared object; recompile with -fPIC sysfb.c:(.text+0x224): dangerous relocation: unsupported relocation aarch64-linux-ld: drivers/firmware/sysfb.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `screen_info' which may bind externally can not be used when making a shared object; recompile with -fPIC sysfb.c:(.text+0x238): dangerous relocation: unsupported relocation aarch64-linux-ld: drivers/firmware/sysfb.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `screen_info' which may bind externally can not be used when making a shared object; recompile with -fPIC sysfb.c:(.text+0x248): dangerous relocation: unsupported relocation aarch64-linux-ld: drivers/firmware/sysfb.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `screen_info' which may bind externally can not be used when making a shared object; recompile with -fPIC drivers/firmware/sysfb.o: in function `sysfb_init': >> sysfb.c:(.init.text+0x50): dangerous relocation: unsupported relocation
aarch64-linux-ld: drivers/firmware/sysfb.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `screen_info' which may bind externally can not be used when making a shared object; recompile with -fPIC sysfb.c:(.init.text+0x58): dangerous relocation: unsupported relocation
Signature · 2 lines
0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki