GNU Linux-libre 6.15-rc7-gnu: rust help needed
Alexandre Oliva
lxoliva at fsfla.org
Fri May 23 04:19:15 UTC 2025
On May 22, 2025, "Benson Muite" <benson_muite at emailplus.org> wrote:
> On Thu, May 22, 2025, at 1:44 PM, Alexandre Oliva wrote:
>> Thanks! Could you please confirm that NOVA_CORE was enabled in .config?
>> (I'm having real trouble believing that the changes I made to rust
>> sources got past the compiler ;-)
> It was not enabled.
Ok, I'm less surprised now, but it means the test didn't provide the
information I was after :-(
I don't really know what needs to be done to get NOVA_CORE enabled.
Presumably having all the required pieces of rust is a prerequisite.
Me, I haven't been able to get even rust/kernel/firmware.rs to compile:
'make rustavailable' at the top level should tell whether you have all
it takes. So I don't really know what to expect, but I'd think that
without that you won't be able to enable any rust modules in the kernel
config.
NOVA_CORE depends on:
depends on PCI
depends on RUST
depends on RUST_FW_LOADER_ABSTRACTIONS
RUST_FW_LOADER_ABSTRACTIONS presumably requires bindgen.
But it also defaults to 'n', so yes, you'd need to enable it explicitly
to get it built.
> Where is the spec file that is used for the rpms at:
> https://linux-libre.fsfla.org/pub/linux-libre/rpmfreedom/latest/RPMS/x86_64/
I don't think it's in the repo, but it's not relevant for this pursuit:
NOVA_CORE is new in 6.15, and rpmfreedom doesn't have 6.15 yet.
> or is the aim to replicate as closely as possible what is in:
> https://src.fedoraproject.org/rpms/kernel/blob/rawhide/f/kernel.spec
No, Freed-ora used to do that, but it has been discontinued.
--
Alexandre Oliva, happy hacker https://blog.lx.oliva.nom.br/
Free Software Activist FSFLA co-founder GNU Toolchain Engineer
Learn the truth about Richard Stallman at https://stallmansupport.org/
More information about the linux-libre
mailing list