This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Internal compiler error, sparc, gcc-3.1, C


When trying to compile valgrind for sparc (it isn't supposed to work
at all on anything but an x86), I get the following error message:

  $ gcc -save-temps -DHAVE_CONFIG_H -I. -I. -I.. -I./demangle -I../include    -DVG_LIBDIR="\"/usr/local/lib"\" -Winline -Wall -Wshadow -O -fomit-frame-pointer -g -I./demangle -I../include  -MT vg_scheduler.o -MD -MP -MF ".deps/vg_scheduler.Tpo" -c -o vg_scheduler.o vg_scheduler.c
  vg_scheduler.c: In function `poll_for_ready_fds':
  vg_scheduler.c:1127: Internal compiler error in instantiate_virtual_regs_1, at function.c:3974
  Please submit a full bug report,
  with preprocessed source if appropriate.
  See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.

  $ uname -a
  Linux cuckoo 2.2.19 #1 Mon Apr 2 13:29:46 EDT 2001 sparc unknown

(it's a old sparc station 4 with debian stable)

  $ gcc --version
  gcc (GCC) 3.1
  Copyright (C) 2002 Free Software Foundation, Inc.
  This is free software; see the source for copying conditions.  There is NO
  warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

The preprocessed file is attached below. I'll try upgrading to the
latest gcc release, but it will take a day or two to build it.

BTW, if you are aware of anybody working on porting valgrind to
non-x86 platforms, I'd like to hear about it.

Best regards,
/Niels

Attachment: vg_scheduler.i.gz
Description: Preprocessed source code


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]