rust-for-linux.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Error building sample modules
@ 2021-05-25 17:46 Thomas Thanner
  2021-05-25 18:52 ` Miguel Ojeda
  2021-05-26  2:21 ` Miguel Ojeda
  0 siblings, 2 replies; 5+ messages in thread
From: Thomas Thanner @ 2021-05-25 17:46 UTC (permalink / raw)
  To: rust-for-linux

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'


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2021-05-26 18:39 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-25 17:46 Error building sample modules Thomas Thanner
2021-05-25 18:52 ` Miguel Ojeda
2021-05-26  2:21 ` Miguel Ojeda
2021-05-26 18:22   ` Thomas Thanner
2021-05-26 18:38     ` Greg KH

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).