public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/34433]  New: Internal error while porting to PISA
@ 2007-12-11 13:53 rgalberquilla at fis dot ucm dot es
  2007-12-11 17:02 ` [Bug other/34433] " pinskia at gcc dot gnu dot org
  2007-12-15 21:02 ` pinskia at gcc dot gnu dot org
  0 siblings, 2 replies; 3+ messages in thread
From: rgalberquilla at fis dot ucm dot es @ 2007-12-11 13:53 UTC (permalink / raw)
  To: gcc-bugs

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):
*********************************************************************
 me@mymachine $ /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


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug other/34433] Internal error while porting to PISA
  2007-12-11 13:53 [Bug c/34433] New: Internal error while porting to PISA rgalberquilla at fis dot ucm dot es
@ 2007-12-11 17:02 ` pinskia at gcc dot gnu dot org
  2007-12-15 21:02 ` pinskia at gcc dot gnu dot org
  1 sibling, 0 replies; 3+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2007-12-11 17:02 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from pinskia at gcc dot gnu dot org  2007-12-11 17:02 -------
cc1: internal compiler error: in common_handle_option, at opts.c:1024

Can't you debug this your self?
      /* If the flag was handled in a standard way, assume the lack of
         processing here is intentional.  */
      gcc_assert (cl_options[scode].flag_var);


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|major                       |normal
          Component|c                           |other


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34433


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug other/34433] Internal error while porting to PISA
  2007-12-11 13:53 [Bug c/34433] New: Internal error while porting to PISA rgalberquilla at fis dot ucm dot es
  2007-12-11 17:02 ` [Bug other/34433] " pinskia at gcc dot gnu dot org
@ 2007-12-15 21:02 ` pinskia at gcc dot gnu dot org
  1 sibling, 0 replies; 3+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2007-12-15 21:02 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from pinskia at gcc dot gnu dot org  2007-12-15 21:02 -------
This is not the correct location for asking for help on porting.  Ask the gcc@
list.  But you might as well run cc1 under the debugger and see why there is an
assert happening.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |INVALID


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34433


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-12-15 21:02 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-12-11 13:53 [Bug c/34433] New: Internal error while porting to PISA rgalberquilla at fis dot ucm dot es
2007-12-11 17:02 ` [Bug other/34433] " pinskia at gcc dot gnu dot org
2007-12-15 21:02 ` pinskia at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).