Received: by 2002:a05:7412:8d08:b0:f9:2d0a:d759 with SMTP id bj8csp231308rdb; Sun, 17 Dec 2023 09:14:09 -0800 (PST) X-Google-Smtp-Source: AGHT+IEtnF5z/jSGNN9N52OXZY9Wh/qhBM6H++YVoEai4p3jDyOda/MhfttTi8rX9KRNVE1pawhM X-Received: by 2002:a05:622a:60c:b0:423:93e3:cd0c with SMTP id z12-20020a05622a060c00b0042393e3cd0cmr24092452qta.44.1702833248805; Sun, 17 Dec 2023 09:14:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702833248; cv=none; d=google.com; s=arc-20160816; b=XboOcEPWDauKdMpkTqzqa+/HPv0MBBCdtrKiU3JCfcINg8f9LEPgUAlnw7M11z7n6C 5YkV2Y5atpQyU1Iyf0vDyw0g8GUQPoHmcBp4vqIYgbons8F7rCAvhcsJaktm3kdisfsu vDpzbzV8Q/X9cIrHJmM8/dDZGPpKdkflVeVLSH0FaYoaX/FZnuOvyb1VdPiAbXkWGANT K/QhRdV7pHkap0Q50A03+hbckeLP3V3qseTspxwTmBqT6InpxbnrzvBfyu6B9XqprZ0r KkrCDx7bmqo0rCF0u0xOAzvRV0s8hVEzbDIC4vFG1SNjYjaIK4bsfuYsiJUkBycsaB9K qnLw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=pO0SkbdzKTqwv47SoFPlRCoUGE/iML8P55diPoctw/k=; fh=Me4IxAtotsejKU+B0IAHwNG0CPpqJKMm2NS386INew0=; b=B6T8bx0TnV7g9mxb6w8DcLeiPjyjnwdT/w/PPHsb5Z1mEPzXV98KBPNyimlOn+8K+p 3igozwnpAWKYXT4HAqzIZ6VcinjaHUNRjP/iQdqvRdHNDFkQMyxZwXZLDMJPnYsMwjwh 8gDLL3Ndq7xFRiyavIqsGjTJsZgPR4f5VQR4G3X3PBY6NJcNcot1TH7SXxI1FcI4id3N hRK6XV9hlVD9wcIR8xnO8Y0vWrSzJF7Wx8AlTm6leQjLGbJ9vM9WlKsGdwZZSkz0z/5N RvY8hytC52IAHQMX+Zp4CxT0E3VVb3QDNgwrLBY/WMgTZZtyMiGIBk00P0IlQMXoshDY 28GA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@weissschuh.net header.s=mail header.b=TVaplFky; spf=pass (google.com: domain of linux-kernel+bounces-2698-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-2698-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id ic14-20020a05622a68ce00b0042402e86ecasi20067506qtb.358.2023.12.17.09.14.08 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 17 Dec 2023 09:14:08 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-2698-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@weissschuh.net header.s=mail header.b=TVaplFky; spf=pass (google.com: domain of linux-kernel+bounces-2698-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-2698-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 675011C20B39 for ; Sun, 17 Dec 2023 17:14:08 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id CFB8945C0C; Sun, 17 Dec 2023 17:14:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=weissschuh.net header.i=@weissschuh.net header.b="TVaplFky" X-Original-To: linux-kernel@vger.kernel.org Received: from todd.t-8ch.de (todd.t-8ch.de [159.69.126.157]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 50FBD45BF2 for ; Sun, 17 Dec 2023 17:13:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=weissschuh.net Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=weissschuh.net DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=weissschuh.net; s=mail; t=1702833228; bh=vYfmc45KYCbJHfbcfljMiiQm/2uzx3kXTBBzeDQ8pLM=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=TVaplFkykiavfcSje7TzPfx9BxhVZzW+FsEed+rurUhtlKG87qUsssTq3wkqxAn7M tdpCPTKui1DkayL7alTCdblhA0Q4tvfWeNen5LPnUP4ee6+XMY1MKpGkHFd6cFESDi NUYDdkCu92yffWlhEoPQMs2FpkASvBcfp2FQNQd0= Date: Sun, 17 Dec 2023 18:13:48 +0100 From: Thomas =?utf-8?Q?Wei=C3=9Fschuh?= To: kernel test robot Cc: Arnd Bergmann , oe-kbuild-all@lists.linux.dev, linux-kernel@vger.kernel.org, Jakub Kicinski , Simon Horman Subject: Re: include/linux/compiler_types.h:397:45: error: call to '__compiletime_assert_810' declared with attribute error: BUILD_BUG_ON failed: skb_ext_total_length() > 255 Message-ID: <3fb66648-5581-4371-b15e-23e52e6469ba@t-8ch.de> References: <202312171924.4FozI5FG-lkp@intel.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <202312171924.4FozI5FG-lkp@intel.com> +Cc Arnd who was taking care of CFLAGS_GCOV in the past. On 2023-12-17 19:39:34+0800, kernel test robot wrote: > tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master > head: 3b8a9b2e6809d281890dd0a1102dc14d2cd11caf > commit: 5d21d0a65b573507bae774708199328b38dedfe6 net: generalize calculation of skb extensions length > date: 4 months ago > config: um-randconfig-r025-20230617 (https://download.01.org/0day-ci/archive/20231217/202312171924.4FozI5FG-lkp@intel.com/config) > compiler: gcc-12 (Debian 12.2.0-14) 12.2.0 > reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231217/202312171924.4FozI5FG-lkp@intel.com/reproduce) > > If you fix the issue in a separate patch/commit (i.e. not just a new version of > the same patch/commit), kindly add following tags > | Reported-by: kernel test robot > | Closes: https://lore.kernel.org/oe-kbuild-all/202312171924.4FozI5FG-lkp@intel.com/ > > All errors (new ones prefixed by >>): > > In file included from : > In function 'skb_extensions_init', > inlined from 'skb_init' at net/core/skbuff.c:4848:2: > >> include/linux/compiler_types.h:397:45: error: call to '__compiletime_assert_810' declared with attribute error: BUILD_BUG_ON failed: skb_ext_total_length() > 255 > 397 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) > | ^ > include/linux/compiler_types.h:378:25: note: in definition of macro '__compiletime_assert' > 378 | prefix ## suffix(); \ > | ^~~~~~ > include/linux/compiler_types.h:397:9: note: in expansion of macro '_compiletime_assert' > 397 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) > | ^~~~~~~~~~~~~~~~~~~ > include/linux/build_bug.h:39:37: note: in expansion of macro 'compiletime_assert' > 39 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) > | ^~~~~~~~~~~~~~~~~~ > include/linux/build_bug.h:50:9: note: in expansion of macro 'BUILD_BUG_ON_MSG' > 50 | BUILD_BUG_ON_MSG(condition, "BUILD_BUG_ON failed: " #condition) > | ^~~~~~~~~~~~~~~~ > net/core/skbuff.c:4800:9: note: in expansion of macro 'BUILD_BUG_ON' > 4800 | BUILD_BUG_ON(skb_ext_total_length() > 255); > | ^~~~~~~~~~~~ [..] This seems to be a compiler bug/configuration issue. When I remove the entry for SKB_EXT_MCTP from skb_ext_type_len then the error goes away. However this entry works the same as all other entries. Also dropping -fno-tree-loop-im *or* -fprofile-arcs from CFLAGS_GCOV makes the code compile as-is. Or switching to a 64bit build... Thomas