Skip to contentSkip to conversation

PROBLEM: Linux 6.8 build failure in sun ffb driver (regression)

DISCUSSION Nick Bowler 2 participants 3 messages Mar 22, 2024 Regressions

lore
Share & tools
lore
#0 lore raw

Hi,

Linux 6.8 (and 6.8.1) are failing to build for me:

LD .tmp_vmlinux.kallsyms1
sparc64-unknown-linux-gnu-ld: drivers/video/fbdev/ffb.o:(.rodata+0x270): undefined reference to fb_io_read' sparc64-unknown-linux-gnu-ld: drivers/video/fbdev/ffb.o:(.rodata+0x278): undefined reference to fb_io_write' make[3]: *** [/home/nbowler/misc/linux/scripts/Makefile.vmlinux:37: vmlinux] Error 1

This problem does not occur when building Linux 6.7 which builds successfully.

Kernel .config attached (gzipped).

Please let me know if you need any more info.

Thanks,
Nick

#1 lore raw

I bisected this build failure to the following commit:

commit 8813e86f6d82a7931446c3cbc5d596f77d0f1ba6
Author: Thomas Zimmermann <[email protected]>
Date: Mon Nov 27 14:16:01 2023 +0100

fbdev: Remove default file-I/O implementations

If I revert this commit on top of 6.8, the build is successful.

Quoted 17 lines · Nick Bowler

Hi,

Linux 6.8 (and 6.8.1) are failing to build for me:

LD .tmp_vmlinux.kallsyms1
sparc64-unknown-linux-gnu-ld: drivers/video/fbdev/ffb.o:(.rodata+0x270): undefined reference to fb_io_read' sparc64-unknown-linux-gnu-ld: drivers/video/fbdev/ffb.o:(.rodata+0x278): undefined reference to fb_io_write' make[3]: *** [/home/nbowler/misc/linux/scripts/Makefile.vmlinux:37: vmlinux] Error 1

This problem does not occur when building Linux 6.7 which builds successfully.

Kernel .config attached (gzipped).

Please let me know if you need any more info.

Thanks,
Nick

#2 lore raw

Hi

Am 22.03.24 um 03:18 schrieb Nick Bowler:

Quoted 9 lines

I bisected this build failure to the following commit:

commit 8813e86f6d82a7931446c3cbc5d596f77d0f1ba6
Author: Thomas Zimmermann <[email protected]>
Date: Mon Nov 27 14:16:01 2023 +0100

fbdev: Remove default file-I/O implementations

If I revert this commit on top of 6.8, the build is successful.

Thanks for reporting. It looks like a trivial Kconfig problem. I'll send a patch.

Best regards
Thomas

Quoted 19 lines · Nick Bowler
Quoted 17 lines

Hi,

Linux 6.8 (and 6.8.1) are failing to build for me:

LD .tmp_vmlinux.kallsyms1
sparc64-unknown-linux-gnu-ld: drivers/video/fbdev/ffb.o:(.rodata+0x270): undefined reference to fb_io_read' sparc64-unknown-linux-gnu-ld: drivers/video/fbdev/ffb.o:(.rodata+0x278): undefined reference to fb_io_write' make[3]: *** [/home/nbowler/misc/linux/scripts/Makefile.vmlinux:37: vmlinux] Error 1

This problem does not occur when building Linux 6.7 which builds successfully.

Kernel .config attached (gzipped).

Please let me know if you need any more info.

Thanks,
Nick

Signature · 7 lines
--
Thomas Zimmermann
Graphics Driver Developer
SUSE Software Solutions Germany GmbH
Frankenstrasse 146, 90461 Nuernberg, Germany
GF: Ivo Totev, Andrew Myers, Andrew McDonald, Boudien Moerman
HRB 36809 (AG Nuernberg)