Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp12937758rwl; Wed, 4 Jan 2023 00:46:14 -0800 (PST) X-Google-Smtp-Source: AMrXdXuQvxnk2m9dwxf6TSUyjRzhy9P/N1nvGERLNQTovkNQXnImq/OhlGGxGKvorL/KDVD0ZK6z X-Received: by 2002:a17:907:c498:b0:7ff:7876:9c60 with SMTP id tp24-20020a170907c49800b007ff78769c60mr40958444ejc.15.1672821974696; Wed, 04 Jan 2023 00:46:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1672821974; cv=none; d=google.com; s=arc-20160816; b=K9v+0iT68YPdP287dlywGrwW8dP/Q1kOkOBzMqqfYqdKGLVYe66lx5z3Nt2dJjJjzg 7DBdrLWCpWi3ok+J0oo1qEqE5FmnbSKsJ9cMwLI9OBufFSBn1d/HJYdGQT4Y7vxe+aKH 2dALzfUM/xsmBtj56hDU9rTqz3m4aeYanhG6VsMvQsVEcdx8LvHtvLSihHJc2rmkge0v A6F0/qELnrIuw22OVoT100BEWL52y7mvH1qdMpHBD1EiLzOWV1bI96MwcYL4ujMLtvKe uTgY9jfEMSIja2K3fy3C8iY8A8Ej4HHCEWoeA+MVba7QIPZypF31ISr/frNzVglSoyvH faUw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:subject:content-transfer-encoding:in-reply-to :from:content-language:references:cc:to:user-agent:mime-version:date :message-id:dkim-signature; bh=bNlUUxPVx6r5E5AB++ov8MvDxQvaPuZGODNmmc20O6w=; b=AIsECdy0/TbF5tdoct8qB+21n/F8Qq2BqCM+v8H5iTayL562T/ipkTNRm+vOLoCIJB ucSXvoDYpch/ZHoVGegh4FHqWYAdEEl5ohoq+mTbTl6aSLifCFq+nSTLyb/Ctm+tkEb8 0n/fv9A1sgKR3ysTjw1CJuomdsyQRqWnFj8L+7QQCSONH+x4xdo7vjz6gkCaaD9eRChv 0kAbDJzquqQzfutLA4AD2xRHJBhBXLXsBKNhdmKCJH6WTY29jcdSx5YXBe07G7yr93E9 F6tAuFG/lqhpjhRmuABstBHbt3gOILfAwMyIcnCgKbKDcrEvrTvv93ZmmlEY+9ThbeiL UTVg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@cschramm.eu header.s=20160910 header.b=iI1v8Ioz; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id sb25-20020a1709076d9900b007c4f78e6104si28758444ejc.408.2023.01.04.00.46.01; Wed, 04 Jan 2023 00:46:14 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=fail header.i=@cschramm.eu header.s=20160910 header.b=iI1v8Ioz; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234030AbjADIfC (ORCPT + 57 others); Wed, 4 Jan 2023 03:35:02 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36472 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234002AbjADIen (ORCPT ); Wed, 4 Jan 2023 03:34:43 -0500 X-Greylist: delayed 1312 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Wed, 04 Jan 2023 00:34:37 PST Received: from nc1.cschramm.eu (nc1.cschramm.eu [IPv6:2a03:4000:48:83:4479:b8ff:fef1:2c03]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8EC3F1869B; Wed, 4 Jan 2023 00:34:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=cschramm.eu ; s=20160910; h=Subject:Content-Transfer-Encoding:Content-Type:In-Reply-To: From:References:Cc:To:MIME-Version:Date:Message-ID:Sender:Reply-To:Content-ID :Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To: Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe :List-Post:List-Owner:List-Archive; bh=bNlUUxPVx6r5E5AB++ov8MvDxQvaPuZGODNmmc20O6w=; b=iI1v8Iozw5C4W77ealjm5cLmhb YNiI0nBBJDW1HrseKXqdff5XLjCQiH3S+3B3N/PQhYf3UEWNou8v8RbiFWZyurBweHRcDxn9FzqlO i3D+LPqICNn9mVcd9eldw7rhVA5OezQuiKJ1bWqNHNkwqL+nR2g9gug/xnrYBIcUvWQA=; Received: from [2001:a61:2448:6101:6731:8c4d:dcb5:31dd] by nc1.cschramm.eu with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1pCyt2-008dba-OJ; Wed, 04 Jan 2023 09:12:35 +0100 Message-ID: Date: Wed, 4 Jan 2023 09:12:35 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.6.1 To: masahiroy@kernel.org, samuel@sholland.org, nathan@kernel.org Cc: linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org, ndesaulniers@google.com, nicolas@fjasle.eu References: Content-Language: en-US From: Christopher Schramm In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-SA-Exim-Connect-IP: 2001:a61:2448:6101:6731:8c4d:dcb5:31dd X-SA-Exim-Mail-From: debian@cschramm.eu X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net X-Spam-Level: X-Spam-Status: No, score=-5.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, SPF_HELO_PASS,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 Subject: Re: [PATCH] kbuild: Fix running modpost with musl libc X-SA-Exim-Version: 4.2.1 (built Sat, 13 Feb 2021 17:57:42 +0000) X-SA-Exim-Scanned: Yes (on nc1.cschramm.eu) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This change seems to break expected symbol warnings when building an external module against a kernel prepared with modules_prepare. The build used to show WARNING: Module.symvers is missing. Modules may not have dependencies or modversions. You may get many unresolved symbol warnings. followed by those many unresolved symbol warnings. 6.2-rc2 still shows that warning but the unresolved symbol messages are now errors and the build fails (at scripts/Makefile.modpost:137). This seems to happen due to -T getting added.