Re: linux-next: build failure after merge of the ftrace tree

From: Steven Rostedt
Date: Fri Nov 08 2024 - 09:59:48 EST


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 have used the ftrace tree from next-20241107 for today.
>

I'll remove my rust topic branch until we have a fix.

Thanks,

-- Steve