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  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:   Sun, 17 Jul 2022 21:38:17 +0100
From:   Sudip Mukherjee <>
To:     Linus Torvalds <>
Cc:     Michael Ellerman <>,
        Benjamin Herrenschmidt <>,
        Paul Mackerras <>,
        Kees Cook <>,
        linuxppc-dev <>,
        linux-kernel <>,,
        Segher Boessenkool <>
Subject: Re: mainline build failure of powerpc allmodconfig for prom_init_check

On Sun, Jul 17, 2022 at 9:29 PM Linus Torvalds
<> wrote:
> On Sun, Jul 17, 2022 at 1:25 PM Sudip Mukherjee
> <> wrote:
> >
> > And the generated assembly still has the memset for "struct prom_args".
> Strange. That smells like a compiler bug to me.

Both gcc-12 and clang gives this error.

> But I can't read powerpc assembly code - it's been too many years, and
> even back when I did read it I hated how the register "names" worked.
> Maybe it was never the args array, and it was about the other fields.
> Not that that makes any sense either, but it makes more sense than the
> compiler turning a series of volatile accesses into a memset.

I have also tried adding volatile to all the members of that struct.  :(


Powered by blists - more mailing lists