[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20251124144714.GT3245006@noisy.programming.kicks-ass.net>
Date: Mon, 24 Nov 2025 15:47:14 +0100
From: Peter Zijlstra <peterz@...radead.org>
To: Boqun Feng <boqun.feng@...il.com>
Cc: Stephen Rothwell <sfr@...b.auug.org.au>,
Thomas Gleixner <tglx@...utronix.de>,
Ingo Molnar <mingo@...nel.org>, "H. Peter Anvin" <hpa@...or.com>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Linux Next Mailing List <linux-next@...r.kernel.org>,
ojeda@...nel.org, Danilo Krummrich <dakr@...nel.org>,
Alexandre Courbot <acourbot@...dia.com>,
nouveau@...ts.freedesktop.org, Alice Ryhl <aliceryhl@...gle.com>
Subject: Re: linux-next: build failure after merge of the tip tree
On Mon, Nov 24, 2025 at 06:00:52AM -0800, Boqun Feng wrote:
> On Mon, Nov 24, 2025 at 01:32:49PM +0100, Peter Zijlstra wrote:
> > On Mon, Nov 24, 2025 at 11:16:44PM +1100, Stephen Rothwell wrote:
> > > Hi all,
> > >
> > > After merging the tip tree, today's linux-next build (x86_64 allmodconfig)
> > > failed like this:
> > >
> > > ERROR: modpost: "NULL" [drivers/gpu/nova-core/nova_core.ko] undefined!
> > >
> >
> > Rust :/
> >
> > So I have:
> >
> > $ make O=tmp-build LLVM=-22 allmodconfig
> > $ make O=tmp-build LLVM=-22 rustavailable
> > Rust is available!
> > $ grep -e CONFIG_RUST= -e CONFIG_NOVA= tmp-build/.config
> > $
> >
> > Help ?!?
> >
>
> [CC nova]
>
> On my system it seems that RANDSTRUCT=y prevents the enabling of RUST,
> but I'm sure Danilo and Alexandre have better ideas about how to enable
> nova-core.
Ah, indeed, RANDSTRUCT seems to be messing things up. I tried disabling
that, but then I need to manually enable random crap to get Nova happy
and menuconfig isn't very nice.
I really don't think rustavailable is doing a good job here. Strictly
speaking yes, its available, but figuring out why things don't work is a
giant pain in the arse.
Now, lets see if frobbing Kconfig to disqualify RANDSTRUCT will let
allmodconfig work better.
Powered by blists - more mailing lists