Re: rustgcc-kselftest: error: unknown unstable option: `patchable-function-entry`

From: Naresh Kamboju
Date: Tue Sep 17 2024 - 03:45:42 EST


On Tue, 17 Sept 2024 at 00:53, Miguel Ojeda
<miguel.ojeda.sandonis@xxxxxxxxx> wrote:
>
> Hi Naresh,
>
> On Mon, Sep 16, 2024 at 9:17 PM Naresh Kamboju
> <naresh.kamboju@xxxxxxxxxx> wrote:
> >
> > The x86 rust gcc builds failed on the Linux next-20240917 due to following build
> > warnings / errors with rustgcc for selftests rust builds.
> >
> > First seen on next-20240917
> > Good: next-20240913
> > BAD: next-20240917
> >
> > Reported-by: Linux Kernel Functional Testing <lkft@xxxxxxxxxx>
>
> Thanks for the report -- this should be already fixed in `rust-next`
> for tomorrow (requirement changed from `!FINEIBT` to `!CALL_PADDING`),
> please see https://lore.kernel.org/rust-for-linux/CANiq72=B9NmC=1eSaOrg7XutjueQsSXGcBQb7dQFPuL0SFjPsA@xxxxxxxxxxxxxx/
>
> If you can confirm it is, that would be great, thanks! i.e. you will
> need either to disable `CALL_PADDING` or use a newer Rust compiler
> version.

I will try to use the newer Rust Compiler.

>
> By the way, I think you meant next-202409176, not next-20240917?
Right, I mean next-20240916.

- Naresh

>
> Cheers,
> Miguel