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=-9.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,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 4E083C388F9 for ; Wed, 11 Nov 2020 11:50:10 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 9D7E4206C0 for ; Wed, 11 Nov 2020 11:50:09 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=kernel.org header.i=@kernel.org header.b="zLemUS8t" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 9D7E4206C0 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id 060D56B0036; Wed, 11 Nov 2020 06:50:09 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 010116B005D; Wed, 11 Nov 2020 06:50:08 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id E40456B006C; Wed, 11 Nov 2020 06:50:08 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0215.hostedemail.com [216.40.44.215]) by kanga.kvack.org (Postfix) with ESMTP id B01EC6B0036 for ; Wed, 11 Nov 2020 06:50:08 -0500 (EST) Received: from smtpin05.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay01.hostedemail.com (Postfix) with ESMTP id 4FACF180AD807 for ; Wed, 11 Nov 2020 11:50:08 +0000 (UTC) X-FDA: 77471968896.05.box57_22125d0272fd Received: from filter.hostedemail.com (10.5.16.251.rfc1918.com [10.5.16.251]) by smtpin05.hostedemail.com (Postfix) with ESMTP id 3395D1801C1B8 for ; Wed, 11 Nov 2020 11:50:08 +0000 (UTC) X-HE-Tag: box57_22125d0272fd X-Filterd-Recvd-Size: 5135 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by imf18.hostedemail.com (Postfix) with ESMTP for ; Wed, 11 Nov 2020 11:50:06 +0000 (UTC) Received: from mail-oi1-f171.google.com (mail-oi1-f171.google.com [209.85.167.171]) (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 47CE82168B for ; 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-f171.google.com with SMTP id k26so1891199oiw.0 for ; Wed, 11 Nov 2020 03:50:05 -0800 (PST) X-Gm-Message-State: AOAM530GaASrcwuLw48U1VnUHpw8K46Ouw+J8WZ5u1pgUV2XdN3mkN7t sReSa91MiHzizTEOoPSEunuzZhe3q0aZR/6k0l4= X-Google-Smtp-Source: ABdhPJx1pa0j1Bdeb7dFvCaT72nI4bMOnXTC7YJU5YZQ69emDiEFaLR7JcW0cW71t/mNGhnQpjSP6wC3oHmcSS0V5VM= 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" X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: 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