James Tabor wrote:
Hi!
I started resurrecting PowerPC WinNT GCC support, Ha! I'm running into this atm.



/home/gcc-3.4.3-ros/CROSS/gcc/xgcc -B/home/gcc-3.4.3-ros/CROSS/gcc/ -B/usr/powerpcle-pe/bin/ -B/usr/powerpcle-pe/lib/ -isystem /usr/powerpcle-pe/include -isystem /usr/powerpcle-pe/sys-include -O2 -DIN_GCC -DCROSS_COMPILE -D__CYGWIN__ -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -isystem ./include -g -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -Dinhibit_libc -I. -I. -I../../gcc -I../../gcc/. -I../../gcc/../include -DFINE_GRAINED_LIBRARIES -fPIC -DL_pack_sf -c fp-bit.c -o libgcc/./_pack_sf.o


/home/gcc-3.4.3-ros/CROSS/gcc/xgcc -B/home/gcc-3.4.3-ros/CROSS/gcc/ -B/usr/powerpcle-pe/bin/ -B/usr/powerpcle-pe/lib/ -isystem /usr/powerpcle-pe/include -isystem /usr/powerpcle-pe/sys-include -O2 -DIN_GCC -DCROSS_COMPILE -D__CYGWIN__ -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -isystem ./include -g -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -Dinhibit_libc -I. -I. -I../../gcc -I../../gcc/. -I../../gcc/../include -DFINE_GRAINED_LIBRARIES -fPIC -DL_unpack_sf -c fp-bit.c -o libgcc/./_unpack_sf.o

/home/gcc-3.4.3-ros/CROSS/gcc/xgcc -B/home/gcc-3.4.3-ros/CROSS/gcc/ -B/usr/powerpcle-pe/bin/ -B/usr/powerpcle-pe/lib/ -isystem /usr/powerpcle-pe/include -isystem /usr/powerpcle-pe/sys-include -O2 -DIN_GCC -DCROSS_COMPILE -D__CYGWIN__ -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -isystem ./include -g -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -Dinhibit_libc -I. -I. -I../../gcc -I../../gcc/. -I../../gcc/../include -DFINE_GRAINED_LIBRARIES -fPIC -DL_addsub_sf -c fp-bit.c -o libgcc/./_addsub_sf.o
fp-bit.c: In function `__addsf3':
fp-bit.c:744: error: unrecognizable insn:
(call_insn:HI 53 49 59 0 fp-bit.c:743 (parallel [
(set (reg:SF 33 1)
(call (mem:SI (symbol_ref:SI ("__pack_f") [flags 0x41] <function_decl 0xb7de7e0c __pack_f>) [0 S4 A32])
(const_int 0 [0x0])))
(use (const_int 0 [0x0]))
(clobber (scratch:SI))
]) -1 (insn_list 46 (nil))
(expr_list:REG_DEAD (reg:SI 3 3 [ res ])
(expr_list:REG_UNUSED (scratch:SI)
(nil)))
(expr_list (use (reg:SI 3 3 [ res ]))
(nil)))
fp-bit.c:744: internal compiler error: in extract_insn, at recog.c:2083



As it looks, I've managed (Hacked) to make it through libgcc2.c and now in fp-bit.c. Can anyone
give me a good guess how to fix this.


Thanks,
James


I've managed to get this far, any ideas would help. Also thanks to everyone who emailed me and pointing out ideas!

/home/gcc-3.4.3-ros/CROSS/gcc/xgcc -B/home/gcc-3.4.3-ros/CROSS/gcc/ -B/usr/powerpcle-pe/bin/ -B/usr/powerpcle-pe/lib/ -isystem /usr/powerpcle-pe/include -isystem /usr/powerpcle-pe/sys-include -O2 -DIN_GCC -DCROSS_COMPILE -D__CYGWIN__ -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -isystem ./include -g -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -Dinhibit_libc -I. -I. -I../../gcc -I../../gcc/. -I../../gcc/../include -DFINE_GRAINED_LIBRARIES -DL_usi_to_sf -c fp-bit.c -o libgcc/./_usi_to_sf.o
/home/gcc-3.4.3-ros/CROSS/gcc/xgcc -B/home/gcc-3.4.3-ros/CROSS/gcc/ -B/usr/powerpcle-pe/bin/ -B/usr/powerpcle-pe/lib/ -isystem /usr/powerpcle-pe/include -isystem /usr/powerpcle-pe/sys-include -O2 -DIN_GCC -DCROSS_COMPILE -D__CYGWIN__ -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -isystem ./include -g -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -Dinhibit_libc -I. -I. -I../../gcc -I../../gcc/. -I../../gcc/../include -DFINE_GRAINED_LIBRARIES -DL_pack_df -c dp-bit.c -o libgcc/./_pack_df.o
dp-bit.c: In function `__pack_d':
dp-bit.c:436: error: unrecognizable insn:
(call_insn/u:HI 158 157 159 10 dp-bit.c:265 (parallel [
(set (reg:DI 3 3)
(call (mem:SI (symbol_ref:SI ("__ashldi3") [flags 0x41]) [0 S4 A32])
(const_int 0 [0x0])))
(use (const_int 0 [0x0]))
(clobber (scratch:SI))
]) -1 (insn_list 156 (insn_list 157 (nil)))
(insn_list:REG_RETVAL 156 (expr_list:REG_DEAD (reg:SI 5 5 [ shift ])
(expr_list:REG_UNUSED (scratch:SI)
(expr_list:REG_EH_REGION (const_int -1 [0xffffffffffffffff])
(nil)))))
(expr_list (use (reg:SI 5 5 [ shift ]))
(expr_list (use (reg:DI 3 3))
(nil))))
dp-bit.c:436: internal compiler error: in extract_insn, at recog.c:2083


Thanks,
James


ps. I'm an ReactOS developer btw, this powerpc port will be part of the project, so please help.

Reply via email to