Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp3796882rdb; Sun, 10 Dec 2023 23:07:17 -0800 (PST) X-Google-Smtp-Source: AGHT+IGvfdWDUPz54Jh77Oj20IwebuSPgVMp/SHM4UbrELqlkwkKXmpFt1AVhHpWtNAk1B6LTwV4 X-Received: by 2002:a05:6a00:4b85:b0:6ce:f65f:8131 with SMTP id ks5-20020a056a004b8500b006cef65f8131mr726732pfb.8.1702278437173; Sun, 10 Dec 2023 23:07:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702278437; cv=none; d=google.com; s=arc-20160816; b=YTjzNKn94FLgjhTyJbcnIGZtwndbDc0LBRuyb2np7vArb8OS+t7B7MQHbYdaq4LElw k/7GANNTGQ7RBEeKyjS9ih4CK+xvEwM5Ze2tqGNb4hf+L3xaJkbN/192nt1IMKi2vOP9 s20D0DQffl5ZNPI08BOFNeaOJRoLTcB/kZCcDp3Ve1qMvm/PvzVyFhF4nJ3D8AJ4inIr VR7V0H07nQjyVA76Eb/QeghYMGSyLQ6sa4YrE0XtGKu7bf0qXVjPV4t3v27IteiwnRkx ei0/BuOJaQS99jPpIK2zo+V6VwurWO7FeIrWEuze4fFMKqbjqGU1glINSsO6DszUxF+t ayaQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=j2MEib+MwJnReuRpmTAL60gewi5yJRdPEiiZIiH6sIs=; fh=5O7ZMGIE+Pa5QDEMoE1vp/DyWtHoCmOFTGs0M0lyKow=; b=veZTd7EJRmauZMe3btVboWEj8w2s7R4Oa8fw5OVx+WxGdezASHVc8uNIIaolZgffD/ 15XZDjIDqhzdNURs72aiGiEdS84igJO5up0oG5WQIq4kMU4JJyWtaWnckHEonerEp717 4EIgjxBu3QvnLfGYdHtPiRCzjcN8Schegq+SDxLPW5CwxxEBvHxz/EbexYlXKnxqW91Q pgig+t0/Nr/a13qDsoe2Jp+Age0n7frktTAECQotPrid57Zk43yJPQKxL+pecPd8/Kgn rf3A0Tpu+fSQDJ/wqj/eLQBCNOAXajfb1IRacB5BiZScZEteMmrlYl+opHlRGNqRJV6z pDJQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=kbWeYfDe; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from fry.vger.email (fry.vger.email. [2620:137:e000::3:8]) by mx.google.com with ESMTPS id b1-20020a056a00114100b006ce702e8930si5640133pfm.215.2023.12.10.23.07.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 10 Dec 2023 23:07:17 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) client-ip=2620:137:e000::3:8; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=kbWeYfDe; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id ED3EA806811A; Sun, 10 Dec 2023 23:07:01 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233104AbjLKHGn (ORCPT + 99 others); Mon, 11 Dec 2023 02:06:43 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41740 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229478AbjLKHGm (ORCPT ); Mon, 11 Dec 2023 02:06:42 -0500 Received: from mail-ed1-x52e.google.com (mail-ed1-x52e.google.com [IPv6:2a00:1450:4864:20::52e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 29ACA9B; Sun, 10 Dec 2023 23:06:48 -0800 (PST) Received: by mail-ed1-x52e.google.com with SMTP id 4fb4d7f45d1cf-54c77e0835bso5898079a12.2; Sun, 10 Dec 2023 23:06:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1702278406; x=1702883206; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=j2MEib+MwJnReuRpmTAL60gewi5yJRdPEiiZIiH6sIs=; b=kbWeYfDeQwNmQZ/EUodeZiwXdzODWgnjwoDFMTvMQZ6WbW2n7jTTfvfLavPnAEIDN4 qYZkD2bXczI8p1/PuPfAAbxMwyPPLEDX2nAUnxoYe70Lbmkly4VAiGgF5XEZ6EwaKk9p YP5q1XV0XiQ6p6VnLvkXcN/FZnTjGPAU6NgPx52YIw0aQLpxuXKpva40nfEhyR/Lvauf mWHG7iwWbN6SdX7n/B21eJNAsAontSkLPLSr88HKyJX3J1Tz7FqllP/0KFXKEgoJoF9s ZL9wOJWi7HT9I3qVmsyExm5Ohk/LACly3c1CCtAQv3CC+iaUUdX19flUdqv93gEVqPyr GsXQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702278406; x=1702883206; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=j2MEib+MwJnReuRpmTAL60gewi5yJRdPEiiZIiH6sIs=; b=Pz/tCv+SRncY33AHX975dJhZDBkd50O7ED5MdaHDTrM2FPVJRNvK6iYhpOhTkUVvKj T1rMx4+pVVGDiYofQJUQg01Kn5Gatx9uPSlWAhZ/DaztZI6BQe9j9Def3cH6J6Tnyghb 50VrgGXiG8kw8vzHja1vyag/w0B94h1F3wQhmDAg6pdXjpUmGmDI9AL1pvkeHGQcb6tJ 9dyOP93/R0TidS+naEXRG5IZ7x8vhZI5MIDHlMuwkieGEXOdAW4WWVgo9F8PeBeg0k54 pifuagB6NB5JfM+OG9oYLWKQWZDtNwIct9pnxHc8Q4gB/087YCuHPQcY0mrhufaBWIB2 ov+Q== X-Gm-Message-State: AOJu0Yw7NC1TACWER1J3y22iEExR7Sg8MsYxAArSPKBq3+KWitBrrt/A Vdwmr5Nwsh9RTlnacZ4rNHc2YZ6HkSzMV+9q03o= X-Received: by 2002:a50:9e6d:0:b0:54c:b175:87bf with SMTP id z100-20020a509e6d000000b0054cb17587bfmr2344684ede.2.1702278406336; Sun, 10 Dec 2023 23:06:46 -0800 (PST) MIME-Version: 1.0 References: <20231201112918.294b40b1@canb.auug.org.au> <20231204150807.600c2f09@canb.auug.org.au> <20231211161946.2f151d13@canb.auug.org.au> In-Reply-To: <20231211161946.2f151d13@canb.auug.org.au> From: Uros Bizjak Date: Mon, 11 Dec 2023 08:06:37 +0100 Message-ID: Subject: Re: linux-next: build warnings after merge of the tip tree To: Stephen Rothwell Cc: Thomas Gleixner , Ingo Molnar , "H. Peter Anvin" , Peter Zijlstra , Ingo Molnar , Linux Kernel Mailing List , Linux Next Mailing List Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-0.6 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on fry.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (fry.vger.email [0.0.0.0]); Sun, 10 Dec 2023 23:07:02 -0800 (PST) On Mon, Dec 11, 2023 at 6:19=E2=80=AFAM Stephen Rothwell wrote: > > Hi all, > > On Mon, 4 Dec 2023 08:02:56 +0100 Uros Bizjak wrote: > > > > On Mon, Dec 4, 2023 at 5:08=E2=80=AFAM Stephen Rothwell wrote: > > > > > > On Fri, 1 Dec 2023 13:09:45 +0100 Uros Bizjak wro= te: > > > > > > > > On Fri, Dec 1, 2023 at 1:29=E2=80=AFAM Stephen Rothwell wrote: > > > > > > > > > After merging the tip tree, today's linux-next build (x86_64 allmo= dconfig) > > > > > produced these warnings: > > > > > > > > > > WARNING: modpost: EXPORT symbol "const_pcpu_hot" [vmlinux] versio= n generation failed, symbol will not be versioned. > > > > > Is "const_pcpu_hot" prototyped in ? > > > > > WARNING: modpost: "const_pcpu_hot" [arch/x86/kernel/msr.ko] has n= o CRC! > > > > > WARNING: modpost: "const_pcpu_hot" [arch/x86/kvm/kvm.ko] has no C= RC! > > > > > > > > My build doesn't produce any warnings. A defconfig + enabling kvm.k= o as module: > > > > > > > > ... > > > > AR built-in.a > > > > AR vmlinux.a > > > > LD vmlinux.o > > > > OBJCOPY modules.builtin.modinfo > > > > GEN modules.builtin > > > > MODPOST Module.symvers > > > > CC .vmlinux.export.o > > > > CC [M] arch/x86/kvm/kvm.mod.o > > > > CC [M] fs/efivarfs/efivarfs.mod.o > > > > ... > > > > > > > > Does the attached patch help? Or is there anything else I should do= to > > > > trigger the above problem? > > > > > > The patch does not help. I am just doing an X86_64 allmodconfig buil= d > > > with CONFIG_WERROR=3Dn. gcc is > > > > > > $ x86_64-linux-gnu-gcc --version > > > x86_64-linux-gnu-gcc (Debian 13.2.0-2) 13.2.0 > > > > > > This is a cross build with a ppc64le host. > > I am still seeing the warnings ... The -v3 patch series that fixes this and the remaining sparse warnings sits unreviewed for a week at [1]. I don't know why it is not being considered. [1] https://lore.kernel.org/lkml/20231204210320.114429-1-ubizjak@gmail.com/ Thanks, Uros.