package/gcc: fix libsanitizer build with Linux 5.13 headers
authorMaxim Kochetkov <fido_max@inbox.ru>
Thu, 1 Jul 2021 08:47:18 +0000 (11:47 +0300)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Sat, 31 Jul 2021 10:02:24 +0000 (12:02 +0200)
commit4d8ee4456a805c3ef626918abb6e4c49379ac0ec
tree5b19c9ada3c760f026c0fae3fe6d0cf5106f4cf6
parente5da0067fbf887cd3d33f1d5a2e653091c261eef
package/gcc: fix libsanitizer build with Linux 5.13 headers

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

gcc 9.4.0 has already been released with the fix, so we only patch gcc
8.x, 10.x, 11.x, the ARC and C-SKY versions

Fixes:

  http://autobuild.buildroot.net/results/7f2056d05f4e05fcb95e2606583e95fac8bf3aef/ (gcc 10.x)
  http://autobuild.buildroot.net/results/116f40c22946952a8190ccba85d26913d9786e52/ (gcc 11.x)

Signed-off-by: Maxim Kochetkov <fido_max@inbox.ru>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/gcc/10.3.0/0004-Remove-cyclades-from-libsanitizer.patch [new file with mode: 0644]
package/gcc/11.1.0/0001-Remove-cyclades-from-libsanitizer.patch [new file with mode: 0644]
package/gcc/48152afb96c59733d5bc79e3399bb7b3d4b44266/0001-libsanitizer-Remove-cyclades-from-libsanitizer.patch [new file with mode: 0644]
package/gcc/8.4.0/0003-libsanitizer-Remove-cyclades-from-libsanitizer.patch [new file with mode: 0644]
package/gcc/arc-2020.09-release/0002-libsanitizer-Remove-cyclades-from-libsanitizer.patch [new file with mode: 0644]