Re: Problem with rust module

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, Apr 28, 2024 at 10:01 AM qwer trump <vivazsj@xxxxxxxxx> wrote:
>
> Hi,Miguel
> Thanks for your reply. I really have this config enabled.



Then, you were attempting to build the rust module
with CONFIG_RUST disabled.


RUST depends on !MODVERSIONS.




>
> Best Regards
>
> Miguel Ojeda <miguel.ojeda.sandonis@xxxxxxxxx> 于2024年4月26日周五 19:26写道:
> >
> > On Fri, Apr 26, 2024 at 11:46 AM qwer trump <vivazsj@xxxxxxxxx> wrote:
> > >
> > > ERROR: modpost: too long symbol
> > > "_RNvNtNtCschHAZg3Q02y_6kernel5print14format_strings4INFO"
> > > [/linux-rust/samples/rust/rust_minimal.ko]
> > >
> > > But I see there are many long symbols in Module.symvers. So I guess there's
> > > something wrong with modpost.
> >
> > This shows up with `CONFIG_MODVERSIONS=y`, but you should not be able
> > to enable the Rust support if you have that enabled (until it gets
> > resolved, see [1][2]).
> >
> > Do you have `CONFIG_MODVERSIONS` enabled?
> >
> > Thanks!
> >
> > Cheers,
> > Miguel
> >
> > [1] https://lore.kernel.org/rust-for-linux/20230111161155.1349375-1-gary@xxxxxxxxxxx/
> > [2] https://lore.kernel.org/rust-for-linux/20231115185858.2110875-1-mmaurer@xxxxxxxxxx/
>


--
Best Regards


Masahiro Yamada





[Index of Archives]     [Linux&nblp;USB Development]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite Secrets]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux