From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-10.9 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 10735C48BE6 for ; Mon, 14 Jun 2021 09:46:54 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id D902E61153 for ; Mon, 14 Jun 2021 09:46:53 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232630AbhFNJsz (ORCPT ); Mon, 14 Jun 2021 05:48:55 -0400 Received: from mail.kernel.org ([198.145.29.99]:57976 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232579AbhFNJsz (ORCPT ); Mon, 14 Jun 2021 05:48:55 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 5115161283; Mon, 14 Jun 2021 09:46:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1623664012; bh=9Hwu8lwWp6fRAr29cKihuE1KDsirnZAVhrwlrErp/kQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=XaD1uX3agtuD128/ECOk0XqXuO0Y73g+r2ckrB7p82NTyT0iB3fKK3y9qIIDkt3Fv lq5jjuYscT5ZPAUnP372t5bfvpDPsUEY6B6CMcrATTS2nSMURuZ5XRHJN5rEcjagrz RL4XNuMm5AEDwej2/f3jtD3wpalSW4gcex8CkKVk= Date: Mon, 14 Jun 2021 11:46:50 +0200 From: Greg Kroah-Hartman To: Naresh Kamboju Cc: Paolo Bonzini , Sasha Levin , linux-stable , lkft-triage@lists.linaro.org Subject: Re: compiler.h:417:38: error: call to '__compiletime_assert_59' declared with attribute error: BUILD_BUG_ON failed: sizeof(_i) > sizeof(long) Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: stable@vger.kernel.org On Mon, Jun 14, 2021 at 03:09:47PM +0530, Naresh Kamboju wrote: > On Mon, 14 Jun 2021 at 14:10, Greg Kroah-Hartman > wrote: > > > > On Mon, Jun 14, 2021 at 10:36:14AM +0200, Greg Kroah-Hartman wrote: > > > On Mon, Jun 14, 2021 at 11:54:40AM +0530, Naresh Kamboju wrote: > > > > On Mon, 14 Jun 2021 at 10:48, Greg Kroah-Hartman > > > > wrote: > > > > > > > > > > On Mon, Jun 14, 2021 at 10:24:23AM +0530, Naresh Kamboju wrote: > > > > > > On Sun, 13 Jun 2021 at 20:35, Greg Kroah-Hartman > > > > > > wrote: > > > > > > > > > > > > > > On Sun, Jun 13, 2021 at 08:25:19PM +0530, Naresh Kamboju wrote: > > > > > > > > The following error was noticed on stable-rc 5.12, 5.10, 5.4, 4.19, > > > > > > > > 4.14, 4.9 and 4.4 > > > > > > > > for i386 and arm. > > > > > > > > > > > > > > > > make --silent --keep-going --jobs=8 > > > > > > > > O=/home/tuxbuild/.cache/tuxmake/builds/current ARCH=arm > > > > > > > > CROSS_COMPILE=arm-linux-gnueabihf- 'CC=sccache > > > > > > > > arm-linux-gnueabihf-gcc' 'HOSTCC=sccache gcc' > > > > > > > > In file included from /builds/linux/include/linux/kernel.h:11, > > > > > > > > from /builds/linux/include/linux/list.h:9, > > > > > > > > from /builds/linux/include/linux/preempt.h:11, > > > > > > > > from /builds/linux/include/linux/hardirq.h:5, > > > > > > > > from /builds/linux/include/linux/kvm_host.h:7, > > > > > > > > from > > > > > > > > /builds/linux/arch/arm/kvm/../../../virt/kvm/kvm_main.c:18: > > > > > > > > In function '__gfn_to_hva_memslot', > > > > > > > > inlined from '__gfn_to_hva_many.part.6' at > > > > > > > > /builds/linux/arch/arm/kvm/../../../virt/kvm/kvm_main.c:1446:9, > > > > > > > > inlined from '__gfn_to_hva_many' at > > > > > > > > /builds/linux/arch/arm/kvm/../../../virt/kvm/kvm_main.c:1434:22: > > > > > > > > /builds/linux/include/linux/compiler.h:417:38: error: call to > > > > > > > > '__compiletime_assert_59' declared with attribute error: BUILD_BUG_ON > > > > > > > > failed: sizeof(_i) > sizeof(long) > > > > > > > > _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) > > > > > > > > ^ > > > > > > > > Reported-by: Linux Kernel Functional Testing > > > > > > > > > > > > > > > > ref: > > > > > > > > https://gitlab.com/Linaro/lkft/mirrors/stable/linux-stable-rc/-/jobs/1342604370#L389 > > > > > > > > > > > > > > Odd. Does Linus's tree have this problem? > > > > > > > > > > > > > > The only arm changes was in arch/arm/include/asm/cpuidle.h in the tree > > > > > > > right now. There are some kvm changes, but they are tiny... > > > > > > > > > > > > > > Can you bisect this? > > > > > > > > > > > > The bisect script pointing to, > > > > > > > > > > > > commit 1aa1b47db53e0a66899d63103b3ac1d7f54816bc > > > > > > Author: Paolo Bonzini > > > > > > Date: Tue Jun 8 15:31:42 2021 -0400 > > > > > > kvm: avoid speculation-based attacks from out-of-range memslot accesses > > > > > > > > > > > > commit da27a83fd6cc7780fea190e1f5c19e87019da65c upstream. > > > > > > > > > > Ah, so is Linus's tree also broken the same way? > > > > > > > > No. > > > > Linus's tree builds successfully. > > > > > > Odd. Paolo, did your above commit da27a83fd6cc ("kvm: avoid > > > speculation-based attacks from out-of-range memslot accesses"), require > > > any other changes to get arm32 systems to build properly? > > > > Doh, I need 4422829e8053 ("kvm: fix previous commit for 32-bit builds") > > as well... > > > > Nevermind, will go queue that up right now... > > > The reported build issue is fixed now. Wonderful, thanks for checking and letting me know. greg k-h