Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp1498262pxf; Fri, 19 Mar 2021 08:23:19 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzD4/Pl5vFNT5HCNbEN/Ti/2zaYhqFvl30iloEkXU6cr8egi7bvVer/E8R92GNBv9Hwesae X-Received: by 2002:a17:906:e84:: with SMTP id p4mr4979470ejf.248.1616167399318; Fri, 19 Mar 2021 08:23:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1616167399; cv=none; d=google.com; s=arc-20160816; b=qixpLD2kTgCkFgvRBCmYDmZPWTUmZZhtpKMeKEZhq4qqyM4IGUhYuPj40nYhjfPzlu /WIR0DhiOiHpG+CIXoO1P8b8SGb/giiu1h8EtcF97jqNsWPuZk0h6a4a/H0WIvE46lee mgTPIJqXdIPHbXPNQmlOuVoWuMJflGsMb3xsnR960NH8MyJ2EofkVQL9Wyut7ESakPzk Xqy0vxKVZrFNXrflRH3iEZOxOMyf10AvAegNucEzhB3VvV7CXPapqcFh8aAJZ7g6TdAV uHj2kn3iLt1w8XnSxe9FSnzzB3wyP4cHhe2f9qYXLqrikkBX3w+zXOnQBhI/9N20EPte FtDA== 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:mime-version :dkim-signature; bh=ESHJ/xpoPLprVXdQr5aaOZYnopxfXbBpJirRzC/e87Y=; b=bbqFRf7P2Z2PMy3Y6EiyQPu0c+o1oLQtViW4XpTj6uzH1Qf1kMT/bAvOSSRQNCdElW IGBo69sxTkhtGcIh6US2wf4JWyN/+spv5mgV89vYSRksv9SKm4twyydtRW23L09Aucjj fKw3JV/1HM66IgyLq3rH0ffEPBvSWAkVBUC9gf+BAanl8nZRVXQlTFV1vRI/9aKPMgjd AxfVcGiYcQRfdobFVOfR9+0ccMY4R2V8NMiZiiuo7xcrz3aZLoPAmuj4mWVz5F+4ox9X PpXPN6JqdRImYSg3TGtDMZKTX9aEa8MN4JeME06Gj/Pdh1/cqjYlWekhkuW9kAybUiS1 JLZg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=E1MyGjAN; 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=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id dk7si4638335ejb.461.2021.03.19.08.22.55; Fri, 19 Mar 2021 08:23:19 -0700 (PDT) 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=@linaro.org header.s=google header.b=E1MyGjAN; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229974AbhCSPTc (ORCPT + 99 others); Fri, 19 Mar 2021 11:19:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37768 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230113AbhCSPTU (ORCPT ); Fri, 19 Mar 2021 11:19:20 -0400 Received: from mail-ej1-x636.google.com (mail-ej1-x636.google.com [IPv6:2a00:1450:4864:20::636]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2FA8DC06174A for ; Fri, 19 Mar 2021 08:19:20 -0700 (PDT) Received: by mail-ej1-x636.google.com with SMTP id b9so10329930ejc.11 for ; Fri, 19 Mar 2021 08:19:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:from:date:message-id:subject:to:cc; bh=ESHJ/xpoPLprVXdQr5aaOZYnopxfXbBpJirRzC/e87Y=; b=E1MyGjANCGe2v1YDOi96jNvi7AX9CiZZmnHh1dSazPD1exZJyAptoayn8NzA5DugW2 S9Bq3IxiqzonMdby7vQqkLZymeQ/YqoQKl6AHc1DIs74zoWGSinBLjNjpW/wgApb5JWR NTgx2Luub+h+oYIdTdrmV16G45JfxJCMAoreKRCpkkh7wIa9JiBUovV2I3jO/eRL9BYe +JM9GSDfCUxIQkNFnfGWclE0C8KqDnkSwA86q/8JV8M9zZcWSm/+eUZHrtCUkq/w29Jp 7wPTc2ntAdVDdoocZ2GaWP/RvQyE8jADbYDJ2Hz8FgLm3bYrcMf+jcS9iOhlxknUN2Cd jl/w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to:cc; bh=ESHJ/xpoPLprVXdQr5aaOZYnopxfXbBpJirRzC/e87Y=; b=ZsQFLUHoFMnkWSZnRUInfy7o8EsEAfMISzxrQ4a7AwXtp0INb4FqOfateFVguICqwW v6+P6dRsw5MD1FV3Drj8ff7NjNNlorCN7m1FKEVOKyrL1rWwThLIxFpH8r+XpiBCn1QR y+XhSFa74parP9SDY/Y3wJCuQwZst38fUdqjvj8mRPQeqoWVFOcJ68prZjRcrl5Cw0uw Q/snYiYxc0sTVkgFDELjPupKVZ31cYC757yDfVQDUB3L/4hrx+RJhkp7EveuBaHSDOCI RWJ4jNFjsvtzY9L5tuilIW0QiHdUQRiki22bMMXj9CB/yJ7HUf2Kr3IHX6HAdGQ7/BF7 kqCA== X-Gm-Message-State: AOAM532jOTdB6iI9rlqQRJ3Up3FXifjSmf/rptBHsVRFo4YE8Ghbq49N +sFSqlCcKFR3G22A/8MPuPWuST7VvtNTUWJsCSlJaw== X-Received: by 2002:a17:906:4c85:: with SMTP id q5mr4861822eju.375.1616167158632; Fri, 19 Mar 2021 08:19:18 -0700 (PDT) MIME-Version: 1.0 From: Naresh Kamboju Date: Fri, 19 Mar 2021 20:49:07 +0530 Message-ID: Subject: arm64: compiler_types.h:320:38: error: call to __compiletime_assert_417 To: Linux-Next Mailing List , open list , lkft-triage@lists.linaro.org, glittao@gmail.com, Marco Elver , Andrew Morton , David Rientjes , Vlastimil Babka Cc: Stephen Rothwell , Arnd Bergmann , Catalin Marinas , Nathan Chancellor , Nick Desaulniers , Peter Zijlstra , Will Deacon , Miguel Ojeda , Borislav Petkov , Luc Van Oostenryck , Masahiro Yamada , clang-built-linux Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org [This email landed to Spam for some reason, sending it again with modified subject] While building arm64 kernel modules the following kernel warnings / errors noticed on linux next 20210318 tag the gcc version is 7.3.0. Build PASS with gcc-8, gcc-9 and gcc-10. In file included from :0:0: In function 'resiliency_test', inlined from 'test_slub_init' at lib/test_slub.c:120:2: include/linux/compiler_types.h:320:38: error: call to '__compiletime_assert_417' declared with attribute error: BUILD_BUG_ON failed: KMALLOC_MIN_SIZE > 16 | KMALLOC_SHIFT_HIGH < 10 _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) ^ include/linux/compiler_types.h:301:4: note: in definition of macro '__compiletime_assert' prefix ## suffix(); \ ^~~~~~ include/linux/compiler_types.h:320: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) ^~~~~~~~~~~~~~~~ lib/test_slub.c:101:2: note: in expansion of macro 'BUILD_BUG_ON' BUILD_BUG_ON(KMALLOC_MIN_SIZE > 16 | KMALLOC_SHIFT_HIGH < 10); ^~~~~~~~~~~~ make[2]: *** [ scripts/Makefile.build:273: lib/test_slub.o] Error 1 make[1]: *** [ Makefile:1980: lib] Error 2 Reported-by: Naresh Kamboju https://ci.linaro.org/view/lkft/job/openembedded-lkft-linux-next/DISTRO=lkft,MACHINE=juno,label=docker-buster-lkft/984/consoleFull https://ci.linaro.org/view/lkft/job/openembedded-lkft-linux-next/DISTRO=lkft,MACHINE=juno,label=docker-buster-lkft/984/consoleFull -- Linaro LKFT https://lkft.linaro.org