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

            Bug ID: 106828
           Summary: cc1plus: warning: '-fsanitize=address' not supported
                    for this target for loongarch64-linux-gnu
           Product: gcc
           Version: 13.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: sanitizer
          Assignee: unassigned at gcc dot gnu.org
          Reporter: unlvsur at live dot com
                CC: dodji at gcc dot gnu.org, dvyukov at gcc dot gnu.org,
                    jakub at gcc dot gnu.org, kcc at gcc dot gnu.org, marxin at 
gcc dot gnu.org
  Target Milestone: ---

loongarch64-linux-gnu-g++ -o construct_fstream_from_syscall
construct_fstream_from_syscall.cc -Ofast -std=c++23 -s -flto -I../../include
-fsanitize=address
cc1plus: warning: '-fsanitize=address' not supported for this target
lto1: warning: '-fsanitize=address' not supported for this target
lto1: warning: '-fsanitize=address' not supported for this target


I just checked even the libasan.so and libubsan.so do exist. Also
-fsanitize=undefined works but -fsanitize=address does not work for loongarch.

Need a fix

Reply via email to