Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1624595
| From | Thomas Gleixner <tglx@linutronix.de> |
|---|---|
| Newsgroups | linux.kernel |
| 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 | 2017-04-17 10:20 +0200 |
| Message-ID | <txa37-6NZ-7@gated-at.bofh.it> (permalink) |
| References | <twgNj-6dk-1@gated-at.bofh.it> <twoKS-2J8-5@gated-at.bofh.it> <tx4h4-31r-5@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
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
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[tip:x86/cpu 8/12] arch/x86/kernel/cpu/intel_rdt.c:63: error: unknown field 'cache' specified in initializer kbuild test robot <fengguang.wu@intel.com> - 2017-04-14 23:20 +0200
Re: [tip:x86/cpu 8/12] arch/x86/kernel/cpu/intel_rdt.c:63: error: unknown field 'cache' specified in initializer Thomas Gleixner <tglx@linutronix.de> - 2017-04-15 07:50 +0200
Re: [kbuild-all] [tip:x86/cpu 8/12] arch/x86/kernel/cpu/intel_rdt.c:63: error: unknown field 'cache' specified in initializer Fengguang Wu <fengguang.wu@intel.com> - 2017-04-17 04:10 +0200
Re: [kbuild-all] [tip:x86/cpu 8/12] arch/x86/kernel/cpu/intel_rdt.c:63: error: unknown field 'cache' specified in initializer Thomas Gleixner <tglx@linutronix.de> - 2017-04-17 10:20 +0200
csiph-web