public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug sanitizer/106828] New: cc1plus: warning: '-fsanitize=address' not supported for this target for loongarch64-linux-gnu
@ 2022-09-05 0:20 unlvsur at live dot com
2022-09-05 0:28 ` [Bug target/106828] " pinskia at gcc dot gnu.org
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: unlvsur at live dot com @ 2022-09-05 0:20 UTC (permalink / raw)
To: gcc-bugs
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug target/106828] cc1plus: warning: '-fsanitize=address' not supported for this target for loongarch64-linux-gnu
2022-09-05 0:20 [Bug sanitizer/106828] New: cc1plus: warning: '-fsanitize=address' not supported for this target for loongarch64-linux-gnu unlvsur at live dot com
@ 2022-09-05 0:28 ` pinskia at gcc dot gnu.org
2022-09-07 9:08 ` cvs-commit at gcc dot gnu.org
2023-03-14 13:19 ` xry111 at gcc dot gnu.org
2 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu.org @ 2022-09-05 0:28 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106828
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
The fix is to define the target hook for Asan address.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug target/106828] cc1plus: warning: '-fsanitize=address' not supported for this target for loongarch64-linux-gnu
2022-09-05 0:20 [Bug sanitizer/106828] New: cc1plus: warning: '-fsanitize=address' not supported for this target for loongarch64-linux-gnu unlvsur at live dot com
2022-09-05 0:28 ` [Bug target/106828] " pinskia at gcc dot gnu.org
@ 2022-09-07 9:08 ` cvs-commit at gcc dot gnu.org
2023-03-14 13:19 ` xry111 at gcc dot gnu.org
2 siblings, 0 replies; 4+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2022-09-07 9:08 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106828
--- Comment #2 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by LuluCheng <chenglulu@gcc.gnu.org>:
https://gcc.gnu.org/g:0067ba052b976431c49d6a86f2c9ede9938efcdf
commit r13-2510-g0067ba052b976431c49d6a86f2c9ede9938efcdf
Author: Lulu Cheng <chenglulu@loongson.cn>
Date: Wed Sep 7 11:25:45 2022 +0800
LoongArch: Fix pr106828 by define hook TARGET_ASAN_SHADOW_OFFSET in
loongarch backend [PR106828].
gcc/ChangeLog:
PR target/106828
* config/loongarch/loongarch.cc (loongarch_asan_shadow_offset):
New.
(TARGET_ASAN_SHADOW_OFFSET): New.
gcc/testsuite/ChangeLog:
PR target/106828
* g++.target/loongarch/pr106828.C: New test.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug target/106828] cc1plus: warning: '-fsanitize=address' not supported for this target for loongarch64-linux-gnu
2022-09-05 0:20 [Bug sanitizer/106828] New: cc1plus: warning: '-fsanitize=address' not supported for this target for loongarch64-linux-gnu unlvsur at live dot com
2022-09-05 0:28 ` [Bug target/106828] " pinskia at gcc dot gnu.org
2022-09-07 9:08 ` cvs-commit at gcc dot gnu.org
@ 2023-03-14 13:19 ` xry111 at gcc dot gnu.org
2 siblings, 0 replies; 4+ messages in thread
From: xry111 at gcc dot gnu.org @ 2023-03-14 13:19 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106828
Xi Ruoyao <xry111 at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution|--- |FIXED
CC| |xry111 at gcc dot gnu.org
--- Comment #3 from Xi Ruoyao <xry111 at gcc dot gnu.org> ---
Fixed for trunk.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2023-03-14 13:19 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-05 0:20 [Bug sanitizer/106828] New: cc1plus: warning: '-fsanitize=address' not supported for this target for loongarch64-linux-gnu unlvsur at live dot com
2022-09-05 0:28 ` [Bug target/106828] " pinskia at gcc dot gnu.org
2022-09-07 9:08 ` cvs-commit at gcc dot gnu.org
2023-03-14 13:19 ` xry111 at gcc dot gnu.org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).