[patch] restore bootstrap on ppc darwin

Jan Hubicka jh@suse.cz
Fri Sep 7 15:12:00 GMT 2007


> At revision 128228, the patch enables me to go from stage1 to stage3, but bootstrap
> still fails with:
> 
> libtool: compile:  /opt/gcc/darwin_buildw/gcc/gcj -B/opt/gcc/darwin_buildw/powerpc-apple-darwin8/ppc64/libjava/ -B/opt/gcc/darwin_buildw/gcc/ -fclasspath= -fbootclasspath=../../../../gcc-4.3-work/libjava/classpath/lib --encoding=UTF-8 -Wno-deprecated -fbootstrap-classes -g -O2 -m64 -c -fsource-filename=/opt/gcc/darwin_buildw/powerpc-apple-darwin8/ppc64/libjava/classpath/lib/classes -MT gnu/javax/imageio/jpeg.lo -MD -MP -MF gnu/javax/imageio/jpeg.deps @gnu/javax/imageio/jpeg.list  -fno-common -o gnu/javax/imageio/.libs/jpeg.o
> /var/tmp//ccFhkZpcjx: In class 'gnu.javax.imageio.jpeg.DCT':
> /var/tmp//ccFhkZpcjx: In method 'gnu.javax.imageio.jpeg.DCT.slow_idct(double[][])':
> /var/tmp//ccFhkZpcjx:0: error: invalid rtl sharing found in the insn
> (insn 475 474 476 37 ../../../../../../gcc-4.3-work/libjava/classpath/gnu/javax/imageio/jpeg/DCT.java:119 (set (reg:SI 338)
>         (mem/c/i:SI (plus:DI (reg/f:DI 113 sfp)
>                 (const_int 128 [0x80])) [19 S4 A32])) 328 {*movsi_internal1} (expr_list:REG_EQUAL (fix:SI (reg/v:DF 147 [ D.1723 ]))
>         (nil)))
> /var/tmp//ccFhkZpcjx:0: error: shared rtx
> (mem/c/i:SI (plus:DI (reg/f:DI 113 sfp)
>         (const_int 128 [0x80])) [19 S4 A32])

Hi,
unfortunately I have no idea how to reproduce java ICE with a cross
compiler?
Bootstrap passed for me on ppc64-linux fine, I will try to bootstrap on
my Mac box once I get home, but it won't be before monday probably.

Honza



More information about the Gcc-patches mailing list