netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* FYI: net/phy/marvell10g: android kernel builing error due to modpost error
@ 2022-04-18  9:22 Mauro Rossi
  2022-04-18 10:08 ` Russell King (Oracle)
  0 siblings, 1 reply; 5+ messages in thread
From: Mauro Rossi @ 2022-04-18  9:22 UTC (permalink / raw)
  To: netdev; +Cc: linux, kabel, Chih-Wei Huang

Hello,
FYI I am writing based on current ./MANTAINERS file in linux

I am testing the linux build during 5.18 rc cycle,while supporting
android-x86 project for hobby

At the final stage of building  Linux 5.18-rc3 with the necessary AOSP
changes, I am getting the following building error:

  MODPOST modules-only.symvers
ERROR: modpost: "__compiletime_assert_344"
[drivers/net/phy/marvell10g.ko] undefined!
make[2]: *** [/home/utente/r-x86_kernel/kernel/scripts/Makefile.modpost:134:
modules-only.symvers] Error 1
make[2]: *** Deleting file 'modules-only.symvers'
make[1]: *** [/home/utente/r-x86_kernel/kernel/Makefile:1749: modules] Error 2
make[1]: *** Waiting for unfinished jobs....

It never happened before throughout all my previous android-x86 kernel
rc cycle build tests, which spanned from linux version 5.10 to linux
version 5.18rc

I am using AOSP prebuilt llvm toochain, which is mandatory in AOSP
builds because gcc was removed from the AOSP toolchain

/home/utente/r-x86_kernel/prebuilts/clang/host/linux-x86/clang-r383902b1/bin/clang
--version
Android (6877366 based on r383902b1) clang version 11.0.2
(https://android.googlesource.com/toolchain/llvm-project
b397f81060ce6d701042b782172ed13bee898b79)
Target: x86_64-unknown-linux-gnu
Thread model: posix
InstalledDir: /home/utente/r-x86_kernel/prebuilts/clang/host/linux-x86/clang-r383902b1/bin

At the moment I can easily avoid the build breakage by disabling
drivers/net/phy/marvell10g.ko in kconfig (# CONFIG_MARVELL_10G_PHY is
not set)

but I wanted to inform you, becasue I'm not sure if it can be a
problem outside of AOSP/ android-x86 scope and if that's the case, you
are now informed/aware

Your feedback is appreciated
Thank you

Mauro Rossi
android-x86 team

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2022-05-01 21:28 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-04-18  9:22 FYI: net/phy/marvell10g: android kernel builing error due to modpost error Mauro Rossi
2022-04-18 10:08 ` Russell King (Oracle)
2022-04-19 16:39   ` Mauro Rossi
2022-05-01 18:51     ` Mauro Rossi
2022-05-01 21:28       ` Andrew Lunn

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).