Summary: | dosbox-0.65 causes gcc to ICE with optimization flag -O1 and -pie | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Attila Stehr <as.gentoo> |
Component: | Current packages | Assignee: | Gentoo Games <games> |
Status: | RESOLVED INVALID | ||
Severity: | normal | CC: | amd64 |
Priority: | High | ||
Version: | 2005.1 | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | preprocessed source (I guess so) |
Description
Attila Stehr
2006-04-01 14:08:43 UTC
Created attachment 83658 [details]
preprocessed source (I guess so)
translations: Fehler: unerkennbarer Befehl error: unrecognized command interner Compiler-Fehler internal compiler error :) Looks like it's amd64-specific to me. 0.65 builds fine for me on x86. Compiles fine on amd64, I would suggest ya try the emerge again if your saying internal compiler error. here we go: magic atti # date Fr Mai 19 00:19:47 CEST 2006 magic atti # ACCEPT_KEYWORDS="~amd64" emerge -vD dosbox Calculating dependencies ...done! >>> emerge (1 of 1) games-emulation/dosbox-0.65 to / >>> md5 files ;-) dosbox-0.58.ebuild >>> md5 files ;-) dosbox-0.65.ebuild >>> md5 files ;-) dosbox-0.63.ebuild [...............................] x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include -I/usr/include/SDL -D_REENTRANT -march=athlon64 -O3 -ffast-math -funroll-all-loops -fpeel-loops -ftracer -funswitch-loops -funit-at-a-time -pipe -fomit-frame-pointer -fno-stack-protector -c -o paging.o paging.cpp paging.cpp: In function `void PAGING_Init(Section*)': paging.cpp:431: Fehler: unerkennbarer Befehl: (insn:HI 252 251 144 1 (set (reg/f:DI 87) (plus:DI (symbol_ref:DI ("paging") [flags 0x2] <var_decl 0x2af13f328c30 paging>) (reg:DI 95))) -1 (insn_list 251 (nil)) (expr_list:REG_DEAD (reg:DI 95) (expr_list:REG_EQUAL (const:DI (plus:DI (symbol_ref:DI ("paging") [flags 0x2] <var_decl 0x2af13f328c30 paging>) (const_int 29491232 [0x1c20020]))) (nil)))) paging.cpp:431: interner Compiler-Fehler: in extract_insn, bei recog.c:2083 Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://bugs.gentoo.org/> for instructions. The bug is not reproducible, so it is likely a hardware or OS problem. make[4]: *** [paging.o] Fehler 1 make[4]: Leaving directory `/var/tmp/portage/dosbox-0.65/work/dosbox-0.65/src/cpu' make[3]: *** [all-recursive] Fehler 1 make[3]: Leaving directory `/var/tmp/portage/dosbox-0.65/work/dosbox-0.65/src/cpu' make[2]: *** [all-recursive] Fehler 1 make[2]: Leaving directory `/var/tmp/portage/dosbox-0.65/work/dosbox-0.65/src' make[1]: *** [all-recursive] Fehler 1 make[1]: Leaving directory `/var/tmp/portage/dosbox-0.65/work/dosbox-0.65' make: *** [all] Fehler 2 !!! ERROR: games-emulation/dosbox-0.65 failed. !!! Function src_compile, Line 39, Exitcode 2 !!! emake failed Well, I'm sorry, this is a hardened issue .... again ... I should have tried to compile with vanilla gcc first. :-\ (In reply to comment #6) > Well, I'm sorry, this is a hardened issue .... again ... I should have tried to > compile with vanilla gcc first. :-\ Don't be so quick to not blame local CFLAGS. I can reproduce the error. And every time it takes the combo of exactly -O1 and -pie Filtering pie in general would be silly. So I'd suggest you use -O2 like profiles and just about all release media give you by default. Mr_Bones: In the future please do not assign bugs to hardened unless the user is using a hardened profile as indicated by the 'emerge -V/--info' output. Anything else is simply unsupported. So.. hardened gcc and no hardened profile. Too much mucking about, not supported... closing INVALID. |