Message ID | mvmil4bj0t1.fsf@suse.de |
---|---|
State | New |
Headers | show
Return-Path: <gcc-patches-bounces+incoming=patchwork.ozlabs.org@gcc.gnu.org> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=suse.de header.i=@suse.de header.a=rsa-sha256 header.s=susede2_rsa header.b=LMPmOjtn; dkim=pass header.d=suse.de header.i=@suse.de header.a=ed25519-sha256 header.s=susede2_ed25519 header.b=18FEjH4a; dkim=pass (1024-bit key) header.d=suse.de header.i=@suse.de header.a=rsa-sha256 header.s=susede2_rsa header.b=LMPmOjtn; dkim=neutral header.d=suse.de header.i=@suse.de header.a=ed25519-sha256 header.s=susede2_ed25519 header.b=18FEjH4a; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gcc.gnu.org (client-ip=2620:52:3:1:0:246e:9693:128c; helo=server2.sourceware.org; envelope-from=gcc-patches-bounces+incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=patchwork.ozlabs.org) Received: from server2.sourceware.org (server2.sourceware.org [IPv6:2620:52:3:1:0:246e:9693:128c]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4T4Dtp275Wz23dJ for <incoming@patchwork.ozlabs.org>; Wed, 3 Jan 2024 00:57:22 +1100 (AEDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id EC0863858438 for <incoming@patchwork.ozlabs.org>; Tue, 2 Jan 2024 13:57:19 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from smtp-out2.suse.de (smtp-out2.suse.de [195.135.223.131]) by sourceware.org (Postfix) with ESMTPS id 2BB9E3858D32 for <gcc-patches@gcc.gnu.org>; Tue, 2 Jan 2024 13:56:59 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 2BB9E3858D32 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=suse.de Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=suse.de ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 2BB9E3858D32 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=195.135.223.131 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1704203820; cv=none; b=A1Z6j4KNKaKPLbh41UhDx3K/ml23muVqy/ljn6mwegLsU+CrJ+xgall1EPFJtzqYrs5ZUHQZDWIRb92I9uRxkcKF1Pb7GoPYAB2b7z10cVrE8rlSLzOGg/YvtJ9gbfNnCwB7SiNJbxuDEGasuGy9B25+OdO5eqQ0ldpndVLJ34Q= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1704203820; c=relaxed/simple; bh=e7ZHbaCvkCwgGVI0MD6326iTy+YAqwZAJO3SHd3TeYU=; h=DKIM-Signature:DKIM-Signature:DKIM-Signature:DKIM-Signature:From: To:Subject:Date:Message-ID:MIME-Version; b=tRHGX4A0PupAHmx1SbFzvRhuuaIxG45M7ykaFYdMHiES5r9LU77RnjzuZlYHk40ofXSx9O8qAImA6/Ap7+6cQMfy8EpCBjs/zbQFISS1wxBg0IXT0uc+uff8JcFIbthvUtiedTz9HX6W3pGMuVoIcYHjh9iVGB91VOtRY1+iC8A= ARC-Authentication-Results: i=1; server2.sourceware.org Received: from hawking.nue2.suse.org (unknown [10.168.4.11]) by smtp-out2.suse.de (Postfix) with ESMTP id 41CC11FCFA for <gcc-patches@gcc.gnu.org>; Tue, 2 Jan 2024 13:56:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1704203818; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc: mime-version:mime-version:content-type:content-type; bh=nnGa3RCJVPPmmF91rq3cBoiSJibIr4gzhqgdDnRyKQw=; b=LMPmOjtnOSyNkhS8wNToZGgbjLt8LxnTIxv3iVj6lr3NKmB2wMJQk05infHbbb0gFpYrGR vegNRrueI2B9jZHA90QSHz70R/nFdzg/j4yDvrsal7iNKb5Ry8GkP7320dwMbeKW+q/DbW hD/C1d3SPFYju2qYyWfKvPf6AB9XetA= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1704203818; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc: mime-version:mime-version:content-type:content-type; bh=nnGa3RCJVPPmmF91rq3cBoiSJibIr4gzhqgdDnRyKQw=; b=18FEjH4aZPKVZ9ckaZ61Y/ui2mJul7MiGZcL7Re6uoKBqDKF9yWfiS1Mmhl5Naku4jhFCN xE44ifCud6dWseAQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1704203818; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc: mime-version:mime-version:content-type:content-type; bh=nnGa3RCJVPPmmF91rq3cBoiSJibIr4gzhqgdDnRyKQw=; b=LMPmOjtnOSyNkhS8wNToZGgbjLt8LxnTIxv3iVj6lr3NKmB2wMJQk05infHbbb0gFpYrGR vegNRrueI2B9jZHA90QSHz70R/nFdzg/j4yDvrsal7iNKb5Ry8GkP7320dwMbeKW+q/DbW hD/C1d3SPFYju2qYyWfKvPf6AB9XetA= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1704203818; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc: mime-version:mime-version:content-type:content-type; bh=nnGa3RCJVPPmmF91rq3cBoiSJibIr4gzhqgdDnRyKQw=; b=18FEjH4aZPKVZ9ckaZ61Y/ui2mJul7MiGZcL7Re6uoKBqDKF9yWfiS1Mmhl5Naku4jhFCN xE44ifCud6dWseAQ== Received: by hawking.nue2.suse.org (Postfix, from userid 17005) id 321E94A0381; Tue, 2 Jan 2024 14:56:58 +0100 (CET) From: Andreas Schwab <schwab@suse.de> To: gcc-patches@gcc.gnu.org Subject: [PATCH] libsanitizer: Enable LSan and TSan for riscv64 X-Yow: I can't decide which WRONG TURN to make first!! I wonder if BOB GUCCIONE has these problems! Date: Tue, 02 Jan 2024 14:56:58 +0100 Message-ID: <mvmil4bj0t1.fsf@suse.de> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Level: X-Spam-Level: X-Spamd-Result: default: False [-0.10 / 50.00]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; DKIM_SIGNED(0.00)[suse.de:s=susede2_rsa,suse.de:s=susede2_ed25519]; FUZZY_BLOCKED(0.00)[rspamd.com]; RCVD_COUNT_ZERO(0.00)[0]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; MID_RHS_MATCH_FROM(0.00)[]; BAYES_HAM(-0.00)[35.43%] Authentication-Results: smtp-out2.suse.de; none X-Spam-Score: -0.10 X-Spam-Status: No, score=-9.2 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, KAM_NUMSUBJECT, SPF_HELO_NONE, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Gcc-patches mailing list <gcc-patches.gcc.gnu.org> List-Unsubscribe: <https://gcc.gnu.org/mailman/options/gcc-patches>, <mailto:gcc-patches-request@gcc.gnu.org?subject=unsubscribe> List-Archive: <https://gcc.gnu.org/pipermail/gcc-patches/> List-Post: <mailto:gcc-patches@gcc.gnu.org> List-Help: <mailto:gcc-patches-request@gcc.gnu.org?subject=help> List-Subscribe: <https://gcc.gnu.org/mailman/listinfo/gcc-patches>, <mailto:gcc-patches-request@gcc.gnu.org?subject=subscribe> Errors-To: gcc-patches-bounces+incoming=patchwork.ozlabs.org@gcc.gnu.org |
Series |
libsanitizer: Enable LSan and TSan for riscv64
|
expand
|
On 1/2/24 06:56, Andreas Schwab wrote: > All new (tsan) tests are working as expected. > > * configure.tgt (riscv64-*-linux*): Enable LSan and TSan. OK Jeff
diff --git a/libsanitizer/configure.tgt b/libsanitizer/configure.tgt index d24566a2343..38fc7001ff7 100644 --- a/libsanitizer/configure.tgt +++ b/libsanitizer/configure.tgt @@ -72,6 +72,11 @@ case "${target}" in x86_64-*-solaris2.11* | i?86-*-solaris2.11*) ;; riscv64-*-linux*) + if test x$ac_cv_sizeof_void_p = x8; then + TSAN_SUPPORTED=yes + LSAN_SUPPORTED=yes + TSAN_TARGET_DEPENDENT_OBJECTS=tsan_rtl_riscv64.lo + fi ;; loongarch64-*-linux*) ;;