Re: [ANNOUNCE] 4.19.106-rt45

From: Steven Rostedt
Date: Fri Mar 27 2020 - 19:29:18 EST


On Fri, 27 Mar 2020 23:16:51 +0000
Tiejun Chen <tiejunc@xxxxxxxxxx> wrote:

> Steven,
>
> We cannot build this release (maybe all 4.19-rt) with CONFIG_UBSAN=y

Thanks for the report. I'll take a look at this on Monday.

-- Steve

> ----
> lib/ubsan.c: In function '__ubsan_handle_vla_bound_not_positive':
> lib/ubsan.c:348:2: error: too many arguments to function 'ubsan_prologue'
> ubsan_prologue(&data->location, &flags);
> ^~~~~~~~~~~~~~
> lib/ubsan.c:146:13: note: declared here
> static void ubsan_prologue(struct source_location *location)
> ^~~~~~~~~~~~~~
> lib/ubsan.c:353:2: error: too many arguments to function 'ubsan_epilogue'
> ubsan_epilogue(&flags);
> ^~~~~~~~~~~~~~
> lib/ubsan.c:155:13: note: declared here
> static void ubsan_epilogue(void)
> ^~~~~~~~~~~~~~
>
> I think you have to squash the following into patches/0309-lib-ubsan-Don-t-seralize-UBSAN-report.patch In your release.
>
> rebase onto [PATCH 309/326] lib/ubsan: Don't seralize UBSAN report
>
> Signed-off-by: Tiejun Chen <tiejunc@xxxxxxxxxx>
>