lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Mon, 13 Jul 2020 11:57:49 +0200
From:   Geert Uytterhoeven <geert@...ux-m68k.org>
To:     Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
        Michael Ellerman <mpe@...erman.id.au>
Cc:     Arnd Bergmann <arnd@...db.de>
Subject: Re: Build regressions/improvements in v5.8-rc5

On Mon, Jul 13, 2020 at 11:51 AM Geert Uytterhoeven
<geert@...ux-m68k.org> wrote:
> JFYI, when comparing v5.8-rc5[1] to v5.8-rc4[3], the summaries are:
>   - build errors: +3/-0

  + /kisskb/src/include/linux/compiler-gcc.h: error: #error Sorry,
your compiler is too old - please upgrade it.:  => 15:3
  + /kisskb/src/include/linux/compiler.h: error: implicit declaration
of function '_Generic' [-Werror=implicit-function-declaration]:  =>
309:2
  + /kisskb/src/include/linux/compiler_types.h: error: expected
expression before 'char':  => 265:5

arcompact/axs101_defconfig, which uses a pre-v4.9 gcc:

    Compiler: arcompact (arc-buildroot-linux-uclibc-gcc (Buildroot
2015.08.1) 4.8.4 / GNU ld (GNU Binutils) 2.23.2)

While at it, you may also want to upgrade

    Compiler: arcv2 (arc-linux-gcc.br_real (Buildroot
2016.11-git-00613-ge98b4dd) 6.2.1 20160824 / GNU ld (GNU Binutils)
2.27.51.20160928)

as it has a buggy definition of size_t, and causes bogus warnings like:

>   + /kisskb/src/drivers/gpu/drm/drm_managed.c: warning: format '%zu' expects argument of type 'size_t', but argument 4 has type 'unsigned int' [-Wformat=]:  => 205:23
>   + /kisskb/src/drivers/gpu/drm/drm_managed.c: warning: format '%zu' expects argument of type 'size_t', but argument 6 has type 'unsigned int' [-Wformat=]:  => 67:23
>   + /kisskb/src/include/linux/kern_levels.h: warning: format '%zd' expects argument of type 'signed size_t', but argument 2 has type 'ssize_t {aka int}' [-Wformat=]:  => 5:18
>   + /kisskb/src/kernel/dma/pool.c: warning: format '%zu' expects argument of type 'size_t', but argument 5 has type 'unsigned int' [-Wformat=]:  => 249:16

Gr{oetje,eeting}s,

                        Geert

-- 
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@...ux-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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ