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-prev] [day] [month] [year] [list]
Date:   Sat, 30 Jan 2021 11:11:01 -0800
From:   Randy Dunlap <rdunlap@...radead.org>
To:     Jakub Kicinski <kuba@...nel.org>, kernel test robot <lkp@...el.com>
Cc:     kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org,
        Arnd Bergmann <arnd@...nel.org>
Subject: Re: bnx2x_main.c:undefined reference to `synchronize_net'

On 1/30/21 10:31 AM, Jakub Kicinski wrote:
> I don't understand how this one happens and don't have a PPC build
> setup :S So many things seem to depend on NET here that "this should
> never happen". Must be some rogue "select" pulling BNX2 without its
> dependencies?

Yes, the problem is overuse of Kconfig "select" in powerpc for the
AKEBONO platform. The Kconfig warnings are listed at the end:

>>
>> Kconfig warnings: (for reference only)
>>    WARNING: unmet direct dependencies detected for NETDEVICES
>>    Depends on NET
>>    Selected by
>>    - AKEBONO && PPC_47x
>>    WARNING: unmet direct dependencies detected for ETHERNET
>>    Depends on NETDEVICES && NET
>>    Selected by
>>    - AKEBONO && PPC_47x
>>    WARNING: unmet direct dependencies detected for HOTPLUG_CPU
>>    Depends on SMP && (PPC_PSERIES || PPC_PMAC || PPC_POWERNV || FSL_SOC_BOOKE
>>    Selected by
>>    - PM_SLEEP_SMP && SMP && (ARCH_SUSPEND_POSSIBLE || ARCH_HIBERNATION_POSSIBLE && PM_SLEEP
>>    WARNING: unmet direct dependencies detected for NET_DEVLINK
>>    Depends on NET
>>    Selected by
>>    - QED && NETDEVICES && ETHERNET && NET_VENDOR_QLOGIC && PCI
>>    WARNING: unmet direct dependencies detected for GRO_CELLS
>>    Depends on NET
>>    Selected by
>>    - MACSEC && NETDEVICES && NET_CORE
>>    WARNING: unmet direct dependencies detected for FAILOVER
>>    Depends on NET
>>    Selected by
>>    - NET_FAILOVER && NETDEVICES

I'm pretty sure that Michael Ellerman (powerpc maintainer) was going to make
some defconfig file changes for AKEBONO, but I'm not so sure that that
change will prevent randconfig build errors. I'm in a wait-and-see mode on that.

Hm, looking back at his reply to my (powerpc, not net:) patch,
I owe him a reply, so I'll look into that.

https://lore.kernel.org/linuxppc-dev/875z3prcwg.fsf@mpe.ellerman.id.au/

-- 
~Randy

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ