linux-next: build failure due to the drm tree
Mark Brown
maintainerHi all,
Today's -next fails to build an arm64 allnoconfig:
aarch64-none-linux-gnu-ld: drivers/firmware/sysfb.o: in function `sysfb_init':
sysfb.c:(.init.text+0xc): undefined reference to `screen_info'
aarch64-none-linux-gnu-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+0xc): dangerous relocation: unsupported relocation
aarch64-none-linux-gnu-ld: sysfb.c:(.init.text+0x10): undefined reference to `screen_info'
make[1]: *** [/tmp/next/build/Makefile:1276: vmlinux] Error 1
Caused by
d391c58271072d0b0f ("drivers/firmware: move x86 Generic System Framebuffers support")
or one of the related commits.
Hello Mark,
Quoted 11 lines · Mark Brown
Hi all,
Today's -next fails to build an arm64 allnoconfig:
aarch64-none-linux-gnu-ld:
drivers/firmware/sysfb.o: in function `sysfb_init':
sysfb.c:(.init.text+0xc): undefined reference to `screen_info'
aarch64-none-linux-gnu-ld:drivers/firmware/sysfb.o: relocationR_AARCH64_ADR_PREL_PG_HI21against symbol `screen_info' which may bind externally can not be used when making a shared object; recompile with -fPIC sysfb.c:(.init.text+0xc): dangerous relocation: unsupported relocation
aarch64-none-linux-gnu-ld: sysfb.c:(.init.text+0x10): undefined reference to `screen_info'
make[1]: *** [/tmp/next/build/Makefile:1276: vmlinux] Error 1
Quoted 4 lines
Caused by
d391c58271072d0b0f("drivers/firmware: move x86 Generic System Framebuffers support")
Yes, this was already reported by the kernel test robot and posted a fix a few days ago: https://lore.kernel.org/patchwork/patch/1465623/
Best regards,
Signature · 3 lines
Javier Martinez Canillas Linux Engineering Red Hat