Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp3763804rdb; Sun, 10 Dec 2023 21:20:03 -0800 (PST) X-Google-Smtp-Source: AGHT+IEOyc0cgvWi2AajYBrUcn4/tzjbf8g9QPe5VMAdNNLi1A4auaLVm9IZEqiHVimNRGOdZUvS X-Received: by 2002:a05:6808:1495:b0:3b9:e902:bb6 with SMTP id e21-20020a056808149500b003b9e9020bb6mr4558171oiw.89.1702272002590; Sun, 10 Dec 2023 21:20:02 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702272002; cv=none; d=google.com; s=arc-20160816; b=VttUTe2Ww1XjO+ZLbVglfmpYwUb9Hop63aQqhRlk0LuNwLSLFLeohDccRQ0nEOzdI6 k/AXtAxyf7sgkIKpbHN6BKg1lxGpZ/tk0d8NtIdjLr1vaI059mLgHDSKLUfCsvepvQQv rniUSnepnqieL8AZEzKIXNZsu1f/91VUXOZ6lXmC7xPEMeTsLHv+cJdWajU9wDx1TJ1A tk1P3sjyBcMQDdPB0Jo4W7qgz78N6oe1bGD9UKcVZrFfhdPSMCOyTm+HQFYiRo7LmNEX oCskNy+cK8kjfv0mRl0mwPu7JetsfyrRbfqvNM1PNZSK4sipNssQD9kkGcszp87D/l8D BCYQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :subject:cc:to:from:date:dkim-signature; bh=5sNtilsWwU1x5jkzfc9dPKYu30Z5wT/4p92EP0oqClo=; fh=+0p1F0nbpxoAsZ7/SJ6XiAYnix/2F1NjCt9/zLeH660=; b=z1xvrxlRJ2p/wsNQ0kFwVFKA+p0KHyC/82XKUVXbyoBVilhP5U0VQuDi9aWbRwxRVv Z+2GTLDQ3EDB10Fw6CxcfaNgjj+NAJjKJUO2pu5jqMsjpGhIZ35fquDwSrsEfyPvLwwm uX3FkW918p4iHat04ywT9ggV4D8I7ByIu9vvoIzVwqFW0Uudu1hAS7nDCW3MuiMnhtcV IP5lQYZ2fr9nN0t0ybQ7rvzZSWMd20RnSohBGpc0r2+8JKILhyOO9rPY06PQVRFj+JYh gMWy6ov8iX8Dg7fjIshgKDcBZImej9LPVytiiI2EW/OcE3Y6kY6azYddR/4qKHpL21LC 0DTg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@canb.auug.org.au header.s=201702 header.b="TY/MC4uI"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=canb.auug.org.au Return-Path: Received: from lipwig.vger.email (lipwig.vger.email. [23.128.96.33]) by mx.google.com with ESMTPS id y31-20020a056a00181f00b006cd8db77f84si5426027pfa.274.2023.12.10.21.20.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 10 Dec 2023 21:20:02 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) client-ip=23.128.96.33; Authentication-Results: mx.google.com; dkim=pass header.i=@canb.auug.org.au header.s=201702 header.b="TY/MC4uI"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=canb.auug.org.au Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id 1CEC08067E15; Sun, 10 Dec 2023 21:20:00 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229483AbjLKFTo (ORCPT + 99 others); Mon, 11 Dec 2023 00:19:44 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57852 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229445AbjLKFTo (ORCPT ); Mon, 11 Dec 2023 00:19:44 -0500 Received: from gandalf.ozlabs.org (gandalf.ozlabs.org [150.107.74.76]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A3747C3; Sun, 10 Dec 2023 21:19:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canb.auug.org.au; s=201702; t=1702271988; bh=5sNtilsWwU1x5jkzfc9dPKYu30Z5wT/4p92EP0oqClo=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=TY/MC4uInXd8Ar3RZACEymrzFF/oqjw1AEYXGZo1brr8DgAfNORkdg/NBEb+eW/P0 Rw7fEvOUH/V6eU8XbYHxL4lfDNq5n50PJBkMWTQdr3vln1eE01ihS5ssXTOhje4OOH HOtpdf3CntO13FpJn7evPxIE9Yi3HdsK4zRoYGxPbRIGYpW1O9KNgUl1YaI9+zwBrC pPO/9XNfQ/XIDcDVwMV9fhq87JpiKdw/XaMBHUVIvFbqLHC8t3rjB/9d0bYvVUIYk6 /u8eVRAmwZxqAGP1/DRwA9lry2SAyczQY02NvBln3qszX8wd51Ud62iz5HT1AWkU5o Qy2Sn3lV3r67Q== Received: from authenticated.ozlabs.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail.ozlabs.org (Postfix) with ESMTPSA id 4SpVRl32fMz4xGR; Mon, 11 Dec 2023 16:19:47 +1100 (AEDT) Date: Mon, 11 Dec 2023 16:19:46 +1100 From: Stephen Rothwell To: Uros Bizjak Cc: Thomas Gleixner , Ingo Molnar , "H. Peter Anvin" , Peter Zijlstra , Ingo Molnar , Linux Kernel Mailing List , Linux Next Mailing List Subject: Re: linux-next: build warnings after merge of the tip tree Message-ID: <20231211161946.2f151d13@canb.auug.org.au> In-Reply-To: References: <20231201112918.294b40b1@canb.auug.org.au> <20231204150807.600c2f09@canb.auug.org.au> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/n7biqZpoMx/uBlMl96h8naj"; protocol="application/pgp-signature"; micalg=pgp-sha256 X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,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 lipwig.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 (lipwig.vger.email [0.0.0.0]); Sun, 10 Dec 2023 21:20:00 -0800 (PST) --Sig_/n7biqZpoMx/uBlMl96h8naj Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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 wrote= : =20 > > > > > > On Fri, Dec 1, 2023 at 1:29=E2=80=AFAM Stephen Rothwell wrote: =20 > > > > =20 > > > After merging the tip tree, today's linux-next build (x86_64 allmodc= onfig) =20 > > > > produced these warnings: > > > > > > > > WARNING: modpost: EXPORT symbol "const_pcpu_hot" [vmlinux] version = generation failed, symbol will not be versioned. > > > > Is "const_pcpu_hot" prototyped in ? > > > > WARNING: modpost: "const_pcpu_hot" [arch/x86/kernel/msr.ko] has no = CRC! > > > > WARNING: modpost: "const_pcpu_hot" [arch/x86/kvm/kvm.ko] has no CRC= ! =20 > > > > > > My build doesn't produce any warnings. A defconfig + enabling kvm.ko = 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? =20 > > > > The patch does not help. I am just doing an X86_64 allmodconfig build > > 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. =20 >=20 > The warning is triggered by CONFIG_MODVERSIONS=3Dy and will be fixed in > a different way by the patch in [1]. >=20 > [1] https://lore.kernel.org/lkml/20231203232017.994963-1-ubizjak@gmail.co= m/ I am still seeing the warnings ... --=20 Cheers, Stephen Rothwell --Sig_/n7biqZpoMx/uBlMl96h8naj Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEENIC96giZ81tWdLgKAVBC80lX0GwFAmV2m/IACgkQAVBC80lX 0Gy7Ggf7BIUS+NkdpG1CaDhdDdn9Sf7DQqJjlQVNB2BakU8u72if/VFG4Cke1I3t e1iCTtOzUp9RYmB3RGUSbgFDC9RS1SV+TjERYpYG8gXOybY3XOef4WiAeMDD+ndf L8se+m2iLmoCbzaGxprfKUr6LwLcxj3NDnOXqPYqYJOAb5KGWEA/XD0WvJEle7pv TwDNenp5C+5p7SPUFxlMIreU6uNQgxfIj8WwcqW+RdNXTsvFx4JAXsW+QQtqA8GJ eOkr3bkFAdw+jw5QoC/ThZeK2bdZXErWOfmIzB9rBNWZpHdptda9l4p3HF4b8b+q 6iIN0bKZVkInJW8Dy+0QSHP+HJgwxQ== =JHmK -----END PGP SIGNATURE----- --Sig_/n7biqZpoMx/uBlMl96h8naj--