Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp443652pxf; Thu, 18 Mar 2021 04:29:13 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz9gsAUu4fYzIOnnTq65R4hhSoib76gp8VNOyiNhdTfUH2lDoH2bMI+V2y4d+JLXCurviCa X-Received: by 2002:aa7:d4d6:: with SMTP id t22mr3080932edr.376.1616066953718; Thu, 18 Mar 2021 04:29:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1616066953; cv=none; d=google.com; s=arc-20160816; b=DRIDNj1vDamX9vOeFQfm41e1eLlT+9zPVxTycO5pGlPrethWJNRZP3bYc8KTu/PUu8 g7j6Jz2Wz1vWPiyhHCMknau0ShYRD0r5+kMYKQbDZdNlpzsLxYwKhUhBqCn4bgUj1F3g is96vWM6LwUZJEsyvV8SxEjkt/KCbFGgFGrh+PBNBUGQTxn2iED86+6yUnYngox2Mgso T07xriJH0kKECniiaUx4z/EVqwaiPBWBKqkZN52YvziiKw9Sorm/sMAYB/8aizOSeotF xmSv0AwwxSYOg+I2YrWd0bTQabxBffGRUDUvHjhyaG9jaDL74sJvn4DhZWGI+feCngdh SThA== 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=/X2uhjyCyP9bVL0ZCIGJk+B5JfymTwMH7DMVHF84py4=; b=0Tbt1qLE2ALNOHdkEMc3Xm8lIJ+oKuCbjWLE/U5+33wVogzUbz/j50FjyeJ+YUGHT9 fJUHLIIqOhscA/HYdK0axyTXymnE5DCspzLA92I0HZXFGhApkYkLqtkp6wa5gFYypmKG SSMkFY0unNa+sS2MZlBcyMvchW5Ll70rALlt28jsBMYPzfykTHZ8GO2Cu8V2IQnyTdbI 56x61bW/Ap3M094CJ2r2TmKCrTaWl76mKXdz54ryptM6jChkQQtQ4D7Z2pYPCYcqbTK7 2s9cZUD3bGJ0iyzBY43Kb3x1fHxtScLSK3vOejQ0/tfOfncYahpYOoIluqaMZsfzGheg l6Vw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="kcO/8i6u"; 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 y21si1376855edo.16.2021.03.18.04.28.50; Thu, 18 Mar 2021 04:29:13 -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="kcO/8i6u"; 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 S229943AbhCRL00 (ORCPT + 99 others); Thu, 18 Mar 2021 07:26:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43120 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229854AbhCRL0H (ORCPT ); Thu, 18 Mar 2021 07:26:07 -0400 Received: from mail-ed1-x530.google.com (mail-ed1-x530.google.com [IPv6:2a00:1450:4864:20::530]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E7C72C06174A for ; Thu, 18 Mar 2021 04:26:06 -0700 (PDT) Received: by mail-ed1-x530.google.com with SMTP id w18so6207957edc.0 for ; Thu, 18 Mar 2021 04:26:06 -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=/X2uhjyCyP9bVL0ZCIGJk+B5JfymTwMH7DMVHF84py4=; b=kcO/8i6u6F7ObPux8XRCXKqs4v6CJQ9fojdoDBsanzft2GsAVGt9SJivArRvzA3SQ6 uul7/AMDQci10DsXCOabXsP9zM7rg6r6iZQ3/qBGqvxgmDF+YkxvWyZovU0/0MJ7y4hq eJYQm/ERmVmfjPM8fkOtJuq5f8L1fi4r3eqMkRgnZYGuA+AQ5B34kSSbRddV3lbXQL+5 oiSLFHiaW+tol5zF16V+/fQgsYEdEjswf1LAF+DS361jebrcqFhdH45qpPAwUbY0h5wc 1juusfGoWwJF+Yi1mPPI5OSByXnZctXpWucKRPVFtrqJHmVhgLYAg6a16CNFNk6KwQmU yO9Q== 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=/X2uhjyCyP9bVL0ZCIGJk+B5JfymTwMH7DMVHF84py4=; b=P1esd+dXOxx3rQl9KtZiRtaeNH4NMhvrkE5wTZdYvWLCxQC9+JhUebviON5YErtLg8 Af7XKTkgU/S1BgLdJRNeTTfRYwvxTfvtCUZzie6pjhmts654HsBVCFoGZVI/pgt4Yz+0 SJ5+LRA+QazKPdsYdIn+3PU9z5rPsw34dGGbpwdJPitCbcl/+KBhgGk3LtqMOWXWp+/6 YDNrjeV8EAmHSSJj/pzWr/oA3Wt/QBpFe0r9zRT56zJSKYCF50/5P64v2I5tuHR0pGPf 5ffMF54tJIveSx+3iyMByITNmP/O8nsrGz2outmDDE6IzXpeAA5TcV/wxq9IL8slIYUv ppXg== X-Gm-Message-State: AOAM531b1j+S9DyAvvV5gZI15bIOpZZyqcdajAOpVAuz50IbXE9KVD0Z rwSVMaOg+O1ZzD0On0udtCPOjlwu4Pp7ZAeRW7cGzw== X-Received: by 2002:aa7:dc04:: with SMTP id b4mr2961551edu.221.1616066765526; Thu, 18 Mar 2021 04:26:05 -0700 (PDT) MIME-Version: 1.0 From: Naresh Kamboju Date: Thu, 18 Mar 2021 16:55:54 +0530 Message-ID: Subject: next: arm64: 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 To: Linux-Next Mailing List , open list , lkft-triage@lists.linaro.org Cc: Stephen Rothwell , Arnd Bergmann , Catalin Marinas , Nathan Chancellor , Nick Desaulniers , Peter Zijlstra , Will Deacon , Miguel Ojeda , Marco Elver , 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 While building arm64 kernel modules the following kernel warnings / errors noticed on linux next 20210318 tag the gcc version is 7.3.0. I will check latest gcc version builds and keep you updated. 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 - Naresh