toolchain: fix ARC GCC internal compiller error
authorEvgeniy Didin <Evgeniy.Didin@synopsys.com>
Tue, 2 Jul 2019 09:52:38 +0000 (12:52 +0300)
committerArnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Thu, 11 Jul 2019 20:01:01 +0000 (22:01 +0200)
commitdbf7fffb37e25c40fd5c03d0a64e50a1bba86424
tree15a89a565008924d5d16015acf875ddce75b39db
parentd6c9e58b82289895706c2b162a65b2b009008b15
toolchain: fix ARC GCC internal compiller error

With recent arc-toolchain update some packages started to fail with
internal compiler error. This error first was caught while building
glibc-testsuite with upstream gcc-8 and ARC port of glibc. For
more information see BUG 89838:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89838

This commit adds the upstream patch for current version of arc-gcc and
should be removed with update to next version of ARC tools.

Fix in upstream gcc:
https://gcc.gnu.org/viewcvs/gcc?view=revision&sortby=date&revision=272645

Fixes:
http://autobuild.buildroot.net/results/66e/66e8f28ed171b5c8994e6ba8c4e6257d6bbe0191//
http://autobuild.buildroot.net/results/789/789016ff66bb4bcd2667a8c5241a680b98db5b2f//
http://autobuild.buildroot.net/results/dd9/dd9de722b886dee3e6373b026062e1aecc11efd3//

Signed-off-by: Evgeniy Didin <Evgeniy.Didin@synopsys.com>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Cc: arc-buildroot@synopsys.com
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
package/gcc/arc-2019.03-release/0001-ARC-PR89838.patch [new file with mode: 0644]