I'm trying to compile gcc as a cross compiler for target h8300-hitachi-hms on my amd64 gentoo linux box.
the bintils compiled succesfully but gcc compilation failed: I tried to compile both the gcc-3.4.4 source and the gcc-3.4.5 with the same results gcc version --------------------------------- navi proc # gcc -v Reading specs from /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/specs Configured with: /var/tmp/portage/gcc-3.4.4-r1/work/gcc-3.4.4/configure --prefix=/usr --bindir=/usr/x86_64-pc-linux-gnu/gcc-bin/3.4.4 --includedir=/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/include --datadir=/usr/share/gcc-data/x86_64-pc-linux-gnu/3.4.4 --mandir=/usr/share/gcc-data/x86_64-pc-linux-gnu/3.4.4/man --infodir=/usr/share/gcc-data/x86_64-pc-linux-gnu/3.4.4/info --with-gxx-include-dir=/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/include/g++-v3 --host=x86_64-pc-linux-gnu --build=x86_64-pc-linux-gnu --disable-altivec --enable-nls --without-included-gettext --with-system-zlib --disable-checking --disable-werror --disable-libunwind-exceptions --enable-multilib --disable-libgcj --enable-languages=c,c++,f77 --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu Thread model: posix gcc version 3.4.4 (Gentoo 3.4.4-r1, ssp-3.4.4-1.0, pie-8.7.8) xgcc version info -------------------------------- /usr/local/src/gcc-3.4.5/gcc/xgcc -v Using built-in specs. Configured with: ./configure --target=h8300-hitachi-hms --prefix=/usr/local --with-newlib Thread model: single gcc version 3.4.5 system info ----------------------------------- navi gcc # uname -a Linux navi 2.6.13-gentoo-r3 #3 Tue Oct 11 18:35:51 EDT 2005 x86_64 AMD Athlon(tm) 64 Processor 3400+ AuthenticAMD GNU/Linux command that failed and errors ------------------------------------------- /usr/local/src/gcc-3.4.5/gcc/xgcc -B/usr/local/src/gcc-3.4.5/gcc/ -B/usr/local/h8300-hitachi-hms/bin/ -B/usr/local/h8300-hitachi-hms/lib/ -isystem /usr/local/h8300-hitachi-hms/include -isystem /usr/local/h8300-hitachi-hms/sys-include -O2 -DIN_GCC -DCROSS_COMPILE -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -isystem ./include -DDF=SF -g -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -Dinhibit_libc -I. -I. -I. -I./. -I./../include -DL_muldi3 -c ./libgcc2.c -o libgcc/./_muldi3.o ./libgcc2.c: In function `__muldi3': ./libgcc2.c:537: error: unrecognizable insn: (insn 244 243 245 0 ./libgcc2.c:528 (set:HI (reg:HI 3 r3) (const_int 4294967222 [0xffffffb6])) -1 (nil) (nil)) ./libgcc2.c:537: internal compiler error: in extract_insn, at recog.c:2083 -- Summary: gcc fails to compile for target h8300-hitachi-hms with unrecognizable insn Product: gcc Version: 3.4.5 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: rbunke at speakeasy dot net http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25272