Subject: linux-next: build failure after merge of the net-next tree

From: Stephen Rothwell <[email-masked]>
Date: Thu, 24 Jun 2021 08:29:11 +1000

Hi all,

Today's linux-next build (x86_64 modules_install) failed like this:

depmod: ../tools/depmod.c:1792: depmod_report_cycles_from_root: Assertion `is < stack_size' failed.

Caused by commit

62a6ef6a996f ("net: mdiobus: Introduce fwnode_mdbiobus_register()")

(I bisected to there and tested the commit before.)

The actual build is an x86_64 allmodconfig, followed by a
modules_install.  This happens in my cross build environment as well as
a native build.

$ gcc --version
gcc (Debian 10.2.1-6) 10.2.1 20210110
$ ld --version
GNU ld (GNU Binutils for Debian) 2.35.2
$ /sbin/depmod --version
kmod version 28
-ZSTD +XZ -ZLIB +LIBCRYPTO -EXPERIMENTAL

I have no idea why that commit should caused this failure.
-- 
Cheers,
Stephen Rothwell