https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78513

--- Comment #5 from Martin Liška <marxin at gcc dot gnu.org> ---
(In reply to ktkachov from comment #4)
> Then GCC 7 won't build any kernel with KASAN until those kernel patches go
> in?
> That's unfortunate, but I guess it's not easy to teach GCC to enable
> -fsanitize-use-after-scope only if the runtime supports the new functions

Unfortunately, yes. Problem is that kernel has its own runtime implementation
and it must be in sync.

The same problem is with GCOV runtime, where I also did some small
modifications and following patch would be needed:
http://www.mail-archive.com/linux-kernel@vger.kernel.org/msg1279372.html

Reply via email to