[Bug target/96260] New: RISC-V: -fsanitize=kernel-address is not available after gcc10

green.hu at gmail dot com gcc-bugzilla@gcc.gnu.org
Tue Jul 21 10:14:48 GMT 2020


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

            Bug ID: 96260
           Summary: RISC-V: -fsanitize=kernel-address is not available
                    after gcc10
           Product: gcc
           Version: 10.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: green.hu at gmail dot com
  Target Milestone: ---
            Target: riscv64

It used to work to build riscv64 Linux kernel with this option
"-fsanitize=kernel-address" for KASAN in gcc9 however it doesn't work in gcc10.

cc1: warning: '-fsanitize=address' and '-fsanitize=kernel-address' are not
supported for this target


More information about the Gcc-bugs mailing list