Replying to myself.

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.


On Wed, 2 Jun 2021 at 15:34, Matthew J Fletcher <ami...@gmail.com> wrote:

> Hi
>
> 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
>
> __attribute__((no_instrument_function)) void __cyg_profile_func_enter
> (void *this_fn, void *call_site)
> {
> }
> __attribute__((no_instrument_function)) void __cyg_profile_func_exit (void
> *this_fn, void *call_site)
> {
> }
>
> Removing  -finstrument-functions from the makefiles removes the crashes.
>
>
> regards
> ---
> Matthew J Fletcher
>
>

-- 

regards
---
Matthew J Fletcher
_______________________________________________
users mailing list
users@rtems.org
http://lists.rtems.org/mailman/listinfo/users

Reply via email to