[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <e9286016-66ae-9505-ea52-834527cdae27@infradead.org>
Date: Wed, 25 Mar 2020 08:30:00 -0700
From: Randy Dunlap <rdunlap@...radead.org>
To: Stephen Rothwell <sfr@...b.auug.org.au>,
Linux Next Mailing List <linux-next@...r.kernel.org>
Cc: Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
KVM <kvm@...r.kernel.org>, Paolo Bonzini <pbonzini@...hat.com>,
Sean Christopherson <sean.j.christopherson@...el.com>,
Vitaly Kuznetsov <vkuznets@...hat.com>,
Wanpeng Li <wanpengli@...cent.com>,
Jim Mattson <jmattson@...gle.com>,
Joerg Roedel <joro@...tes.org>
Subject: Re: linux-next: Tree for Mar 25 (arch/x86/kvm/)
On 3/25/20 1:53 AM, Stephen Rothwell wrote:
> Hi all,
>
> Changes since 20200324:
>
on i386 randconfig build:
and gcc 7.5.0:
24 (only showing one of them here) BUILD_BUG() errors in arch/x86/kvm/cpuid.h
function __cpuid_entry_get_reg(), for the default: case.
CC arch/x86/kvm/cpuid.o
In file included from ../include/linux/export.h:43:0,
from ../include/linux/linkage.h:7,
from ../include/linux/preempt.h:10,
from ../include/linux/hardirq.h:5,
from ../include/linux/kvm_host.h:7,
from ../arch/x86/kvm/cpuid.c:12:
In function ‘__cpuid_entry_get_reg’,
inlined from ‘kvm_cpu_cap_mask’ at ../arch/x86/kvm/cpuid.c:272:25,
inlined from ‘kvm_set_cpu_caps’ at ../arch/x86/kvm/cpuid.c:292:2:
../include/linux/compiler.h:394:38: error: call to ‘__compiletime_assert_114’ declared with attribute error: BUILD_BUG failed
_compiletime_assert(condition, msg, __compiletime_assert_, __LINE__)
^
../include/linux/compiler.h:375:4: note: in definition of macro ‘__compiletime_assert’
prefix ## suffix(); \
^~~~~~
../include/linux/compiler.h:394:2: note: in expansion of macro ‘_compiletime_assert’
_compiletime_assert(condition, msg, __compiletime_assert_, __LINE__)
^~~~~~~~~~~~~~~~~~~
../include/linux/build_bug.h:39:37: note: in expansion of macro ‘compiletime_assert’
#define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg)
^~~~~~~~~~~~~~~~~~
../include/linux/build_bug.h:59:21: note: in expansion of macro ‘BUILD_BUG_ON_MSG’
#define BUILD_BUG() BUILD_BUG_ON_MSG(1, "BUILD_BUG failed")
^~~~~~~~~~~~~~~~
../arch/x86/kvm/cpuid.h:114:3: note: in expansion of macro ‘BUILD_BUG’
BUILD_BUG();
^~~~~~~~~
Full randconfig file is attached.
--
~Randy
Reported-by: Randy Dunlap <rdunlap@...radead.org>
View attachment "config-r1605" of type "text/plain" (118695 bytes)
Powered by blists - more mailing lists