2024-03-26 07:51:15

by Geert Uytterhoeven

[permalink] [raw]
Subject: Re: Build regressions/improvements in v6.9-rc1

On Mon, 25 Mar 2024, Geert Uytterhoeven wrote:
> Below is the list of build error/warning regressions/improvements in
> v6.9-rc1[1] compared to v6.8[2].
>
> Summarized:
> - build errors: +8/-8

+ /kisskb/src/crypto/scompress.c: error: unused variable 'dst_page' [-Werror=unused-variable]: => 174:38

xtensa-gcc13/xtensa-allmodconfig

+ /kisskb/src/drivers/gpu/drm/msm/adreno/adreno_gen7_0_0_snapshot.h: error: 'gen7_0_0_external_core_regs' defined but not used [-Werror=unused-variable]: => 924:19
+ /kisskb/src/drivers/gpu/drm/msm/adreno/adreno_gen7_2_0_snapshot.h: error: 'gen7_2_0_external_core_regs' defined but not used [-Werror=unused-variable]: => 748:19

arm64-gcc5/arm64-allmodconfig
powerpc-gcc5/powerpc-allmodconfig
powerpc-gcc5/powerpc-allyesconfig
powerpc-gcc5/ppc32_allmodconfig
powerpc-gcc5/ppc64_book3e_allmodconfig
powerpc-gcc5/ppc64le_allmodconfig
sparc64-gcc5/sparc64-allmodconfig

+ /kisskb/src/drivers/gpu/drm/xe/xe_lrc.c: error: "END" redefined [-Werror]: => 100

mips-gcc8/mips-allmodconfig
mips-gcc13/mips-allmodconfig

+ error: arch/sparc/kernel/process_32.o: relocation truncated to fit: R_SPARC_WDISP22 against `.text': => (.fixup+0xc), (.fixup+0x4)
+ error: arch/sparc/kernel/signal_32.o: relocation truncated to fit: R_SPARC_WDISP22 against `.text': => (.fixup+0x18), (.fixup+0x8), (.fixup+0x0), (.fixup+0x20), (.fixup+0x10)
+ error: relocation truncated to fit: R_SPARC_WDISP22 against `.init.text': => (.head.text+0x5100), (.head.text+0x5040)
+ error: relocation truncated to fit: R_SPARC_WDISP22 against symbol `leon_smp_cpu_startup' defined in .text section in arch/sparc/kernel/trampoline_32.o: => (.init.text+0xa4)

sparc64-gcc13/sparc-allmodconfig

> [1] http://kisskb.ellerman.id.au/kisskb/branch/linus/head/4cece764965020c22cff7665b18a012006359095/ (all 138 configs)
> [2] http://kisskb.ellerman.id.au/kisskb/branch/linus/head/e8f897f4afef0031fe618a8e94127a0934896aba/ (all 138 configs)

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds


2024-03-26 15:55:29

by Lucas De Marchi

[permalink] [raw]
Subject: Re: Build regressions/improvements in v6.9-rc1

On Tue, Mar 26, 2024 at 08:50:49AM +0100, Geert Uytterhoeven wrote:
> + /kisskb/src/drivers/gpu/drm/xe/xe_lrc.c: error: "END" redefined [-Werror]: => 100

fix is in the drm-xe-fixes queued for this week.
https://gitlab.freedesktop.org/drm/xe/kernel/-/commit/0d8cf0c924732a045273c6aca6900a340ac88529

Lucas De Marchi

2024-03-26 18:16:19

by Sam Ravnborg

[permalink] [raw]
Subject: Re: Build regressions/improvements in v6.9-rc1

Hi all.

> + error: arch/sparc/kernel/process_32.o: relocation truncated to fit: R_SPARC_WDISP22 against `.text': => (.fixup+0xc), (.fixup+0x4)
> + error: arch/sparc/kernel/signal_32.o: relocation truncated to fit: R_SPARC_WDISP22 against `.text': => (.fixup+0x18), (.fixup+0x8), (.fixup+0x0), (.fixup+0x20), (.fixup+0x10)
> + error: relocation truncated to fit: R_SPARC_WDISP22 against `.init.text': => (.head.text+0x5100), (.head.text+0x5040)
> + error: relocation truncated to fit: R_SPARC_WDISP22 against symbol `leon_smp_cpu_startup' defined in .text section in arch/sparc/kernel/trampoline_32.o: => (.init.text+0xa4)

Looks like something is too big for the available space here.
Any hints how to dig into this would be nice.

Note: this is a sparc32 allmodconfig build

Sam

2024-04-12 17:44:08

by Andreas Larsson

[permalink] [raw]
Subject: Re: Build regressions/improvements in v6.9-rc1

On 2024-03-26 19:15, Sam Ravnborg wrote:
> Hi all.
>
>> + error: arch/sparc/kernel/process_32.o: relocation truncated to fit: R_SPARC_WDISP22 against `.text': => (.fixup+0xc), (.fixup+0x4)
>> + error: arch/sparc/kernel/signal_32.o: relocation truncated to fit: R_SPARC_WDISP22 against `.text': => (.fixup+0x18), (.fixup+0x8), (.fixup+0x0), (.fixup+0x20), (.fixup+0x10)
>> + error: relocation truncated to fit: R_SPARC_WDISP22 against `.init.text': => (.head.text+0x5100), (.head.text+0x5040)
>> + error: relocation truncated to fit: R_SPARC_WDISP22 against symbol `leon_smp_cpu_startup' defined in .text section in arch/sparc/kernel/trampoline_32.o: => (.init.text+0xa4)
>
> Looks like something is too big for the available space here.
> Any hints how to dig into this would be nice.
>
> Note: this is a sparc32 allmodconfig build

I have a patch for this. I'll clean it up and send it next week.

Cheers,
Andreas