Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp6911380rwd; Tue, 6 Jun 2023 03:56:19 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ44Vr+zKqJS9dAIyKUV+VlaCNFxEfO1C85QVS56lRzWSMRIqWdyVuxvWDayVRSYPV/8wdhL X-Received: by 2002:a05:620a:2622:b0:75c:ca53:d5fd with SMTP id z34-20020a05620a262200b0075cca53d5fdmr2345070qko.27.1686048979001; Tue, 06 Jun 2023 03:56:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686048978; cv=none; d=google.com; s=arc-20160816; b=dgDvAhsoEf6C0X1v/sipg4sViwqr42fEFxH4JpdRYpr9+Qq/Ba2YmqSRnfSzX553Ij iNgksW/LxE0/A7ogzwM3e39NFTnKjjLP5y4JG2C21NCfiJ+Xm0bZCs3nTHNo92ndk8Kp EiL6VswOgWevFe69KCX9yn5zlDjmF1cjlIPCrjy8mNJV6m2b5d6GGtplWMtCiFz2CJAU 9K3l5DNA0wz6eOF8Aa/PHsBxEqAIZBb2GIZ8698qShwBZYJC33aYncmDlvpXoiERmr1t mavgFgixwlY1csUOCIVn1nNl21o9pqUmb6cC+JtaajmlxjNWAuNNqaAXUtpk2zmJB1ok QCjA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:subject:cc:to:from :date:references:in-reply-to:message-id:mime-version:user-agent :feedback-id:dkim-signature:dkim-signature; bh=IJQmq65vo/TbxYcHIKSUTBkPubJ2sYVBmz1OpSutP+s=; b=P3ZyYga7pdAWR46/rn642cFQ4YlnEGgv10kc9Yi+UWtpy5U0LK8M13bWqAntpP1xP6 9cRLqHNngZstbG9uxV7ISEe9nP2QKvfHAfaQ0abjKmCV7ZIEqsOvmw9Ee61xP/2IG5nM jEBGD09w84bb+j8cLRIVXLkRliAkYcY1BmdNljw0nwDg9uRQUwJ1LykIoJ2tOKySJKv9 BdgGw6GMwVYEpHCdT70EM19D7FW0Z/5FDni+b6A7+Or5J/xop/e55umPmoVTPGhRoiHw kM9c1R77lMUlsZlFaUF6K5AJTA+Gl+98YynrwPUvHkv4GxF+TtxBbL0Jfau0I5YKGiii 7SaA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@arndb.de header.s=fm1 header.b=tCzQEzAj; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b="E+EsLFO/"; 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 h7-20020a37c447000000b0075ec8f39a03si960989qkm.373.2023.06.06.03.56.04; Tue, 06 Jun 2023 03:56:18 -0700 (PDT) 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=pass header.i=@arndb.de header.s=fm1 header.b=tCzQEzAj; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b="E+EsLFO/"; 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 S237056AbjFFKfw (ORCPT + 99 others); Tue, 6 Jun 2023 06:35:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56064 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237319AbjFFKfT (ORCPT ); Tue, 6 Jun 2023 06:35:19 -0400 Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 403A7E8; Tue, 6 Jun 2023 03:35:05 -0700 (PDT) Received: from compute6.internal (compute6.nyi.internal [10.202.2.47]) by mailout.nyi.internal (Postfix) with ESMTP id A4ADA5C0195; Tue, 6 Jun 2023 06:35:04 -0400 (EDT) Received: from imap51 ([10.202.2.101]) by compute6.internal (MEProxy); Tue, 06 Jun 2023 06:35:04 -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= 1686047704; x=1686134104; bh=IJQmq65vo/TbxYcHIKSUTBkPubJ2sYVBmz1 OpSutP+s=; b=tCzQEzAjGZmWxxg0Ys+hL5Ofm4CPVdUeLjDckZFymKghC6s96mw gMZl3xgVf8H37np+jaeqlCqbYevDJiRbGY2Y/QQ3IWuFNAlXeGCZdi08Vcfcc0Ig diYEzw+rSM+Dzk3BSpaMiv5GE0Fdz8jHigsmr2UdmhCzl01x59DJi5TjtiytNiF3 UmOcaqRaB/zgz8hccLy+dYgfs9m6tLz0fEqLkFzvZBkzQhcG0X2aUR4HFOcN7nKA zoPHmevhyLm+ezVo8xuA7PC1C+GcKT3KKVImStNZyAK6BwbbCg9o0lkHOmE54UP5 wHIx6YkhU6aW08qloWot58nqZUIXbHvKWpg== 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= 1686047704; x=1686134104; bh=IJQmq65vo/TbxYcHIKSUTBkPubJ2sYVBmz1 OpSutP+s=; b=E+EsLFO/5IILXucgn/rmLn2SynkIfpG6UlhSY0K+d6ngVmYtFVs Z93C/0xl1wEd9cJuq/V7RM1yR871b8XT72xa8VF5BfojzjVwVY9SI3T6z56OzxcX UmlQD5SeAHvx+UVVQtlDHz9DSferigh6Cd3G8ySCrXy/vq/+MHIlBcOXrgplqddG T8v5++J4OnGDCHmBw9BALl2hV0SAJ89NvPz84hYO5OhJIFHy3AfNkeCIc04HqDTL FeCp5OAAqigWhxJ15dRDmgGU7/ABUqyW+WRY4MG5+0HcnE+W6ib6GXrjkuRc+W7e GKi0U8F0krbMsqOy99KcTeyEHnTYONae/dw== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrgedtuddgfedtucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepofgfggfkjghffffhvfevufgtgfesthhqredtreerjeenucfhrhhomhepfdet rhhnugcuuegvrhhgmhgrnhhnfdcuoegrrhhnugesrghrnhgusgdruggvqeenucggtffrrg htthgvrhhnpeegfeejhedvledvffeijeeijeeivddvhfeliedvleevheejleetgedukedt gfejveenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpe grrhhnugesrghrnhgusgdruggv X-ME-Proxy: Feedback-ID: i56a14606:Fastmail Received: by mailuser.nyi.internal (Postfix, from userid 501) id 675B9B60086; Tue, 6 Jun 2023 06:35:04 -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: <34b7bbab-a301-42ad-a2cc-3b68ee1475b7@app.fastmail.com> In-Reply-To: References: <11bd37e9-c62e-46ba-9456-8e3b353df28f@app.fastmail.com> <8db9886f-e24f-44ee-8f8a-880dc3e4bf75@app.fastmail.com> Date: Tue, 06 Jun 2023 12:34:43 +0200 From: "Arnd Bergmann" To: "Geert Uytterhoeven" Cc: "Naresh Kamboju" , "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 X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS, SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jun 6, 2023, at 12:31, Geert Uytterhoeven wrote: > On Tue, Jun 6, 2023 at 12:21=E2=80=AFPM Arnd Bergmann = wrote: >> On Tue, Jun 6, 2023, at 11:28, Geert Uytterhoeven wrote: >> > On Tue, Jun 6, 2023 at 11:16=E2=80=AFAM Arnd Bergmann wrote: >> >> On Tue, Jun 6, 2023, at 11:01, Geert Uytterhoeven wrote: >> >> >> >> This won't work when PCS_LYNX is a loadable module and >> >> STMMAC is built-in. I think we should just select PCS_LYNX >> > >> > Oops, you're right, forgot about that case. >> > What about using IS_REACHABLE() instead? >> > No, that won't work either, as DWMAC_SOCFPGA can be modular, >> > with STMMAC builtin. >> >> It would work because of the 'select PCS_LYNX' below DWMAC_SOCFPGA, > > That was my first thought, but it won't work, as DWMAC_SOCFPGA=3Dm > causes PCS_LYNX=3Dm, while main STMMAC can still be builtin. Right, got it now. Arnd