mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Thomas Gleixner <tglx@linutronix.de>
To: Fengguang Wu <fengguang.wu@intel.com>
Cc: tipbuild@zytor.com,
	Vikas Shivappa <vikas.shivappa@linux.intel.com>,
	kbuild-all@01.org, LKML <linux-kernel@vger.kernel.org>,
	"H. Peter Anvin" <hpa@zytor.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
Date: Mon, 17 Apr 2017 10:11:30 +0200 (CEST)	[thread overview]
Message-ID: <alpine.DEB.2.20.1704170941430.2327@nanos> (raw)
In-Reply-To: <20170417020050.chexrahs3xmayaft@wfg-t540p.sh.intel.com>

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

      reply	other threads:[~2017-04-17  8:11 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-04-14 21:12 kbuild test robot
2017-04-15  5:40 ` Thomas Gleixner
2017-04-17  2:00   ` [kbuild-all] " Fengguang Wu
2017-04-17  8:11     ` Thomas Gleixner [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=alpine.DEB.2.20.1704170941430.2327@nanos \
    --to=tglx@linutronix.de \
    --cc=fengguang.wu@intel.com \
    --cc=hpa@zytor.com \
    --cc=kbuild-all@01.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=tipbuild@zytor.com \
    --cc=vikas.shivappa@linux.intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®