<div dir="ltr"><div>Dear Sir,</div><div><br></div><div>I used RTEMS 4.10.99 version for Sparc using GCC 4.8.2 until now.</div><div>Also, I integrated C++ software very well on this RTEMS versiion. </div><div><br></div><div>I am tring to upgrade below version. and, my C++ software will be integrated with updated RTEMS version.</div><div><br></div><div>  1) RTEMS 4.11.99 (GCC 4.9.3 20150626 for RTEMS 4.11)</div><div>  2) RTEMS 4.11.99 (GCC 6.1.1 20160609 for RTEMS 4.12)</div><div><br></div><div>First of all, I am testing RTEMS on Sparc simulator using sparc-rtems4.xx-sis.</div><div><br></div><div>Because RTEMS 4.11.99 using GCC 6.1.1 for RTEMS 4.12 have a run-time error for testing ticker.exe example, I am testing RTEMS 4.11.99 using GCC 4.9.3 for RTEMS 4.11.</div><div><br></div><div>At this time, ticker.exe is run very well on RTEMS 4.11.99 using GCC 4.9.3 for RTEMS 4.11.</div><div>also, when I test cxx_throw example on this RTEMS, error message is below;</div><div>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~</div><div>$ sparc-rtems4.11-sis -leon3 cxx_throw/o-optimize/cxx_throw.exe </div><div><br></div><div> SIS - SPARC instruction simulator 2.8,  copyright Jiri Gaisler 1995<br> Bug-reports to <a href="mailto:jiri@gaisler.se">jiri@gaisler.se</a></div><div><br></div><div> LEON3 emulation enabled</div><div><br></div><div>sis> run<br>IU in error mode (128)<br>   148455  4003f4a0  91d02000  ta  0<br>sis></div><div><div>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~</div><div><br></div><div>On referencing, I resolved this(cxx_throw example test) on RTEMS 4.10.99 using GCC 4.8.2 according to below guide-line.</div><div><leon3.cfg></div><div>- LDFLAGS = -Wl,--gc-sections#CFLAGS_OPTIMIZE_V += -ffunction-sections -fdata-sections</div><div><div>+ #LDFLAGS = -Wl,--gc-sections#CFLAGS_OPTIMIZE_V += -ffunction-sections -fdata-sections</div><div><br></div><div>- LDFLAGS = -Wl,--gc-sections</div><div><div>+ #LDFLAGS = -Wl,--gc-sections</div><div><br></div><div>At this time, even though I patched same method, cxx_throw example is not run.</div><div><br></div><div>Please let me know how to resolve for testing cxx_throw example using RTEMS 4.11(GCC 4.9.3 20160626).</div><div><br></div><div>Best Regards,</div><div>Thomas Kim.</div></div></div></div></div>