]> code.ossystems Code Review - openembedded-core.git/commit
guile: workaround ice ssa corruption while DEBUG_BUILD
authorHongxu Jia <hongxu.jia@windriver.com>
Mon, 11 Aug 2014 02:23:46 +0000 (10:23 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 23 Aug 2014 22:01:36 +0000 (23:01 +0100)
commit3470bbf4ae178479bd090d7191d6f0469f154b0d
tree29072d6ef8771741f446b768c37f337932c594d9
parent2281180499cf3bec5c7e75cb596725dab190f72c
guile: workaround ice ssa corruption while DEBUG_BUILD

Add:
MACHINE = "qemux86-64"
DEBUG_BUILD = "1"
to local.conf and there was a ssa corruption to build guile:
..
Unable to coalesce ssa_names 48 and 3476 which are marked as MUST COALESCE.
sp_48(ab) and  sp_3476(ab)
guile-2.0.11/libguile/vm-engine.c: In function 'vm_debug_engine':
guile-2.0.11/libguile/vm.c:673:19: internal compiler error: SSA corruption
 #define VM_NAME   vm_debug_engine
                   ^
guile-2.0.11/libguile/vm-engine.c:39:1: note: in expansion of macro 'VM_NAME'
 VM_NAME (SCM vm, SCM program, SCM *argv, int nargs)
 ^
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
...

Tweak libguile/vm-i-system.c to check the value of nshuf to workaround it.
The tweak didn't change previous logic.

[YOCTO #6411]

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/guile/files/workaround-ice-ssa-corruption.patch [new file with mode: 0644]
meta/recipes-devtools/guile/guile_2.0.11.bb