On Wed, Sep 25, 2024 at 9:28 AM Marco Bonelli <marco@xxxxxxxxxx> wrote: > > I was building v6.11 for PowerPC when I noticed that `make olddefconfig` hangs > indefinitely when running `scripts/kconfig/conf` and gets stuck in what seems > an infinite loop at 100% CPU while evaluating an expression. > > The issue is still present on master of linux-next. I did a bisect run and > narrowed it down to this commit: > > f79dc03fe68c79d388908182e68d702f7f1786bc kconfig: refactor choice value calculation > > Steps to reproduce: > > git checkout v6.11 > export ARCH=powerpc CROSS_COMPILE=powerpc-linux- > make distclean > make ppc64_defconfig > ./scripts/config --file .config -d PPC64 > make olddefconfig > # Hangs indefinitely running scripts/kconfig/conf > > > Let me know if any additional information is needed. Happy to help. This provides enough information to figure out the issue. I posted a patch. Thanks. -- Best Regards Masahiro Yamada