Recent upgrade of guile from 1.8.8-r2 to guile-2.0.12-r1 fails to compile, with an odd compiler error. In the grand scheme of things running older gcc version 4.9.3. the actual error: make[3]: Entering directory '/var/tmp/portage/dev-scheme/guile-2.0.12-r1/work/guile-2.0.12/libguile' /bin/sh ../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -DBUILDING_LIBGUILE=1 -I.. -I.. -I../lib -I../lib -I/usr/lib64/libffi-3.2.1/include -I/var/tmp/portage/dev-scheme/guile-2.0.12-r1/work/guile-2.0.12 -pthread -Wall -Wmissing-prototypes -Wdeclaration-after-statement -Wpointer-arith -Wswitch-enum -fno-strict-aliasing -fwrapv -fvisibility=hidden -Os -pipe -march=corei7-avx -c -o libguile_2.0_la-vm.lo `test -f 'vm.c' || echo './'`vm.c libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -DBUILDING_LIBGUILE=1 -I.. -I.. -I../lib -I../lib -I/usr/lib64/libffi-3.2.1/include -I/var/tmp/portage/dev-scheme/guile-2.0.12-r1/work/guile-2.0.12 -pthread -Wall -Wmissing-prototypes -Wdeclaration-after-statement -Wpointer-arith -Wswitch-enum -fno-strict-aliasing -fwrapv -fvisibility=hidden -Os -pipe -march=corei7-avx -c vm.c -fPIC -DPIC -o .libs/libguile_2.0_la-vm.o Unable to coalesce ssa_names 48 and 3288 which are marked as MUST COALESCE. sp_48(ab) and sp_3288(ab) vm-engine.c: In function 'vm_debug_engine': vm.c:666:19: internal compiler error: SSA corruption #define VM_NAME vm_debug_engine ^ 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 <https://bugs.gentoo.org/> for instructions. make[3]: *** [Makefile:3220: libguile_2.0_la-vm.lo] Error 1 [ebuild U ] dev-scheme/guile-2.0.12-r1:12/22::gentoo [1.8.8-r2:12/12::gentoo] USE="deprecated networking* nls regex threads -debug -debug-malloc (-debug-freelist%) (-discouraged%) (-emacs%) (-readline%*)" 0 KiB Was able to fix with a patch I found online: https://github.com/maximeh/buildroot/blob/master/package/guile/0004-workaround-ice-ssa-corruption.patch Which looks fairly old, and is for ARM even though I'm on amd64, but the same error. Hate to say it works for me, but hopefully it helps anyone else that has had this bug. Reproducible: Always
Created attachment 446036 [details, diff] Patch found online that fixes SSA corruption Attaching Patch
Created attachment 446038 [details] Ebuild that includes the patch
committer Amy Winston <amynka@gentoo.org> 2016-09-21 18:01:45 (GMT) commit cdf949db050341aec29539c5fb926f60b7fcffad dev-scheme/guile: add patch for bug #594010
(In reply to Amy Winston from comment #3) > committer Amy Winston <amynka@gentoo.org> 2016-09-21 18:01:45 (GMT) > commit cdf949db050341aec29539c5fb926f60b7fcffad > > dev-scheme/guile: add patch for bug #594010 Thanks !