<div dir="ltr">Replying to myself.<br><div><br></div><div>Seems various interrupt and other rtems routines need to be excluded, with "-finstrument-functions-exclude-file-list=/rtems -finstrument-functions-exclude-function-list=arm_interrupt_,rtems_" stability resumes.</div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, 2 Jun 2021 at 15:34, Matthew J Fletcher <<a href="mailto:amimjf@gmail.com">amimjf@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi <div><br></div><div>Has anyone tried with -finstrument-functions with the rtems-5 branch a (gcc 7.5.0) ? even with a minimal stub (shown), i get random crashes, normally in the heap allocate/free code paths</div><div><br></div><div>__attribute__((no_instrument_function)) void __cyg_profile_func_enter (void *this_fn, void *call_site)<br>{<br>  }<br>__attribute__((no_instrument_function)) void __cyg_profile_func_exit (void *this_fn, void *call_site)<br></div><div>{</div><div>}<br clear="all"><div><br></div><div>Removing 

-finstrument-functions from the makefiles removes the crashes.</div><div><br></div><div dir="ltr"><div><br>regards</div><div>---</div><div>Matthew J Fletcher</div><br></div></div></div>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div><br>regards</div><div>---</div><div>Matthew J Fletcher</div><br></div>