Re: Build regressions/improvements in v5.4-rc1

From: Paul Burton
Date: Wed Oct 02 2019 - 13:51:46 EST


Hi Geert,

On Wed, Oct 02, 2019 at 11:17:26AM +0200, Geert Uytterhoeven wrote:
> > 15 error regressions:
> > + /kisskb/build/tmp/cc1Or5dj.s: Error: can't resolve `_start' {*UND* section} - `L0 ' {.text section}: => 663, 1200, 222, 873, 1420
> > + /kisskb/build/tmp/cc2uWmof.s: Error: can't resolve `_start' {*UND* section} - `L0 ' {.text section}: => 1213, 919, 688, 1434, 226
> > + /kisskb/build/tmp/ccc6hBqd.s: Error: can't resolve `_start' {*UND* section} - `L0 ' {.text section}: => 513, 1279, 1058, 727
> > + /kisskb/build/tmp/cclSQ19p.s: Error: can't resolve `_start' {*UND* section} - `L0 ' {.text section}: => 1396, 881, 1175, 671, 226
> > + /kisskb/build/tmp/ccu3SlxY.s: Error: can't resolve `_start' {*UND* section} - `L0 ' {.text section}: => 1238, 911, 222, 680, 1457
>
> Various mips (allmodconfig, allnoconfig, malta_defconfig, ip22_defconfig)
>
> Related to
>
> /kisskb/src/arch/mips/vdso/Makefile:61: MIPS VDSO requires binutils >= 2.25
>
> ?

Hmm, this looks like fallout from the conversion to the generic VDSO
infrastructure. This patch resolves it:

https://lore.kernel.org/linux-mips/20191002174438.127127-2-paul.burton@xxxxxxxx/

> > + /kisskb/src/arch/mips/include/asm/octeon/cvmx-ipd.h: error: 'CVMX_PIP_SFT_RST' undeclared (first use in this function): => 331:36
> > + /kisskb/src/arch/mips/include/asm/octeon/cvmx-ipd.h: error: 'CVMX_PIP_SFT_RST' undeclared (first use in this function); did you mean 'CVMX_CIU_SOFT_RST'?: => 331:36
> > + /kisskb/src/arch/mips/include/asm/octeon/cvmx-ipd.h: error: storage size of 'pip_sft_rst' isn't known: => 330:27
>
> mips-allmodconfig (CC Matthew Wilcox)

That one's triggered by a change in the ordering of some include
directives in the drivers/staging/octeon code, and fixed by commit
0228ecf6128c ("MIPS: octeon: Include required header; fix octeon
ethernet build") in mips-next.

Thanks,
Paul