[Buildroot] [PATCH] package/gcc: fix ICE on xtensa, 5.x and 6.x, PR target/78603

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Wed Nov 30 21:50:15 UTC 2016


Hello,

On Tue, 29 Nov 2016 15:37:49 -0800, Max Filippov wrote:
> Zero overhead loop optimization pass may incorrectly put start of the
> loop between a call and its CALL_ARG_LOCATION note, resulting in the
> following build error:
> 
>   ../src/pjlib-test/thread.c: In function 'thread_test':
>   ../src/pjlib-test/thread.c:328:1: internal compiler error: in
>     dwarf2out_var_location, at dwarf2out.c:21846
> 
> Fixes:
>   http://autobuild.buildroot.net/results/d919e1276ce1d39b4b3eb09937927d5959cd69a3/
> 
> Signed-off-by: Max Filippov <jcmvbkbc at gmail.com>
> ---
>  .../gcc/5.4.0/876-xtensa-Fix-PR-target-78603.patch | 37 ++++++++++++++++++++++
>  .../gcc/6.2.0/871-xtensa-Fix-PR-target-78603.patch | 37 ++++++++++++++++++++++
>  2 files changed, 74 insertions(+)
>  create mode 100644 package/gcc/5.4.0/876-xtensa-Fix-PR-target-78603.patch
>  create mode 100644 package/gcc/6.2.0/871-xtensa-Fix-PR-target-78603.patch

Applied to master, thanks.

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com


More information about the buildroot mailing list