Closed cmuellner closed 3 years ago
Ping for @aswaterman as he is the author of the affected piece of code.
I think we can replace this one with an asm volatile fence.i. If you make such a PR, I’ll merge it.
The required code was already there. Just needed to be called. Thanks!
Resolved by #240.
When compiling with a recent version of GCC, we run into the following error:
The error comes from the fact, that we pass numeric values as arguments to the invocation of __clear_cache.
Using
(void*)0
orNULL
instead of0
does not work either.My understanding of the code is, that we know that we can only clear the complete instruction cache and therefore we don't care about the arguments. Is this assumption correct?
This error has been introduced by the GCC commit c05ece9 in Dec 2020. I have created a GCC bug report (PR100316) as well.