https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80028
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |INVALID --- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> --- 0x7f8528 is >4MB (22bits) ... Plus call only has 26bits. There is nothing that can be done here. lkdtm_rodata_do_nothing is explicty in the rodata to test out kernel memory permissions. lkdtm_rodata_do_nothing has notrace but notrace expands to just no_instrument_function (at least in 4.14). So this is a kernel issue where no_sanitize should also be used.