2024-03-22 01:01:00

by Nick Bowler

[permalink] [raw]
Subject: PROBLEM: Linux 6.8 build failure in sun ffb driver (regression)

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


Attachments:
config-6.8.gz (13.49 kB)

2024-03-22 08:22:57

by Thomas Zimmermann

[permalink] [raw]
Subject: Re: PROBLEM: Linux 6.8 build failure in sun ffb driver (regression)

Hi

Am 22.03.24 um 03:18 schrieb Nick Bowler:
> 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

>
> On 2024-03-21 21:00, Nick Bowler wrote:
>> 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

--
--
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)


2024-03-22 05:03:05

by Nick Bowler

[permalink] [raw]
Subject: Re: PROBLEM: Linux 6.8 build failure in sun ffb driver (regression)

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.

On 2024-03-21 21:00, Nick Bowler wrote:
> 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