Build of snapshots failed on Solaris 2.6

Jeffrey A Law law@cygnus.com
Fri Jul 2 04:45:00 GMT 1999


  In message < Pine.GSO.4.10.9907010639420.23506-100000@turing.cs.hmc.edu >you wr
  > (gdb) s
  > type_from_format (c=101) at ../../egcs-19990623/gcc/gengenrtl.c:62
  > 62        switch (c)
  > (gdb) p c
  > $4 = 101
OK.  101 is a reasonable for that variable.  So we're OK at this point.

  > (gdb) s
  >
  > Program received signal SIGSEGV, Segmentation fault.
  > 0x9de3bf90 in ?? ()
OK.  Note the wacked out address 0x9de3bf90.  Typically a switch statement
has an indirect jump.  This failure would tend to make me think that we used
a totally bogus value for that indirect jump.

To verify this you should get into type_from_format then do something like

display/i $pc
stepi

And continue with the stepi until you see the current PC address go somewhere
totally bogus like 0x9xxxxxxx.

Mail the output to the list -- it'll be obvious to folks that know sparc
assembler whether or not we got a bogus address for the jump.


jeff



More information about the Gcc-bugs mailing list