https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104656
Jose E. Marchesi <jose.marchesi at oracle dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jose.marchesi at oracle dot com --- Comment #5 from Jose E. Marchesi <jose.marchesi at oracle dot com> --- Yes that would require changing the kernel ABI. Also, there is the kernel verifier to deal with: stack accesses are tracked at load-time and they should be done using certain registers and following certain rules. For the time being, --disabling-gcov when building for BPF seems like a reasonable thing to do. Will write and send a patch in that effect.