[Buildroot] [PATCH v2] package/gcc: fix libsanitizer in gcc 11.1, 10.3 for linux 5.13

Thomas Petazzoni thomas.petazzoni at bootlin.com
Sat Jul 31 10:06:25 UTC 2021


Hello,

On Mon,  5 Jul 2021 15:51:39 +0300
Maxim Kochetkov via buildroot <buildroot at busybox.net> wrote:

> Starting from 5.13 Cyclades async mux support is dropped from linux kernel:
> https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=f76edd8f7ce06cdff2fe5b6b39a49644c684a161
> 
> But gcc's libsanitizer uses <linux/cyclades.h> header.
> This issue is fixed by:
> https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=745dae5923aba02982563481d75a21595df22ff8
> 
> Right now just gcc 9.4.0 has this commit and 8.4.0 is proposed to be deleted.
> So we need to add this patch for 10.3 and 11.1 to fix build with linux kernel 5.13.
> 
> Signed-off-by: Maxim Kochetkov <fido_max at inbox.ru>
> ---
>  ...er-Remove-cyclades-from-libsanitizer.patch | 123 ++++++++++++++++++
>  ...er-Remove-cyclades-from-libsanitizer.patch | 123 ++++++++++++++++++
>  2 files changed, 246 insertions(+)
>  create mode 100644 package/gcc/10.3.0/0004-libsanitizer-Remove-cyclades-from-libsanitizer.patch
>  create mode 100644 package/gcc/11.1.0/0001-libsanitizer-Remove-cyclades-from-libsanitizer.patch

Thanks for your patch! However, it was missing the backport of this
patch for gcc 8.x, for the special ARC and C-SKY versions, so I've
added that, as well as references to the autobuilder failures. And
patch applied, of course!

Thanks!

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com


More information about the buildroot mailing list