lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:   Mon, 18 Apr 2022 11:22:12 +0200
From:   Mauro Rossi <issor.oruam@...il.com>
To:     netdev@...r.kernel.org
Cc:     linux@...linux.org.uk, kabel@...nel.org,
        Chih-Wei Huang <cwhuang@...roid-x86.org>
Subject: FYI: net/phy/marvell10g: android kernel builing error due to modpost error

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ