Summary: | [4.1 regression] profiledbootstrap will produce an ICE with "-mtune=power3 -mcpu=power3" in BOOT_CFLAGS | ||
---|---|---|---|
Product: | gcc | Reporter: | Markus Rothe <markus> |
Component: | bootstrap | Assignee: | Not yet assigned to anyone <unassigned> |
Status: | RESOLVED WONTFIX | ||
Severity: | major | CC: | gcc-bugs, rguenth |
Priority: | P2 | ||
Version: | 4.1.1 | ||
Target Milestone: | 4.1.3 | ||
Host: | powerpc64-unknown-linux-gnu | Target: | powerpc64-unknown-linux-gnu |
Build: | powerpc64-unknown-linux-gnu | Known to work: | 3.4.6 4.0.3 4.2.0 |
Known to fail: | 4.1.1 | Last reconfirmed: | 2008-01-13 21:06:20 |
Description
Markus Rothe
2006-07-09 20:20:51 UTC
Can you try without STAGE1_CFLAGS="-O"? And can you try bootstrap instead of profiledbootstrap ? I tried this: $ make LDFLAGS="" LIBPATH="/usr/lib/gcc/powerpc64-unknown-linux-gnu/4.1.1" BOOT_CFLAGS="-m64 -O2 -pipe -mtune=power3 -mcpu=power3" profiledbootstrap [...] make[4]: Entering directory `/root/gcc-4.1.1-temp/build/gcc' make[4]: `crtend.o' is up to date. make[4]: `crtbeginS.o' is up to date. make[4]: `crtendS.o' is up to date. make[4]: `crtbeginT.o' is up to date. make[4]: `ecrti.o' is up to date. make[4]: `ecrtn.o' is up to date. make[4]: `ncrti.o' is up to date. make[4]: `ncrtn.o' is up to date. make[4]: `crtsavres.o' is up to date. make[4]: Leaving directory `/root/gcc-4.1.1-temp/build/gcc' ./xgcc -B./ -B/usr/powerpc64-unknown-linux-gnu/bin/ -isystem /usr/powerpc64-unknown-linux-gnu/include -isystem /usr/powerpc64-unknown-linux-gnu/sys-include -L/root/gcc-4.1.1-temp/build/gcc/../ld -O2 -O2 -g -O2 -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -isystem ./include -fPIC -specs=ldblspecs -mno-minimal-toc -g -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -I. -I. -I../../gcc-4.1.1/gcc -I../../gcc-4.1.1/gcc/. -I../../gcc-4.1.1/gcc/../include -I../../gcc-4.1.1/gcc/../libcpp/include -fPIC -mstrict-align -DL_muldi3 -c ../../gcc-4.1.1/gcc/libgcc2.c -o libgcc/./_muldi3.o /tmp/ccCAOUnw.s: Assembler messages: /tmp/ccCAOUnw.s:71: Warning: Unary operator - ignored because bad operand follows /tmp/ccCAOUnw.s:71: Warning: zero assumed for missing expression /tmp/ccCAOUnw.s:72: Error: Unrecognized opcode: `f' /tmp/ccCAOUnw.s:76: Error: Unrecognized opcode: `f' /tmp/ccCAOUnw.s:1160: Error: unassigned file number 2 make[3]: *** [libgcc/./_muldi3.o] Error 1 make[3]: Leaving directory `/root/gcc-4.1.1-temp/build/gcc' make[2]: *** [stmp-multilib] Error 2 make[2]: Leaving directory `/root/gcc-4.1.1-temp/build/gcc' make[1]: *** [stageprofile_build] Error 2 make[1]: Leaving directory `/root/gcc-4.1.1-temp/build/gcc' make: *** [profiledbootstrap] Error 2 and this: $ make LDFLAGS="" LIBPATH="/usr/lib/gcc/powerpc64-unknown-linux-gnu/4.1.1" BOOT_CFLAGS="-m64 -O2 -pipe -mtune=power3 -mcpu=power3" bootstrap last command builds fine. this is a regression then? gcc-3.4 used to build fine using profiledbootstrap. I have not tried gcc 4.0 IIRC. I did some testing and this are the results: gcc versions 3.4.6, 4.0.3 and 4.2-20060708 do all _not_ fail with profiledbootstrap and "-mtune=power3 -mcpu=power3" in BOOT_CFLAGS. which information do you need to get this fixed? any news about this? Does this work on the current 4.1 branch now? still failing with the 4.1-20080107 snapshot (In reply to comment #3) > I did some testing and this are the results: > > gcc versions 3.4.6, 4.0.3 and 4.2-20060708 do all _not_ fail with > profiledbootstrap and "-mtune=power3 -mcpu=power3" in BOOT_CFLAGS. > > which information do you need to get this fixed? *.s asm file, produced by adding -save-temps to the compile flags (Comment #0) for _muldi.o compile. A skilled ppc person can check failed asm instruction and eventually fix assembler template of the insn description. However, gcc-4.1 is a bit old now... (In reply to comment #7) > However, gcc-4.1 is a bit old now... I'm marking this bug as WONTFIX then. |