linux-mips
[Top] [All Lists]

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

To: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: Build regressions/improvements in v5.0-rc1
From: Geert Uytterhoeven <geert@linux-m68k.org>
Date: Tue, 8 Jan 2019 10:01:22 +0100
Cc: Linux MIPS Mailing List <linux-mips@linux-mips.org>, Masahiro Yamada <yamada.masahiro@socionext.com>
In-reply-to: <20190108084857.26756-1-geert@linux-m68k.org>
List-archive: <http://www.linux-mips.org/archives/linux-mips/>
List-help: <mailto:ecartis@linux-mips.org?Subject=help>
List-id: linux-mips <linux-mips.eddie.linux-mips.org>
List-owner: <mailto:ralf@linux-mips.org>
List-post: <mailto:linux-mips@linux-mips.org>
List-software: Ecartis version 1.0.0
List-subscribe: <mailto:ecartis@linux-mips.org?subject=subscribe%20linux-mips>
List-unsubscribe: <mailto:ecartis@linux-mips.org?subject=unsubscribe%20linux-mips>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <20190108084857.26756-1-geert@linux-m68k.org>
Sender: linux-mips-bounce@linux-mips.org
On Tue, Jan 8, 2019 at 9:49 AM Geert Uytterhoeven <geert@linux-m68k.org> wrote:
> Below is the list of build error/warning regressions/improvements in
> v5.0-rc1[1] compared to v4.20[2].
>
> Summarized:
>   - build errors: +12/-4
>   - build warnings: +405/-350
>
> Happy fixing! ;-)
>
> Thanks to the linux-next team for providing the build service.
>
> [1] 
> http://kisskb.ellerman.id.au/kisskb/branch/linus/head/bfeffd155283772bbe78c6a05dec7c0128ee500c/
>  (all 240 configs)
> [2] 
> http://kisskb.ellerman.id.au/kisskb/branch/linus/head/8fe28cb58bcb235034b64cbbb7550a8a43fd88be/
>  (all 240 configs)
>
>
> *** ERRORS ***
>
> 12 error regressions:
>   + /kisskb/src/arch/mips/generic/init.c: error: -ffunction-sections 
> disabled; it makes profiling impossible [-Werror]:  => 1:0
>   + /kisskb/src/arch/mips/generic/irq.c: error: -ffunction-sections disabled; 
> it makes profiling impossible [-Werror]:  => 1:0
>   + /kisskb/src/arch/mips/kernel/branch.c: error: -ffunction-sections 
> disabled; it makes profiling impossible [-Werror]:  => 1:0
>   + /kisskb/src/arch/mips/kernel/cmpxchg.c: error: -ffunction-sections 
> disabled; it makes profiling impossible [-Werror]:  => 1:0
>   + /kisskb/src/arch/mips/kernel/cpu-probe.c: error: -ffunction-sections 
> disabled; it makes profiling impossible [-Werror]:  => 1:0
>   + /kisskb/src/arch/mips/mm/cache.c: error: -ffunction-sections disabled; it 
> makes profiling impossible [-Werror]:  => 1:0
>   + /kisskb/src/arch/mips/mm/extable.c: error: -ffunction-sections disabled; 
> it makes profiling impossible [-Werror]:  => 1:0
>   + /kisskb/src/arch/mips/mm/fault.c: error: -ffunction-sections disabled; it 
> makes profiling impossible [-Werror]:  => 1:0
>   + /kisskb/src/arch/mips/net/bpf_jit.c: error: -ffunction-sections disabled; 
> it makes profiling impossible [-Werror]:  => 1:0
>   + arch/mips/vdso/vdso-image.c: error: -ffunction-sections disabled; it 
> makes profiling impossible [-Werror]:  => 1:0

mips-allmodconfig

These are even more annoying than on powerpc, as mips enables -Werror for
arch/mips/ :-(
Can this be avoided, e.g. by making LD_DEAD_CODE_DATA_ELIMINATION and
profiling mutually exclusive?

>   + error: arch/sparc/kernel/head_32.o: relocation truncated to fit: 
> R_SPARC_WDISP22 against `.init.text':  => (.head.text+0x5100), 
> (.head.text+0x5040)
>   + error: arch/sparc/kernel/head_32.o: 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)

Same as before, just a different signature.

> 4 error improvements:
>   - /kisskb/src/arch/s390/kernel/nospec-branch.c: error: macro "memcpy" 
> passed 6 arguments, but takes just 3: 130:61 =>
>   - /kisskb/src/sound/pci/hda/patch_ca0132.c: error: implicit declaration of 
> function 'pci_iomap' [-Werror=implicit-function-declaration]: 8800:3 =>
>   - error: arch/sparc/kernel/.tmp_head_32.o: relocation truncated to fit: 
> R_SPARC_WDISP22 against `.init.text': (.head.text+0x5040), 
> (.head.text+0x5100) =>
>   - error: arch/sparc/kernel/.tmp_head_32.o: 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) =>
>
>
> *** WARNINGS ***
>
> [Deleted 490 lines about "warning: -ffunction-sections disabled; it makes 
> profiling impossible [enabled by default]" on 
> {mips,powerpc}-all{mod,yes}config*]

Gr{oetje,eeting}s,

                        Geert

-- 
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

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

<Prev in Thread] Current Thread [Next in Thread>
  • Re: Build regressions/improvements in v5.0-rc1, Geert Uytterhoeven <=