Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 414967

Summary: sys-devel/gcc-4.6.3 in dev-lang/gforth-0.7.0 - ./engine.c:460:1: internal compiler error: in simplify_subreg, at simplify-rtx.c:5250
Product: Gentoo Linux Reporter: Anton Kochkov <anton.kochkov>
Component: [OLD] Core systemAssignee: Gentoo Toolchain Maintainers <toolchain>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: full build log
emerge --info output

Description Anton Kochkov 2012-05-07 06:07:11 UTC
Created attachment 311059 [details]
full build log

make[3]: Entering directory `/var/tmp/portage/dev-lang/gforth-0.7.0/work/gforth-0.7.0/engine'
i686-pc-linux-gnu-gcc  -I./../arch/386 -I. -Wall -O2 -march=core2 -mfpmath=sse -mmmx -msse -msse2 -mssse3 -pipe -fomit-frame-pointer -fforce-addr -march=pentium -DHAVE_CONFIG_H -DFORCE_LL -DDEFAULTPATH='".:/usr/lib/gforth/site-forth:/usr/share/gforth/site-forth:/usr/lib/gforth/0.7.0:/usr/share/gforth/0.7.0"'   -fno-gcse -fno-strict-aliasing -fno-crossjumping -fno-reorder-blocks -falign-labels=1 -falign-loops=1 -falign-jumps=1 -fno-defer-pop -fcaller-saves -fno-inline -DGFORTH_DEBUGGING -o engine-ll.o -c ./engine.c
In file included from ./engine.c:455:0:
prim.i: In function ‘gforth_engine’:
prim.i:614:6: warning: variable ‘w2’ set but not used [-Wunused-but-set-variable]
prim.i:613:6: warning: variable ‘w1’ set but not used [-Wunused-but-set-variable]
In file included from ./engine.c:455:0:
prim.i:2406:6: warning: variable ‘w2’ set but not used [-Wunused-but-set-variable]
In file included from ./engine.c:455:0:
prim.i:2442:6: warning: variable ‘w2’ set but not used [-Wunused-but-set-variable]
prim.i:2441:6: warning: variable ‘w1’ set but not used [-Wunused-but-set-variable]
In file included from ./engine.c:455:0:
prim.i:2482:6: warning: variable ‘w4’ set but not used [-Wunused-but-set-variable]
prim.i:2481:6: warning: variable ‘w3’ set but not used [-Wunused-but-set-variable]
prim.i:2480:6: warning: variable ‘w2’ set but not used [-Wunused-but-set-variable]
prim.i:2479:6: warning: variable ‘w1’ set but not used [-Wunused-but-set-variable]
In file included from ./engine.c:455:0:
prim.i:2979:6: warning: variable ‘n2’ set but not used [-Wunused-but-set-variable]
In file included from ./engine.c:455:0:
prim.i:6235:6: warning: variable ‘w’ set but not used [-Wunused-but-set-variable]
In file included from ./engine.c:455:0:
prim.i:6365:7: warning: variable ‘d’ set but not used [-Wunused-but-set-variable]
In file included from ./engine.c:455:0:
prim.i:6397:6: warning: variable ‘w2’ set but not used [-Wunused-but-set-variable]
In file included from ./engine.c:455:0:
prim.i:6431:6: warning: variable ‘w’ set but not used [-Wunused-but-set-variable]
In file included from ./engine.c:455:0:
prim.i:6607:6: warning: variable ‘w1’ set but not used [-Wunused-but-set-variable]
In file included from ./engine.c:455:0:
prim.i:6753:6: warning: variable ‘w2’ set but not used [-Wunused-but-set-variable]
prim.i:6752:6: warning: variable ‘w1’ set but not used [-Wunused-but-set-variable]
In file included from ./engine.c:455:0:
prim.i:6825:6: warning: variable ‘w4’ set but not used [-Wunused-but-set-variable]
prim.i:6824:6: warning: variable ‘w3’ set but not used [-Wunused-but-set-variable]
In file included from ./engine.c:455:0:
prim.i:6959:6: warning: variable ‘w2’ set but not used [-Wunused-but-set-variable]
prim.i:6958:6: warning: variable ‘w1’ set but not used [-Wunused-but-set-variable]
In file included from ./engine.c:455:0:
prim.i:8165:7: warning: variable ‘u’ set but not used [-Wunused-but-set-variable]
prim.i:8164:8: warning: variable ‘c_addr’ set but not used [-Wunused-but-set-variable]
In file included from ./engine.c:455:0:
prim.i:11124:7: warning: variable ‘r’ set but not used [-Wunused-but-set-variable]
In file included from ./engine.c:455:0:
prim.i:11223:7: warning: variable ‘r2’ set but not used [-Wunused-but-set-variable]
In file included from ./engine.c:455:0:
prim.i:11296:7: warning: variable ‘r1’ set but not used [-Wunused-but-set-variable]
In file included from ./engine.c:455:0:
prim.i:13795:6: warning: variable ‘w’ set but not used [-Wunused-but-set-variable]
In file included from ./engine.c:455:0:
prim.i:13829:8: warning: variable ‘a_callee’ set but not used [-Wunused-but-set-variable]
i686-pc-linux-gnu-gcc  -I./../arch/386 -I. -Wall -O2 -march=core2 -mfpmath=sse -mmmx -msse -msse2 -mssse3 -pipe -fomit-frame-pointer -fforce-addr -march=pentium -DHAVE_CONFIG_H -DFORCE_LL -DDEFAULTPATH='".:/usr/lib/gforth/site-forth:/usr/share/gforth/site-forth:/usr/lib/gforth/0.7.0:/usr/share/gforth/0.7.0"'   -fno-gcse -fno-strict-aliasing -fno-crossjumping -fno-reorder-blocks -falign-labels=1 -falign-loops=1 -falign-jumps=1 -fno-defer-pop -fcaller-saves -fno-inline -DGFORTH_DEBUGGING -DENGINE=2 -o engine2-ll.o -c ./engine.c
In file included from ./engine.c:455:0:
prim.i: In function ‘gforth_engine2’:
prim.i:614:6: warning: variable ‘w2’ set but not used [-Wunused-but-set-variable]
prim.i:613:6: warning: variable ‘w1’ set but not used [-Wunused-but-set-variable]
In file included from ./engine.c:455:0:
prim.i:2406:6: warning: variable ‘w2’ set but not used [-Wunused-but-set-variable]
In file included from ./engine.c:455:0:
prim.i:2442:6: warning: variable ‘w2’ set but not used [-Wunused-but-set-variable]
prim.i:2441:6: warning: variable ‘w1’ set but not used [-Wunused-but-set-variable]
In file included from ./engine.c:455:0:
prim.i:2482:6: warning: variable ‘w4’ set but not used [-Wunused-but-set-variable]
prim.i:2481:6: warning: variable ‘w3’ set but not used [-Wunused-but-set-variable]
prim.i:2480:6: warning: variable ‘w2’ set but not used [-Wunused-but-set-variable]
prim.i:2479:6: warning: variable ‘w1’ set but not used [-Wunused-but-set-variable]
In file included from ./engine.c:455:0:
prim.i:2979:6: warning: variable ‘n2’ set but not used [-Wunused-but-set-variable]
In file included from ./engine.c:455:0:
prim.i:6235:6: warning: variable ‘w’ set but not used [-Wunused-but-set-variable]
In file included from ./engine.c:455:0:
prim.i:6365:7: warning: variable ‘d’ set but not used [-Wunused-but-set-variable]
In file included from ./engine.c:455:0:
prim.i:6397:6: warning: variable ‘w2’ set but not used [-Wunused-but-set-variable]
In file included from ./engine.c:455:0:
prim.i:6431:6: warning: variable ‘w’ set but not used [-Wunused-but-set-variable]
In file included from ./engine.c:455:0:
prim.i:6607:6: warning: variable ‘w1’ set but not used [-Wunused-but-set-variable]
In file included from ./engine.c:455:0:
prim.i:6753:6: warning: variable ‘w2’ set but not used [-Wunused-but-set-variable]
prim.i:6752:6: warning: variable ‘w1’ set but not used [-Wunused-but-set-variable]
In file included from ./engine.c:455:0:
prim.i:6825:6: warning: variable ‘w4’ set but not used [-Wunused-but-set-variable]
prim.i:6824:6: warning: variable ‘w3’ set but not used [-Wunused-but-set-variable]
In file included from ./engine.c:455:0:
prim.i:6959:6: warning: variable ‘w2’ set but not used [-Wunused-but-set-variable]
prim.i:6958:6: warning: variable ‘w1’ set but not used [-Wunused-but-set-variable]
In file included from ./engine.c:455:0:
prim.i:8165:7: warning: variable ‘u’ set but not used [-Wunused-but-set-variable]
prim.i:8164:8: warning: variable ‘c_addr’ set but not used [-Wunused-but-set-variable]
In file included from ./engine.c:455:0:
prim.i:11124:7: warning: variable ‘r’ set but not used [-Wunused-but-set-variable]
In file included from ./engine.c:455:0:
prim.i:11223:7: warning: variable ‘r2’ set but not used [-Wunused-but-set-variable]
In file included from ./engine.c:455:0:
prim.i:11296:7: warning: variable ‘r1’ set but not used [-Wunused-but-set-variable]
In file included from ./engine.c:455:0:
prim.i:13795:6: warning: variable ‘w’ set but not used [-Wunused-but-set-variable]
In file included from ./engine.c:455:0:
prim.i:13829:8: warning: variable ‘a_callee’ set but not used [-Wunused-but-set-variable]
i686-pc-linux-gnu-gcc  -I./../arch/386 -I. -Wall -O2 -march=core2 -mfpmath=sse -mmmx -msse -msse2 -mssse3 -pipe -fomit-frame-pointer -fforce-addr -march=pentium -DHAVE_CONFIG_H -DFORCE_LL -DDEFAULTPATH='".:/usr/lib/gforth/site-forth:/usr/share/gforth/site-forth:/usr/lib/gforth/0.7.0:/usr/share/gforth/0.7.0"'   -DGFORTH_DEBUGGING  -o main-ll.o -c ./main.c
./main.c:696:2: warning: #warning You can ignore the warnings about clobbered variables in gforth_go [-Wcpp]
./main.c: In function ‘gforth_loader’:
./main.c:1898:8: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result]
./main.c:1922:10: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result]
./main.c: In function ‘dict_alloc_read’:
./main.c:616:10: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result]
i686-pc-linux-gnu-gcc -c  -I./../arch/386 -I. -Wall -O2 -march=core2 -mfpmath=sse -mmmx -msse -msse2 -mssse3 -pipe -fomit-frame-pointer -fforce-addr -march=pentium -DHAVE_CONFIG_H -DFORCE_LL -DDEFAULTPATH='".:/usr/lib/gforth/site-forth:/usr/share/gforth/site-forth:/usr/lib/gforth/0.7.0:/usr/share/gforth/0.7.0"'   -o io.o io.c
io.c:58:0: warning: "alloca" redefined [enabled by default]
/usr/include/alloca.h:36:0: note: this is the location of the previous definition
i686-pc-linux-gnu-gcc -c  -I./../arch/386 -I. -Wall -O2 -march=core2 -mfpmath=sse -mmmx -msse -msse2 -mssse3 -pipe -fomit-frame-pointer -fforce-addr -march=pentium -DHAVE_CONFIG_H -DFORCE_LL -DDEFAULTPATH='".:/usr/lib/gforth/site-forth:/usr/share/gforth/site-forth:/usr/lib/gforth/0.7.0:/usr/share/gforth/0.7.0"'   -o signals.o signals.c
i686-pc-linux-gnu-gcc -c  -I./../arch/386 -I. -Wall -O2 -march=core2 -mfpmath=sse -mmmx -msse -msse2 -mssse3 -pipe -fomit-frame-pointer -fforce-addr -march=pentium -DHAVE_CONFIG_H -DFORCE_LL -DDEFAULTPATH='".:/usr/lib/gforth/site-forth:/usr/share/gforth/site-forth:/usr/lib/gforth/0.7.0:/usr/share/gforth/0.7.0"'   -o support-ll.o ./support.c
i686-pc-linux-gnu-gcc  -Wl,-O1 -Wl,--as-needed -export-dynamic engine-ll.o engine2-ll.o main-ll.o io.o signals.o support-ll.o   -lavcall -lffi -lltdl -lm   -o gforth-ll
make[3]: Leaving directory `/var/tmp/portage/dev-lang/gforth-0.7.0/work/gforth-0.7.0/engine'
chcon: failed to get security context of ‘gforth-ll’: Operation not supported
make[3]: Entering directory `/var/tmp/portage/dev-lang/gforth-0.7.0/work/gforth-0.7.0'
./preforth -p ".:~+:." -e 's" mach16b.fs"' ./kernel/main.fs -e "save-cross kernl16b.fi- /usr/bin/gforth-0.7.0 bye"
./preforth: line 31:  5156 Killed                  $ENGINE --die-on-signal -i kernl32l.fi $path1 $path2 exboot.fs startup.fs "$@"
make[3]: *** [kernl16b.fi-] Error 137
make[3]: Leaving directory `/var/tmp/portage/dev-lang/gforth-0.7.0/work/gforth-0.7.0'
make[2]: *** [gforth-ll] Error 2
make[2]: Leaving directory `/var/tmp/portage/dev-lang/gforth-0.7.0/work/gforth-0.7.0'
make[1]: *** [optgforth] Error 2
make[1]: Leaving directory `/var/tmp/portage/dev-lang/gforth-0.7.0/work/gforth-0.7.0'
make: *** [gforth] Error 2
emake failed
 [31;01m*[0m ERROR: dev-lang/gforth-0.7.0 failed (compile phase):
 [31;01m*[0m   emake failed
 [31;01m*[0m 
 [31;01m*[0m Call stack:
 [31;01m*[0m     ebuild.sh, line  85:  Called src_compile
 [31;01m*[0m   environment, line 2304:  Called die
 [31;01m*[0m The specific snippet of code:
 [31;01m*[0m       emake -j1 || die "emake failed"
 [31;01m*[0m
Comment 1 Anton Kochkov 2012-05-07 06:08:33 UTC
Created attachment 311061 [details]
emerge --info output
Comment 2 Kacper Kowalik (Xarthisius) (RETIRED) gentoo-dev 2012-06-28 17:14:55 UTC
I cannot reproduce it. Could you:
1) try without ccache
2) if still fails please attach file engine.i generated by following commands:

cd /var/tmp/portage/dev-lang/gforth-0.7.0/work/gforth-0.7.0/engine

i686-pc-linux-gnu-gcc  -I./../arch/386 -I. -Wall -O2 -march=core2 -mfpmath=sse -mmmx -msse -msse2 -mssse3 -pipe -fomit-frame-pointer -fforce-addr -march=pentium -DHAVE_CONFIG_H -DFORCE_LL -DFORCE_REG -DDEFAULTPATH='".:/usr/lib/gforth/site-forth:/usr/share/gforth/site-forth:/usr/lib/gforth/0.7.0:/usr/share/gforth/0.7.0"'   -fno-gcse -fno-strict-aliasing -fno-crossjumping -fno-reorder-blocks -falign-labels=1 -falign-loops=1 -falign-jumps=1 -fno-defer-pop -fcaller-saves -fno-inline -DGFORTH_DEBUGGING -o engine-ll-reg.o -c ./engine.c -save-temps
Comment 3 Sergey Popov gentoo-dev 2014-09-04 10:09:48 UTC
+*gforth-0.7.3 (04 Sep 2014)
+
+  04 Sep 2014; Sergey Popov <pinkbyte@gentoo.org> -gforth-0.7.0.ebuild,
+  +gforth-0.7.3.ebuild:
+  Version bump, fix bugs #414967, #426980 and #498032. Drop old and broken
+  version