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

From
Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Date
2021-07-31 10:06:39
Reply to
Maxim Kochetkov, 2021-07-05
Hello,

On Mon,  5 Jul 2021 15:51:39 +0300
Maxim Kochetkov via buildroot [off-list ref] 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 <redacted>
---
 ...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
_______________________________________________
buildroot mailing list
buildroot@busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot
Thread (6 messages) 6 messages, 5 authors, last reply 2021-07-31
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help