From: "Arnd Bergmann" <arnd@arndb.de>
To: "Geert Uytterhoeven" <geert@linux-m68k.org>,
"Naresh Kamboju" <naresh.kamboju@linaro.org>
Cc: "open list" <linux-kernel@vger.kernel.org>,
linux-next <linux-next@vger.kernel.org>,
lkft-triage@lists.linaro.org,
clang-built-linux <llvm@lists.linux.dev>,
Linux-Renesas <linux-renesas-soc@vger.kernel.org>,
"Linux ARM" <linux-arm-kernel@lists.infradead.org>,
Netdev <netdev@vger.kernel.org>,
"Nathan Chancellor" <nathan@kernel.org>,
"Nick Desaulniers" <ndesaulniers@google.com>,
"Anders Roxell" <anders.roxell@linaro.org>,
"Geert Uytterhoeven" <geert+renesas@glider.be>,
"David S . Miller" <davem@davemloft.net>,
"Eric Dumazet" <edumazet@google.com>,
"Jakub Kicinski" <kuba@kernel.org>,
"Paolo Abeni" <pabeni@redhat.com>,
"Maxime Coquelin" <mcoquelin.stm32@gmail.com>,
maxime.chevallier@bootlin.com,
"Simon Horman" <simon.horman@corigine.com>
Subject: Re: arm: shmobile_defconfig: ld.lld: error: undefined symbol: lynx_pcs_destroy
Date: Tue, 06 Jun 2023 11:15:42 +0200 [thread overview]
Message-ID: <11bd37e9-c62e-46ba-9456-8e3b353df28f@app.fastmail.com> (raw)
In-Reply-To: <CAMuHMdX7hqipiMCF9uxpU+_RbLmzyHeo-D0tCE_Hx8eTqQ7Pig@mail.gmail.com>
On Tue, Jun 6, 2023, at 11:01, Geert Uytterhoeven wrote:
> Hi Naresh,
>
> On Tue, Jun 6, 2023 at 10:53 AM Naresh Kamboju
> <naresh.kamboju@linaro.org> wrote:
>> On Tue, 6 Jun 2023 at 14:17, Naresh Kamboju <naresh.kamboju@linaro.org> wrote:
>> > Following build regressions found while building arm shmobile_defconfig 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/7b36ac43778b41831debd5c30b5b37d268512195.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
next prev parent reply other threads:[~2023-06-06 9:16 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <CA+G9fYv0a-XxXfG6bNuPZGT=fzjtEfRGEYwk3n6M1WhEHUPo9g@mail.gmail.com>
2023-06-06 8:53 ` arm: shmobile_defconfig: ld.lld: error: undefined symbol: lynx_pcs_destroy Naresh Kamboju
2023-06-06 9:01 ` Geert Uytterhoeven
2023-06-06 9:15 ` Arnd Bergmann [this message]
2023-06-06 9:28 ` Geert Uytterhoeven
2023-06-06 10:21 ` Arnd Bergmann
2023-06-06 10:31 ` Geert Uytterhoeven
2023-06-06 10:34 ` Arnd Bergmann
2023-06-07 13:27 ` Aithal, Srikanth
2023-06-07 13:41 ` Russell King (Oracle)
2023-06-07 13:59 ` Arnd Bergmann
2023-06-09 5:22 ` Aithal, Srikanth
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=11bd37e9-c62e-46ba-9456-8e3b353df28f@app.fastmail.com \
--to=arnd@arndb.de \
--cc=anders.roxell@linaro.org \
--cc=davem@davemloft.net \
--cc=edumazet@google.com \
--cc=geert+renesas@glider.be \
--cc=geert@linux-m68k.org \
--cc=kuba@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-next@vger.kernel.org \
--cc=linux-renesas-soc@vger.kernel.org \
--cc=lkft-triage@lists.linaro.org \
--cc=llvm@lists.linux.dev \
--cc=maxime.chevallier@bootlin.com \
--cc=mcoquelin.stm32@gmail.com \
--cc=naresh.kamboju@linaro.org \
--cc=nathan@kernel.org \
--cc=ndesaulniers@google.com \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
--cc=simon.horman@corigine.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).