Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp288981pxb; Wed, 11 Nov 2020 03:52:19 -0800 (PST) X-Google-Smtp-Source: ABdhPJyvHYynEx0vbQTX2+dvHL0LdECxYAMY+NO8j3Wex5ynphgSr3sH0HMCLc7/uBoQ8Kp1cRwX X-Received: by 2002:a17:906:17d1:: with SMTP id u17mr23621645eje.229.1605095539193; Wed, 11 Nov 2020 03:52:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605095539; cv=none; d=google.com; s=arc-20160816; b=v2oJDO6dUSGOQwH0KooAwUPFtmO2D5dnfXWxBhwbTze57+0Xax2dhIrk46GGBBamfp 8VbULC5yKoKb9SsjVG8kzgowKlxj+U2A45rpd/k7nSSPkd3I3pzq0q9/AURNOZErezqr bor97b4YyHqiz1wdEaYj/ZSk9YrtjKMTlvsO5OUppTbeL7xZZIBkOSurATTXddKRWsYz WdsHzMeS3vqEHo0oykDj5uML2bzbNJ0d6LuA8hwaAhE9qEhqjpBpag6LlBNqkMZdb7PD sCFzBUaOJmqDHhMNEdraY0XpVQE1DRFUzrMgg0v/KvAEKxgvIOri10r3Zpholqo5ZT6t BKVw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=pGGID2Fde5WEOw3QhpyxyfiVyrSaDB27ldbKZvNvngM=; b=nOkxymi+MizjEiy+x0QY7lc9vXepUJzF9AlPlh6xNcSeI6CNg+O3rnT21Ql2EbZ9rw mEGmx1dOsFvskwaaEUpzcFXylpGNfDg0LOKtsn15wes3fpcDN8SRUq2pJMmeR62GqOhj A/8mJc0XElz8g9bln6F/d1LS+271vNxxJFUpVV2JyFCYvmAFRx8reme6dot8gF6dAjL1 V01dLKe/NI71hjGZmuLObdSL3P/XdjJEAfuGQDKLVBoikKfB06BBQM/uuZgyvX2nk3KP rGt5sSa02+DLncyOO1rHD9YMz71RC1k9Dhp9pP0gpwDg1tcaDf/q2xMueXKyn9UuOk85 tlIQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=zLemUS8t; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y23si1152904eju.563.2020.11.11.03.51.54; Wed, 11 Nov 2020 03:52:19 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=zLemUS8t; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726466AbgKKLuK (ORCPT + 99 others); Wed, 11 Nov 2020 06:50:10 -0500 Received: from mail.kernel.org ([198.145.29.99]:48134 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726465AbgKKLuF (ORCPT ); Wed, 11 Nov 2020 06:50:05 -0500 Received: from mail-oi1-f176.google.com (mail-oi1-f176.google.com [209.85.167.176]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 4B063216C4; Wed, 11 Nov 2020 11:50:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1605095405; bh=0EhvhswHcU3rrJtRVTsbEpzJvoEUKSBwyL0JvCJfGGU=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=zLemUS8t/UPYHsIae/eoltR1ZjZlgvZLJ+sASYWo+fPpzd2sxi97XPHgOhtMB3jFt DVLR39W/8kcsHmdve/Ze2lfmTueHXaFzi9eqpyfWPUxtPbXWMZUx5BNOF6wPCXs5w5 5cEYc0TVUAQio+KTBru53ni1a1wBElipU+s2JPtM= Received: by mail-oi1-f176.google.com with SMTP id m13so1841915oih.8; Wed, 11 Nov 2020 03:50:05 -0800 (PST) X-Gm-Message-State: AOAM532/dc1QbE11CRBOkXWGODqKAgpYeMz1fvNtEAmzm8cChqPri52c xPRpy8KQHWelS1Dcud30N0Cp0UolpwLxa165jxM= X-Received: by 2002:aca:d583:: with SMTP id m125mr1709838oig.47.1605095404430; Wed, 11 Nov 2020 03:50:04 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Ard Biesheuvel Date: Wed, 11 Nov 2020 12:49:52 +0100 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: arm64: tinyconfig: compiler_types.h:326:38: error: call to '__compiletime_assert_382' declared with attribute error: BUILD_BUG_ON failed: !is_power_of_2(sizeof(struct page)) To: Naresh Kamboju Cc: Linux ARM , Linux-Next Mailing List , open list , linux-mm , lkft-triage@lists.linaro.org, ": Linus Walleij" , Arnd Bergmann , Andrew Morton , Masami Hiramatsu , Stephen Rothwell , Steven Rostedt , Catalin Marinas , Will Deacon , Mike Rapoport , Anshuman Khandual , Barry Song , Roman Gushchin , Kees Cook , Masahiro Yamada Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 11 Nov 2020 at 12:41, Naresh Kamboju wrote: > > FYI, > Linux next tag 20201111 arm64 tinyconfig build failed due to below error(s). > tinyconfig arm64 build test failed with gcc-8, gcc-9 and gcc-10. > config file attached to this email. > > Reported-by: Naresh Kamboju > Thanks Naresh. This will be fixed shortly. > make -j16 ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- > > arch/arm64/mm/init.c: In function 'mem_init': > include/linux/compiler_types.h:326:38: error: call to > '__compiletime_assert_382' declared with attribute error: BUILD_BUG_ON > failed: !is_power_of_2(sizeof(struct page)) > _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) > ^ > include/linux/compiler_types.h:307:4: note: in definition of macro > '__compiletime_assert' > prefix ## suffix(); \ > ^~~~~~ > include/linux/compiler_types.h:326:2: note: in expansion of macro > '_compiletime_assert' > _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) > ^~~~~~~~~~~~~~~~~~~ > 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:50:2: note: in expansion of macro 'BUILD_BUG_ON_MSG' > BUILD_BUG_ON_MSG(condition, "BUILD_BUG_ON failed: " #condition) > ^~~~~~~~~~~~~~~~ > arch/arm64/mm/init.c:443:2: note: in expansion of macro 'BUILD_BUG_ON' > BUILD_BUG_ON(!is_power_of_2(sizeof(struct page))); > ^~~~~~~~~~~~ > make[3]: *** [scripts/Makefile.build:284: arch/arm64/mm/init.o] Error 1 > make[3]: Target '__build' not remade because of errors. > > > Build details: > kconfig: tinyconfig > git_repo: https://gitlab.com/Linaro/lkft/mirrors/next/linux-next > target_arch: arm64 > toolchain: gcc-9 > git_short_log: 3e14f70c05cd (\Add linux-next specific files for 20201111\) > git_describe: next-20201111 > build link: https://builds.tuxbuild.com/1k8NvVvTvJrxp6CsgUXoZJZXzFy/ > > > -- > Linaro LKFT > https://lkft.linaro.org