From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6E96FC7EE2C for ; Tue, 6 Jun 2023 09:16:13 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233110AbjFFJQL (ORCPT ); Tue, 6 Jun 2023 05:16:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57320 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229451AbjFFJQI (ORCPT ); Tue, 6 Jun 2023 05:16:08 -0400 Received: from out5-smtp.messagingengine.com (out5-smtp.messagingengine.com [66.111.4.29]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1383BE55; Tue, 6 Jun 2023 02:16:03 -0700 (PDT) Received: from compute6.internal (compute6.nyi.internal [10.202.2.47]) by mailout.nyi.internal (Postfix) with ESMTP id 2EA875C00D6; Tue, 6 Jun 2023 05:16:03 -0400 (EDT) Received: from imap51 ([10.202.2.101]) by compute6.internal (MEProxy); Tue, 06 Jun 2023 05:16:03 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=arndb.de; h=cc :cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to; s=fm1; t= 1686042963; x=1686129363; bh=jUtfdkZ/azepFvSYCIZ/2GxgimiuSucyPTh w7nBP7F4=; b=LCmLbZWfkuLfRl1mPHTB2HMg4Zk5tS4Hc2oGueG6TXIuQaYzuxj zBDWqMRe8e7wXjjyatIF/7u6NioHOS24/EACjLdE6VMGYmybgAlz8rKql6ZF+AL4 9oLlKIi/fsMWbTqduw0CXeXAapOEguGzt5Ac4eczmiGbBsXkkuJYmIS+bqfeUU5g A9qWh5kapCDkvRa+hVn4hVnif676moVzUT2DJTw1qhLNeT5qxzLcriqX9jIzS5Ja ZMEEmwZEM9hKXuVGduS9L7BlTQVKgnh7ZPhu5bdRuCSb0TJokWG1+bLwkPGg+aiz i+ND/ce1G/GHiUh0XPqIZXucI6wdPwjqRZw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t= 1686042963; x=1686129363; bh=jUtfdkZ/azepFvSYCIZ/2GxgimiuSucyPTh w7nBP7F4=; b=OVvU1rB/IUV1V+Tir3aGFvlYRfACHozlpZBVLOvWe+gwqDjzcLF VG3tFZ3Fu9+yjP2GsLZotGkDzeUy4VkD5plA4HjFECn3HuLP9yY7rB2kvtEOP0YP jzrghR32c00umejZjSHcLbrIAHlLKtH0lKewuVG7MJjCZ3ASAeCJyfCzksbaRU6J /xhwzSr3UlPMiRbiRZgtoPu1jqFLqn9JWyFAKUIQLVdVifHn+h0ajt3WCQFxEaf1 pDE0Gw/eUKDhJP8oGWCUUP1S/xEsrZVQ6qGbQPtwWCQIL1GfsVDYSf2tC2Ncka/8 orubpGGHHVF2kPusJpJgXzO0XbZjeh9deng== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrgedtuddgudegucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepofgfggfkjghffffhvfevufgtgfesthhqredtreerjeenucfhrhhomhepfdet rhhnugcuuegvrhhgmhgrnhhnfdcuoegrrhhnugesrghrnhgusgdruggvqeenucggtffrrg htthgvrhhnpefgkeeuleegieeghfduudeltdekfeffjeeuleehleefudettddtgfevueef feeigeenucffohhmrghinhepkhgvrhhnvghlrdhorhhgnecuvehluhhsthgvrhfuihiivg eptdenucfrrghrrghmpehmrghilhhfrhhomheprghrnhgusegrrhhnuggsrdguvg X-ME-Proxy: Feedback-ID: i56a14606:Fastmail Received: by mailuser.nyi.internal (Postfix, from userid 501) id B690AB60086; Tue, 6 Jun 2023 05:16:02 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.9.0-alpha0-447-ge2460e13b3-fm-20230525.001-ge2460e13 Mime-Version: 1.0 Message-Id: <11bd37e9-c62e-46ba-9456-8e3b353df28f@app.fastmail.com> In-Reply-To: References: Date: Tue, 06 Jun 2023 11:15:42 +0200 From: "Arnd Bergmann" To: "Geert Uytterhoeven" , "Naresh Kamboju" Cc: "open list" , linux-next , lkft-triage@lists.linaro.org, clang-built-linux , Linux-Renesas , "Linux ARM" , Netdev , "Nathan Chancellor" , "Nick Desaulniers" , "Anders Roxell" , "Geert Uytterhoeven" , "David S . Miller" , "Eric Dumazet" , "Jakub Kicinski" , "Paolo Abeni" , "Maxime Coquelin" , maxime.chevallier@bootlin.com, "Simon Horman" Subject: Re: arm: shmobile_defconfig: ld.lld: error: undefined symbol: lynx_pcs_destroy Content-Type: text/plain;charset=utf-8 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jun 6, 2023, at 11:01, Geert Uytterhoeven wrote: > Hi Naresh, > > On Tue, Jun 6, 2023 at 10:53=E2=80=AFAM Naresh Kamboju > wrote: >> On Tue, 6 Jun 2023 at 14:17, Naresh Kamboju wrote: >> > Following build regressions found while building arm shmobile_defco= nfig on >> > Linux next-20230606. >> > >> > Regressions found on arm: >> > >> > - build/clang-16-shmobile_defconfig >> > - build/gcc-8-shmobile_defconfig >> > - build/gcc-12-shmobile_defconfig >> > - build/clang-nightly-shmobile_defconfig >> >> And mips defconfig builds failed. >> Regressions found on mips: >> >> - build/clang-16-defconfig >> - build/gcc-12-defconfig >> - build/gcc-8-defconfig >> - build/clang-nightly-defconfig > > Please give my fix a try: > https://lore.kernel.org/linux-renesas-soc/7b36ac43778b41831debd5c30b5b= 37d268512195.1686039915.git.geert+renesas@glider.be > This won't work when PCS_LYNX is a loadable module and STMMAC is built-in. I think we should just select PCS_LYNX unconditionally from stmmac even if no front-end driver using it is enabled. I tried to come up with a way to move the dependency into the altera specific front-end, but couldn't find an obvious or simple way to do this. Having a proper abstraction for PCS drivers instead of directly calling into exported driver symbols might help here, but that would add complexity elsewhere. Arnd