* Re: arm: shmobile_defconfig: ld.lld: error: undefined symbol: lynx_pcs_destroy
[not found] <CA+G9fYv0a-XxXfG6bNuPZGT=fzjtEfRGEYwk3n6M1WhEHUPo9g@mail.gmail.com>
@ 2023-06-06 8:53 ` Naresh Kamboju
2023-06-06 9:01 ` Geert Uytterhoeven
0 siblings, 1 reply; 11+ messages in thread
From: Naresh Kamboju @ 2023-06-06 8:53 UTC (permalink / raw)
To: open list, Linux-Next Mailing List, lkft-triage,
clang-built-linux, Linux-Renesas, Linux ARM, Netdev
Cc: Nathan Chancellor, Nick Desaulniers, Arnd Bergmann, Anders Roxell,
Geert Uytterhoeven, David S. Miller, Eric Dumazet, Jakub Kicinski,
Paolo Abeni, Maxime Coquelin, maxime.chevallier
+ netdev
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
>
> ld.lld: error: undefined symbol: lynx_pcs_destroy
> >>> referenced by stmmac_mdio.c
> >>> drivers/net/ethernet/stmicro/stmmac/stmmac_mdio.o:(stmmac_mdio_unregister) in archive vmlinux.a
> make[2]: *** [scripts/Makefile.vmlinux:35: vmlinux] Error 1
>
>
> Reported-by: Linux Kernel Functional Testing <lkft@linaro.org>
>
> links,
> - https://qa-reports.linaro.org/lkft/linux-next-master/build/next-20230606/testrun/17347517/suite/build/test/gcc-12-shmobile_defconfig/history/
> - https://qa-reports.linaro.org/lkft/linux-next-master/build/next-20230606/testrun/17347562/suite/build/test/clang-16-shmobile_defconfig/log
>
> --
> Linaro LKFT
> https://lkft.linaro.org
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: arm: shmobile_defconfig: ld.lld: error: undefined symbol: lynx_pcs_destroy
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
2023-06-07 13:27 ` Aithal, Srikanth
0 siblings, 2 replies; 11+ messages in thread
From: Geert Uytterhoeven @ 2023-06-06 9:01 UTC (permalink / raw)
To: Naresh Kamboju
Cc: open list, Linux-Next Mailing List, lkft-triage,
clang-built-linux, Linux-Renesas, Linux ARM, Netdev,
Nathan Chancellor, Nick Desaulniers, Arnd Bergmann, Anders Roxell,
Geert Uytterhoeven, David S. Miller, Eric Dumazet, Jakub Kicinski,
Paolo Abeni, Maxime Coquelin, maxime.chevallier
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
Thanks!
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: arm: shmobile_defconfig: ld.lld: error: undefined symbol: lynx_pcs_destroy
2023-06-06 9:01 ` Geert Uytterhoeven
@ 2023-06-06 9:15 ` Arnd Bergmann
2023-06-06 9:28 ` Geert Uytterhoeven
2023-06-07 13:27 ` Aithal, Srikanth
1 sibling, 1 reply; 11+ messages in thread
From: Arnd Bergmann @ 2023-06-06 9:15 UTC (permalink / raw)
To: Geert Uytterhoeven, Naresh Kamboju
Cc: open list, linux-next, lkft-triage, 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, Simon Horman
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
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: arm: shmobile_defconfig: ld.lld: error: undefined symbol: lynx_pcs_destroy
2023-06-06 9:15 ` Arnd Bergmann
@ 2023-06-06 9:28 ` Geert Uytterhoeven
2023-06-06 10:21 ` Arnd Bergmann
0 siblings, 1 reply; 11+ messages in thread
From: Geert Uytterhoeven @ 2023-06-06 9:28 UTC (permalink / raw)
To: Arnd Bergmann
Cc: Naresh Kamboju, open list, linux-next, lkft-triage,
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,
Simon Horman
Hi Arnd,
On Tue, Jun 6, 2023 at 11:16 AM Arnd Bergmann <arnd@arndb.de> wrote:
> On Tue, Jun 6, 2023, at 11:01, Geert Uytterhoeven wrote:
> > 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
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.
> 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.
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: arm: shmobile_defconfig: ld.lld: error: undefined symbol: lynx_pcs_destroy
2023-06-06 9:28 ` Geert Uytterhoeven
@ 2023-06-06 10:21 ` Arnd Bergmann
2023-06-06 10:31 ` Geert Uytterhoeven
0 siblings, 1 reply; 11+ messages in thread
From: Arnd Bergmann @ 2023-06-06 10:21 UTC (permalink / raw)
To: Geert Uytterhoeven
Cc: Naresh Kamboju, open list, linux-next, lkft-triage,
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,
Simon Horman
On Tue, Jun 6, 2023, at 11:28, Geert Uytterhoeven wrote:
> On Tue, Jun 6, 2023 at 11:16 AM Arnd Bergmann <arnd@arndb.de> 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,
but I think that's too fragile and would easily break when another
dwmac front-end starts using PCS_LYNX without have the same select
statement. I think we should always avoid IS_REACHABLE().
Arnd
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: arm: shmobile_defconfig: ld.lld: error: undefined symbol: lynx_pcs_destroy
2023-06-06 10:21 ` Arnd Bergmann
@ 2023-06-06 10:31 ` Geert Uytterhoeven
2023-06-06 10:34 ` Arnd Bergmann
0 siblings, 1 reply; 11+ messages in thread
From: Geert Uytterhoeven @ 2023-06-06 10:31 UTC (permalink / raw)
To: Arnd Bergmann
Cc: Naresh Kamboju, open list, linux-next, lkft-triage,
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,
Simon Horman
Hi Arnd,
On Tue, Jun 6, 2023 at 12:21 PM Arnd Bergmann <arnd@arndb.de> wrote:
> On Tue, Jun 6, 2023, at 11:28, Geert Uytterhoeven wrote:
> > On Tue, Jun 6, 2023 at 11:16 AM Arnd Bergmann <arnd@arndb.de> 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=m
causes PCS_LYNX=m, while main STMMAC can still be builtin.
> but I think that's too fragile and would easily break when another
> dwmac front-end starts using PCS_LYNX without have the same select
> statement. I think we should always avoid IS_REACHABLE().
;-)
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: arm: shmobile_defconfig: ld.lld: error: undefined symbol: lynx_pcs_destroy
2023-06-06 10:31 ` Geert Uytterhoeven
@ 2023-06-06 10:34 ` Arnd Bergmann
0 siblings, 0 replies; 11+ messages in thread
From: Arnd Bergmann @ 2023-06-06 10:34 UTC (permalink / raw)
To: Geert Uytterhoeven
Cc: Naresh Kamboju, open list, linux-next, lkft-triage,
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,
Simon Horman
On Tue, Jun 6, 2023, at 12:31, Geert Uytterhoeven wrote:
> On Tue, Jun 6, 2023 at 12:21 PM Arnd Bergmann <arnd@arndb.de> wrote:
>> On Tue, Jun 6, 2023, at 11:28, Geert Uytterhoeven wrote:
>> > On Tue, Jun 6, 2023 at 11:16 AM Arnd Bergmann <arnd@arndb.de> 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=m
> causes PCS_LYNX=m, while main STMMAC can still be builtin.
Right, got it now.
Arnd
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: arm: shmobile_defconfig: ld.lld: error: undefined symbol: lynx_pcs_destroy
2023-06-06 9:01 ` Geert Uytterhoeven
2023-06-06 9:15 ` Arnd Bergmann
@ 2023-06-07 13:27 ` Aithal, Srikanth
2023-06-07 13:41 ` Russell King (Oracle)
2023-06-07 13:59 ` Arnd Bergmann
1 sibling, 2 replies; 11+ messages in thread
From: Aithal, Srikanth @ 2023-06-07 13:27 UTC (permalink / raw)
To: Geert Uytterhoeven, Naresh Kamboju
Cc: open list, Linux-Next Mailing List, lkft-triage,
clang-built-linux, Linux-Renesas, Linux ARM, Netdev,
Nathan Chancellor, Nick Desaulniers, Arnd Bergmann, Anders Roxell,
Geert Uytterhoeven, David S. Miller, Eric Dumazet, Jakub Kicinski,
Paolo Abeni, Maxime Coquelin, maxime.chevallier, joyce.ooi
On 6/6/2023 2:31 PM, 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
On x86 as well seeing couple of issues related to same, not on defconfig
though..
ERROR: modpost: "lynx_pcs_destroy"
[drivers/net/ethernet/stmicro/stmmac/stmmac.ko] undefined!
ERROR: modpost: "lynx_pcs_destroy"
[drivers/net/ethernet/altera/altera_tse.ko] undefined!
make[1]: *** [scripts/Makefile.modpost:136: Module.symvers] Error 1
make: *** [Makefile:1984: modpost] Error 2
Among above issues stmmac issue would be resolved with above mentioned fix.
>
> Thanks!
>
> Gr{oetje,eeting}s,
>
> Geert
>
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: arm: shmobile_defconfig: ld.lld: error: undefined symbol: lynx_pcs_destroy
2023-06-07 13:27 ` Aithal, Srikanth
@ 2023-06-07 13:41 ` Russell King (Oracle)
2023-06-07 13:59 ` Arnd Bergmann
1 sibling, 0 replies; 11+ messages in thread
From: Russell King (Oracle) @ 2023-06-07 13:41 UTC (permalink / raw)
To: Aithal, Srikanth
Cc: Geert Uytterhoeven, Naresh Kamboju, open list,
Linux-Next Mailing List, lkft-triage, clang-built-linux,
Linux-Renesas, Linux ARM, Netdev, Nathan Chancellor,
Nick Desaulniers, Arnd Bergmann, Anders Roxell,
Geert Uytterhoeven, David S. Miller, Eric Dumazet, Jakub Kicinski,
Paolo Abeni, Maxime Coquelin, maxime.chevallier, joyce.ooi
On Wed, Jun 07, 2023 at 06:57:17PM +0530, Aithal, Srikanth wrote:
> On 6/6/2023 2:31 PM, 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
> On x86 as well seeing couple of issues related to same, not on defconfig
> though..
>
> ERROR: modpost: "lynx_pcs_destroy"
> [drivers/net/ethernet/stmicro/stmmac/stmmac.ko] undefined!
> ERROR: modpost: "lynx_pcs_destroy"
> [drivers/net/ethernet/altera/altera_tse.ko] undefined!
> make[1]: *** [scripts/Makefile.modpost:136: Module.symvers] Error 1
> make: *** [Makefile:1984: modpost] Error 2
>
> Among above issues stmmac issue would be resolved with above mentioned fix.
Patches are in progress to resolve this issue (on netdev), please be
patient.
Even better would be to check netdev for the patches, review them, and
give them a test, and provide feedback, which will help get them
merged.
Latest version can be found here:
https://lore.kernel.org/netdev/20230607135941.407054-1-maxime.chevallier@bootlin.com/T/#t
Thanks.
--
RMK's Patch system: https://www.armlinux.org.uk/developer/patches/
FTTP is here! 80Mbps down 10Mbps up. Decent connectivity at last!
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: arm: shmobile_defconfig: ld.lld: error: undefined symbol: lynx_pcs_destroy
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
1 sibling, 1 reply; 11+ messages in thread
From: Arnd Bergmann @ 2023-06-07 13:59 UTC (permalink / raw)
To: Aithal, Srikanth, Geert Uytterhoeven, Naresh Kamboju
Cc: open list, linux-next, lkft-triage, 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, joyce.ooi
On Wed, Jun 7, 2023, at 15:27, Aithal, Srikanth wrote:
> On 6/6/2023 2:31 PM, Geert Uytterhoeven wrote:
>> 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
> On x86 as well seeing couple of issues related to same, not on defconfig
> though..
>
> ERROR: modpost: "lynx_pcs_destroy"
> [drivers/net/ethernet/stmicro/stmmac/stmmac.ko] undefined!
> ERROR: modpost: "lynx_pcs_destroy"
> [drivers/net/ethernet/altera/altera_tse.ko] undefined!
> make[1]: *** [scripts/Makefile.modpost:136: Module.symvers] Error 1
> make: *** [Makefile:1984: modpost] Error 2
>
> Among above issues stmmac issue would be resolved with above mentioned fix.
I sent out my version of the build fixups for altera and stmmac now.
Arnd
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: arm: shmobile_defconfig: ld.lld: error: undefined symbol: lynx_pcs_destroy
2023-06-07 13:59 ` Arnd Bergmann
@ 2023-06-09 5:22 ` Aithal, Srikanth
0 siblings, 0 replies; 11+ messages in thread
From: Aithal, Srikanth @ 2023-06-09 5:22 UTC (permalink / raw)
To: Arnd Bergmann, Geert Uytterhoeven, Naresh Kamboju
Cc: open list, linux-next, lkft-triage, 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, joyce.ooi
On 6/7/2023 7:29 PM, Arnd Bergmann wrote:
> On Wed, Jun 7, 2023, at 15:27, Aithal, Srikanth wrote:
>> On 6/6/2023 2:31 PM, Geert Uytterhoeven wrote:
>>> 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
>> On x86 as well seeing couple of issues related to same, not on defconfig
>> though..
>>
>> ERROR: modpost: "lynx_pcs_destroy"
>> [drivers/net/ethernet/stmicro/stmmac/stmmac.ko] undefined!
>> ERROR: modpost: "lynx_pcs_destroy"
>> [drivers/net/ethernet/altera/altera_tse.ko] undefined!
>> make[1]: *** [scripts/Makefile.modpost:136: Module.symvers] Error 1
>> make: *** [Makefile:1984: modpost] Error 2
>>
>> Among above issues stmmac issue would be resolved with above mentioned fix.
>
> I sent out my version of the build fixups for altera and stmmac now.
Thanks, tested with next-20230608 and it builds fine.
Tested-by: sraithal@amd.com
>
> Arnd
^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2023-06-09 5:23 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[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
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
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).