Re: linux-next: build failure after merge of the ftrace tree
From: Alice Ryhl
Date: Fri Nov 08 2024 - 10:09:56 EST
On Fri, Nov 8, 2024 at 3:59 PM Steven Rostedt <rostedt@xxxxxxxxxxx> wrote:
>
> On Fri, 8 Nov 2024 15:21:49 +1100
> Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx> wrote:
>
> > Hi all,
> >
> > After merging the ftrace tree, today's linux-next build (x86_64
> > allmodconfig) failed like this:
> >
> > ERROR: modpost: missing MODULE_LICENSE() in samples/rust/rust_print_events.o
> > ERROR: modpost: "__tracepoint_rust_sample_loaded" [samples/rust/rust_print.ko] undefined!
> > ERROR: modpost: "rust_do_trace_rust_sample_loaded" [samples/rust/rust_print.ko] undefined!
> >
> > Caused by commit
> >
> > 91d39024e1b0 ("rust: samples: add tracepoint to Rust sample")
>
> Alice,
>
> Can you send a patch to fix this?
I'm working on it as we speak, but I haven't figured out how to
reproduce the problem yet. Using allmodconfig builds fine for me. Any
ideas?
Stephen, is there any more information you can share about this? What
versions of rustc, bindgen, and clang are you using?
Alice