All of lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Thanner <e580@thomasthanner.de>
To: rust-for-linux@vger.kernel.org
Subject: Error building sample modules
Date: Tue, 25 May 2021 19:46:03 +0200	[thread overview]
Message-ID: <fde720d1-cade-e01b-8dc2-afdbfa52bb3b@thomasthanner.de> (raw)

Hi,

I get the ERROR below building the rust sample modules.

Has somebody an idea, what I make wrong ?

Thanks

Thomas


make LLVM=1 -j4

...

...

OBJCOPY arch/x86/boot/setup.bin
BUILD   arch/x86/boot/bzImage
Kernel: arch/x86/boot/bzImage is ready  (#1)
ERROR: modpost: too long symbol 
"_RNvXsp_NtCsbDqzXfLQacH_6kernel12module_paramjNtB5_11ModuleParam5value" 
[samples/rust/rust_module_parameters.ko]
ERROR: modpost: too long symbol 
"_RNvXs0_NtCsbDqzXfLQacH_6kernel5printNtB5_13LogLineWriterNtNtCsbDqzXfLQacH_4core3fmt5Write9write_str" 
[samples/rust/rust_minimal.ko]
scripts/Makefile.modpost:132: recipe for target 'Module.symvers' failed
make[1]: *** [Module.symvers] Error 1
make[1]: *** Deleting file 'Module.symvers'


             reply	other threads:[~2021-05-25 17:46 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-25 17:46 Thomas Thanner [this message]
2021-05-25 18:52 ` Error building sample modules Miguel Ojeda
2021-05-26  2:21 ` Miguel Ojeda
2021-05-26 18:22   ` Thomas Thanner
2021-05-26 18:38     ` Greg KH

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=fde720d1-cade-e01b-8dc2-afdbfa52bb3b@thomasthanner.de \
    --to=e580@thomasthanner.de \
    --cc=rust-for-linux@vger.kernel.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.