Hello Everyone, I am trying to create a cross compiler using gcc-3.4.2, using the binutils given in the (http://www.opencores.org/projects.cgi/web/or1k/gnu_toolchain_port). Iam running into the following difficulty (please see below as I havecut and pasted the result that I get). It is having troubles compiling the libgcc2.c. The below is the result I get right before the makefile crashes. I know some of the "#defines" used in the or32.c from the previous version have changed and I have updated them using the gcc internals manual. I have updated the config.gcc and all the configuration files that need to be updated according to the gcc manual to the best of my knowledge. I have also verified that the makefile (or configure script) does capture cross assembler and loader correctly (Version GNU ld version 2.11.93 and GNU assembler version 2.11.93). I don't know what is going wrong. I have also unsuccessfully tried using GDB to try to pinpoint the problem. It is configured using the following line. configure --target=or32-uclinux -prefix=/tmp/opt/or32-uclinux --with-local-prefix=/tmp/opt/or32-uclinux/or32-uclinux --with-gnu-as --with-gnu-ld --enable-languages=c Any help is appreciated. Thanking You, Yours Sincerely Balaji V. Iyer. PS: I have replaced my absolute directory path with "~" in the below output snippet right before cut and pasting. ==================== MY OUTPUT ERROR =============== mkdir -p -- libgcc if [ -f stmp-dirs ]; then true; else touch stmp-dirs; fi /tmp/or1k/b-gcc-3.4.2/gcc/xgcc -B/tmp/or1k/b-gcc-3.4.2/gcc/ -B/tmp/opt/or32-uclinux/or32-uclinux/bin/ -B/tmp/opt/or32-uclinux/or32-uclinux/lib/ -isystem /tmp/opt/or32-uclinux/or32-uclinux/include -isystem /tmp/opt/or32-uclinux/or32-uclinux/sys-include -O2 -DIN_GCC -DCROSS_COMPILE -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-3.4.2/gcc -I~/gcc-3.4.2/gcc/. -I~/gcc-3.4.2/gcc/../include -DL__mulsi3 -xassembler-with-cpp -c ~/gcc-3.4.2/gcc/config/or32/or32.S -o libgcc/./__mulsi3.o /tmp/or1k/b-gcc-3.4.2/gcc/xgcc -B/tmp/or1k/b-gcc-3.4.2/gcc/ -B/tmp/opt/or32-uclinux/or32-uclinux/bin/ -B/tmp/opt/or32-uclinux/or32-uclinux/lib/ -isystem /tmp/opt/or32-uclinux/or32-uclinux/include -isystem /tmp/opt/or32-uclinux/or32-uclinux/sys-include -O2 -DIN_GCC -DCROSS_COMPILE -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-3.4.2/gcc -I~/gcc-3.4.2/gcc/. -I~/gcc-3.4.2/gcc/../include -DL__udivsi3 -xassembler-with-cpp -c ~/gcc-3.4.2/gcc/config/or32/or32.S -o libgcc/./__udivsi3.o /tmp/or1k/b-gcc-3.4.2/gcc/xgcc -B/tmp/or1k/b-gcc-3.4.2/gcc/ -B/tmp/opt/or32-uclinux/or32-uclinux/bin/ -B/tmp/opt/or32-uclinux/or32-uclinux/lib/ -isystem /tmp/opt/or32-uclinux/or32-uclinux/include -isystem /tmp/opt/or32-uclinux/or32-uclinux/sys-include -O2 -DIN_GCC -DCROSS_COMPILE -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-3.4.2/gcc -I~/gcc-3.4.2/gcc/. -I~/gcc-3.4.2/gcc/../include -DL__divsi3 -xassembler-with-cpp -c ~/gcc-3.4.2/gcc/config/or32/or32.S -o libgcc/./__divsi3.o /tmp/or1k/b-gcc-3.4.2/gcc/xgcc -B/tmp/or1k/b-gcc-3.4.2/gcc/ -B/tmp/opt/or32-uclinux/or32-uclinux/bin/ -B/tmp/opt/or32-uclinux/or32-uclinux/lib/ -isystem /tmp/opt/or32-uclinux/or32-uclinux/include -isystem /tmp/opt/or32-uclinux/or32-uclinux/sys-include -O2 -DIN_GCC - DCROSS_COMPILE -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-3.4.2/gcc -I~/gcc-3.4.2/gcc/. -I~/gcc-3.4.2/gcc/../include -DL__umodsi3 -xassembler-with-cpp -c ~/gcc-3.4.2/gcc/config/or32/or32.S -o libgcc/./__umodsi3.o /tmp/or1k/b-gcc-3.4.2/gcc/xgcc -B/tmp/or1k/b-gcc-3.4.2/gcc/ -B/tmp/opt/or32-uclinux/or32-uclinux/bin/ -B/tmp/opt/or32-uclinux/or32-uclinux/lib/ -isystem /tmp/opt/or32-uclinux/or32-uclinux/include -isystem /tmp/opt/or32-uclinux/or32-uclinux/sys-include -O2 -DIN_GCC -DCROSS_COMPILE -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-3.4.2/gcc -I~/gcc-3.4.2/gcc/. -I~/gcc-3.4.2/gcc/../include -DL__modsi3 -xassembler-with-cpp -c ~/gcc-3.4.2/gcc/config/or32/or32.S -o libgcc/./__modsi3.o /tmp/or1k/b-gcc-3.4.2/gcc/xgcc -B/tmp/or1k/b-gcc-3.4.2/gcc/ -B/tmp/opt/or32-uclinux/or32-uclinux/bin/ -B/tmp/opt/or32-uclinux/or32-uclinux/lib/ -isystem /tmp/opt/or32-uclinux/or32-uclinux/include -isystem /tmp/opt/or32-uclinux/or32-uclinux/sys-include -O2 -DIN_GCC -DCROSS_COMPILE -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-3.4.2/gcc -I~/gcc-3.4.2/gcc/. -I~/gcc-3.4.2/gcc/../include -DL_muldi3 -c ~/gcc-3.4.2/gcc/libgcc2.c -o libgcc/./_muldi3.o ~/gcc-3.4.2/gcc/libgcc2.c:0: internal compiler error: Segmentation fault Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://gcc.gnu.org/bugs.html> for instructions. make[2]: *** [libgcc/./_muldi3.o] Error 1 make[2]: Leaving directory `/tmp/or1k/b-gcc-3.4.2/gcc' make[1]: *** [libgcc.a] Error 2 make[1]: Leaving directory `/tmp/or1k/b-gcc-3.4.2/gcc' make: *** [all-gcc] Error 2 __________________________________ Do you Yahoo!? Yahoo! Mail Address AutoComplete - You start. We finish. http://promotions.yahoo.com/new_mail