From: Miguel Ojeda <miguel.ojeda.sandonis@gmail.com>
To: qwer trump <vivazsj@gmail.com>
Cc: linux-kbuild@vger.kernel.org,
rust-for-linux <rust-for-linux@vger.kernel.org>
Subject: Re: Problem with rust module
Date: Fri, 26 Apr 2024 13:25:15 +0200 [thread overview]
Message-ID: <CANiq72mzHj+4pB4F5FbuyKVP7o751LxHosNeEu4UhHyWqwOmdg@mail.gmail.com> (raw)
In-Reply-To: <CANcniXsneeNs+Hfr9PScU2aYPyvn6re=5T0Cu5dgAa4N_b7m4A@mail.gmail.com>
On Fri, Apr 26, 2024 at 11:46 AM qwer trump <vivazsj@gmail.com> 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@garyguo.net/
[2] https://lore.kernel.org/rust-for-linux/20231115185858.2110875-1-mmaurer@google.com/
next parent reply other threads:[~2024-04-26 11:26 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <CANcniXsneeNs+Hfr9PScU2aYPyvn6re=5T0Cu5dgAa4N_b7m4A@mail.gmail.com>
2024-04-26 11:25 ` Miguel Ojeda [this message]
2024-04-28 1:00 ` Problem with rust module qwer trump
2024-04-29 14:56 ` Masahiro Yamada
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CANiq72mzHj+4pB4F5FbuyKVP7o751LxHosNeEu4UhHyWqwOmdg@mail.gmail.com \
--to=miguel.ojeda.sandonis@gmail.com \
--cc=linux-kbuild@vger.kernel.org \
--cc=rust-for-linux@vger.kernel.org \
--cc=vivazsj@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).