Hello, I am trying to port gcc-4.2.2 to the PISA architecture, for SimplesScalar simulator. I have already created ss.h, ss.c, ss.md, ss-protos.h, ss.opt and modified the configuration scripts accordingly. I have had it configured just for c language, then I try to build it by typing
make all-gcc It begins to compile, and then it outputs (command line + output): ********************************************************************* [EMAIL PROTECTED] $ /home/rekai/opt/gcc-4.2.2/host-i686-pc-linux/gcc/xgcc -v -save-temps -B/home/rekai/opt/gcc-4.2.2/host-i6-pc-linux/gcc/ -B/home/rekai/opt/sslittle-na-sstrix/bin/ -B/home/rekai/opt/sslittle-na-sstrix/lib/ -isystem /home/rekai/opt/sslittle-na-sstrix/include -isystem /home/rekai/opt/sslittle-na-sstrix/sys-include -O2 -O2 -g -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 -I../.././gcc/. -I../.././gcc/../include -I../.././gcc/../libcpp/include -I../.././gcc/../libdecnumber -I../libdecnumber -DL_muldi3 -c ../.././gcc/libgcc2.c -o libgcc/./_muldi3.o Reading specs from /home/rekai/opt/gcc-4.2.2/host-i686-pc-linux/gcc/specs Target: sslittle-na-sstrix Configured with: Thread model: single gcc version 4.2.2 /home/rekai/opt/gcc-4.2.2/host-i686-pc-linux/gcc/cc1 -E -quiet -v -I. -I. -I../.././gcc -I../.././gcc/. -I../.././gcc/../include -I../.././gcc/../libcpp/include -I../.././gcc/../libdecnumber -I../libdecnumber -iprefix /home/rekai/opt/gcc-4.2.2/host-i686-pc-linux/gcc/../lib/gcc/sslittle-na-sstrix/4.2.2/ -isystem /home/rekai/opt/gcc-4.2.2/host-i686-pc-linux/gcc/include -D__LANGUAGE_C__ -D__LANGUAGE_C -DLANGUAGE_C -DIN_GCC -DCROSS_COMPILE -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -Dinhibit_libc -DL_muldi3 -isystem /home/rekai/opt/sslittle-na-sstrix/include -isystem /home/rekai/opt/sslittle-na-sstrix/sys-include -isystem ./include ../.././gcc/libgcc2.c -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -fworking-directory -O2 -O2 -O2 -fpch-preprocess -o libgcc2.i cc1: internal compiler error: in common_handle_option, at opts.c:1024 Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://gcc.gnu.org/bugs.html> for instructions. ************************************************************************* and as it is a precompiler error there is no temporal file output. The native compiler used is: Using built-in specs. Target: i486-linux-gnu Configured with: ../src/configure -v --enable-languages=c,c++,fortran,objc,obj-c++,treelang --prefix=/usr --enable-shared --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --enable-nls --with-gxx-include-dir=/usr/include/c++/4.2 --program-suffix=-4.2 --enable-clocale=gnu --enable-libstdcxx-debug --enable-mpfr --enable-targets=all --enable-checking=release --build=i486-linux-gnu --host=i486-linux-gnu --target=i486-linux-gnu Thread model: posix gcc version 4.2.3 20071014 (prerelease) (Debian 4.2.2-3) I would like to send you the config/ss folder for you to have the files. If you need these files, tell me how to send you the files. -- Summary: Internal error while porting to PISA Product: gcc Version: 4.2.2 Status: UNCONFIRMED Severity: major Priority: P3 Component: c AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: rgalberquilla at fis dot ucm dot es GCC host triplet: i686-pc-linux GCC target triplet: sslittle-na-sstrix http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34433