------- Comment #16 from joel at gcc dot gnu dot org 2009-01-19 22:20 ------- (In reply to comment #15) > Revision 142516 gave: > > [...@gnu-28 pr38587]$ ./psim-4.10 ./powerpc-psim-ticker.ralf > events.c:329: assertion failed - !events->processing
That sounds like the previous psim miscompiled bug. http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38387 I closed it when the problem went away with no explanation. I first saw the bug around this revision. gcc (GCC) 4.4.0 20081205 (experimental) [trunk revision 142492] So you have to go back further than that to miss psim regression #1 > > [...@gnu-28 pr38587]$ > > Revision 142517 gave: > > [...@gnu-34 pr38587]$ ./psim-4.10 ./powerpc-psim-ticker.ralf > > > *** CLOCK TICK TEST *** > TA1 - rtems_clock_get - 09:00:00 12/31/1988 > TA2 - rtems_clock_get - 09:00:00 12/31/1988 > TA3 - rtems_clock_get - 09:00:00 12/31/1988 > TA1 - rtems_clock_get - 09:00:05 12/31/1988 > TA2 - rtems_clock_get - 09:00:10 12/31/1988 > TA1 - rtems_clock_get - 09:00:10 12/31/1988 > TA3 - rtems_clock_get - 09:00:15 12/31/1988 > TA1 - rtems_clock_get - 09:00:15 12/31/1988 > TA2 - rtems_clock_get - 09:00:20 12/31/1988 > TA1 - rtems_clock_get - 09:00:20 12/31/1988 > TA1 - rtems_clock_get - 09:00:25 12/31/1988 > TA3 - rtems_clock_get - 09:00:30 12/31/1988 > TA1 - rtems_clock_get - 09:00:30 12/31/1988 > TA2 - rtems_clock_get - 09:00:30 12/31/1988 > *** END OF CLOCK TICK TEST *** > idecode.c:6591: assertion failed - current_cpu >= 0 && current_cpu < nr_cpus > > [...@gnu-34 pr38587]$ > > Is that possible a bug in sim? > psim is very old code written by Andrew Cagney over a decade ago. It has compiled and worked with all gcc versions since that time. My test script on CFARM builds a native GCC from SVN and uses that to build the crosses. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38587