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] [day] [month] [year] [list]
Message-ID: <alpine.LFD.2.21.2012060706380.656242@eddie.linux-mips.org>
Date:   Sun, 6 Dec 2020 07:10:22 +0000 (GMT)
From:   "Maciej W. Rozycki" <macro@...ux-mips.org>
To:     Naresh Kamboju <naresh.kamboju@...aro.org>
cc:     linux-mips@...r.kernel.org,
        open list <linux-kernel@...r.kernel.org>,
        tsbogend@...ha.franken.de, xie.he.0141@...il.com
Subject: Re: MIPS + clang-11 + allnoconfig / tinyconfig builds failed

On Wed, 25 Nov 2020, Naresh Kamboju wrote:

> /builds/1kl9SVppm6wRdzlQ3UcQKIBaUrx/arch/mips/lib/uncached.c:45:6:
> warning: variable 'sp' is uninitialized when used here
> [-Wuninitialized]
>         if (sp >= (long)CKSEG0 && sp < (long)CKSEG2)
>             ^~
> /builds/1kl9SVppm6wRdzlQ3UcQKIBaUrx/arch/mips/lib/uncached.c:40:18:
> note: initialize the variable 'sp' to silence this warning
>         register long sp __asm__("$sp");
>                         ^
>                          = 0

 FWIW this looks like a compiler bug to me, because $sp, by definition, is 
always initialised.  I suggest that you report it to Clang developers 
instead.

  Maciej

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ