From patchwork Sat Feb 8 09:14:54 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrew Pinski X-Patchwork-Id: 1235215 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gcc.gnu.org (client-ip=209.132.180.131; helo=sourceware.org; envelope-from=gcc-patches-return-519164-incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.a=rsa-sha1 header.s=default header.b=Vy2R0MGE; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=HkCAgvgz; dkim-atps=neutral Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 48F63k5Ffpz9sRQ for ; Sat, 8 Feb 2020 20:16:16 +1100 (AEDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender :mime-version:from:date:message-id:subject:to:content-type; q= dns; s=default; b=GVRTdI4qu/XMYJis8hQGG9Q+jm+6LagMs3xXlx9ueVig3x mdwcLc20zDJ7BaCJEzhtQrv6kcHw7bwfX1mL1EyQTXkeJdnozUj8j++wWdhKVFKd Gx8RmWju2VAqO/OVPnbL0O541FpWNaekHyLeUMltHzDVs1w/Rhah1nbtei7oA= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender :mime-version:from:date:message-id:subject:to:content-type; s= default; bh=IfkHgwWhP74T2qKwmet64x9DaIY=; b=Vy2R0MGEMdjdeEPZA/wd u11sn+IoNyJPwDQZNOjlMMk58zftUgRLH7Ms/xjnARjHZqnH9IRnyCmjlgR+73Ue opHIXaNDvI/80deRRqOMueEjkPDpOLMIQNbf0Ycx1gij6L+dTz1qGxXS1LP79vqb 5TVH17k6G9NqpMghYfXnH9k= Received: (qmail 49830 invoked by alias); 8 Feb 2020 09:16:05 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org Received: (qmail 49732 invoked by uid 89); 8 Feb 2020 09:15:50 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-15.0 required=5.0 tests=AWL, BAYES_00, FREEMAIL_FROM, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, RCVD_IN_DNSWL_NONE, SPF_PASS autolearn=ham version=3.3.1 spammy=mutex, Large, Waiting X-HELO: mail-vk1-f173.google.com Received: from mail-vk1-f173.google.com (HELO mail-vk1-f173.google.com) (209.85.221.173) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sat, 08 Feb 2020 09:15:20 +0000 Received: by mail-vk1-f173.google.com with SMTP id o200so494200vke.4 for ; Sat, 08 Feb 2020 01:15:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=mxWwT28r8L0+XlrcPsCoV8f0v+Kx8V5YS71sYDCdVbk=; b=HkCAgvgzMQWtzvndf9HmODQFvm1niU2AQ/sIDowjQoOhShrqgX+4H2f9SjsJcr3sIv 0EUYvOATIPrt/2vC3bpaMgQ1+z1Y0Vd+UJCaKv6UdE8e2vq8r3HFzUkhzqutgXYlzG58 w//9DCEA1c6luRHE3+etQOvD86aKNv+HEAio1MY4XSg4GFbO63qLpWvilv2gaSPwSSnW rYC6WuiK8jVz5NisLFzrg9g3V8+rITB1u2hicz7+7qdjHjbAQCr02CTx0lGgRQwAfBVn yqRmoHJV93kvcU/H0i03QNuseW3cQS4JLGQchcbBOchjg1g7P+v7dgK/h5hr8SD52PvO lyHA== MIME-Version: 1.0 From: Andrew Pinski Date: Sat, 8 Feb 2020 01:14:54 -0800 Message-ID: Subject: [FYI] Patches that fix testing santiziers with qemu user mode To: GCC Patches X-IsSubscribed: yes Hi, These two patches are what I use to fix testing of the santizers with qemu. The first one disables coloring always as for some reason when running with qemu (but not normally), coloring is detected. I have not gone and debugged the reason why the sanitizers does not detect coloring when run under dejagnu even though, it is designed to be running under a psedu-TTY. The second patch disables LSAN when clone with the arguments that are needed to stop the world fail. This second patch should in theory go upstream but I am not going to that right now; plus maybe it should only disable it when used with asan instead of in general. With these two patches, I get clean test results on aarch64-linux-gnu. I am mainly sending them here as I think they are useful for people who are doing testing; especially cross testing. Thanks, Andrew Pinski From 7666c4ec5db5e99530f8ff9411b782326ce96655 Mon Sep 17 00:00:00 2001 From: Andrew Pinski Date: Thu, 6 Feb 2020 02:06:27 +0000 Subject: [PATCH 1/2] Set default coloring to never. Auto does not work always. So just disable coloring. Change-Id: I68564c6b4c35ed6d7f4e2938d765f428995900e7 Signed-off-by: Andrew Pinski --- libsanitizer/sanitizer_common/sanitizer_flags.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libsanitizer/sanitizer_common/sanitizer_flags.inc b/libsanitizer/sanitizer_common/sanitizer_flags.inc index 065258a5a6e..9caf442b2d1 100644 --- a/libsanitizer/sanitizer_common/sanitizer_flags.inc +++ b/libsanitizer/sanitizer_common/sanitizer_flags.inc @@ -108,7 +108,7 @@ COMMON_FLAG( uptr, clear_shadow_mmap_threshold, 64 * 1024, "Large shadow regions are zero-filled using mmap(NORESERVE) instead of " "memset(). This is the threshold size in bytes.") -COMMON_FLAG(const char *, color, "auto", +COMMON_FLAG(const char *, color, "never", "Colorize reports: (always|never|auto).") COMMON_FLAG( bool, legacy_pthread_cond, false,