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]
Date:   Mon, 17 Apr 2017 10:11:30 +0200 (CEST)
From:   Thomas Gleixner <tglx@...utronix.de>
To:     Fengguang Wu <fengguang.wu@...el.com>
cc:     tipbuild@...or.com,
        Vikas Shivappa <vikas.shivappa@...ux.intel.com>,
        kbuild-all@...org, LKML <linux-kernel@...r.kernel.org>,
        "H. Peter Anvin" <hpa@...or.com>
Subject: Re: [kbuild-all] [tip:x86/cpu 8/12] arch/x86/kernel/cpu/intel_rdt.c:63:
 error: unknown field 'cache' specified in initializer

On Mon, 17 Apr 2017, Fengguang Wu wrote:
> > So the compiler fails to handle the anon union, which was introduced in
> > 05b93417ce5b924. No idea why, but that concept is not new and widely used
> > in the kernel already.
> 
> It looks like a problem with gcc 4.4:
> 
>        Bug 42875 - gcc disallows named initializers for anonymous unions
>        https://gcc.gnu.org/bugzilla/show_bug.cgi?id=42875
>        https://gcc.gnu.org/bugzilla/show_bug.cgi?id=10676
> 
>        gcc-4.4.3 lets you statically initialize named fields, and
>        lets you assign to anonymous union members, but you cannot
>        statically initialize a named member of an anonymous union.

Bah. I'll fix it up.

Thanks,

	tglx

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ