Hi Joel,

Yes, there was a bug in one of the errata fixes. It has been fixed now, see https://gcc.gnu.org/ml/gcc-patches/2017-12/msg00593.html and https://devel.rtems.org/ticket/3242#comment:4.

Daniel C

On 2017-12-19 16:18, Joel Sherrill wrote:
Hi

Has anyone else seen this?

sparc-rtems5-gcc --pipe -DHAVE_CONFIG_H -I.. -I../../cpukit/../../../ut700/lib/include -mcpu=leon3 -mfix-ut700 -O2 -g -ffunction-sections -fdata-sections -Wall -Wmissing-prototypes -Wimplicit-function-declaration -Wstrict-prototypes -Wnested-externs -MT src/libscore_a-objectgetnoprotection.o -MD -MP -MF src/.deps/libscore_a-objectgetnoprotection.Tpo -c -o src/libscore_a-objectgetnoprotection.o `test -f 'src/objectgetnoprotection.c' || echo '../../../../../../rtems/c/src/../../cpukit/score/'`src/objectgetnoprotection.c ../../../../../../rtems/c/src/../../cpukit/score/src/objectgetnoprotection.c: In function '_Objects_Get_no_protection': ../../../../../../rtems/c/src/../../cpukit/score/src/objectgetnoprotection.c:48:1: internal compiler error: Segmentation fault
  }
  ^
0x8823cf crash_signal
         ../../gcc-7.2.0/gcc/toplev.c:337
0x5d5211 active_insn_p
         ../../gcc-7.2.0/gcc/emit-rtl.c:3525
0x5d5211 next_active_insn(rtx_insn*)
         ../../gcc-7.2.0/gcc/emit-rtl.c:3538
0xaf6d20 sparc_do_work_around_errata
         ../../gcc-7.2.0/gcc/config/sparc/sparc.c:1056
0xaf6d20 execute
         ../../gcc-7.2.0/gcc/config/sparc/sparc.c:1482

$ sparc-rtems5-gcc --version
sparc-rtems5-gcc (GCC) 7.2.0 20170814 (RTEMS 5, RSB 7034d65872831fdc5221a01ec3c281f95b97483b, Newlib 2.5.0.20170922)

--joel


_______________________________________________
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel

_______________________________________________
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel

Reply via email to