From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10017 invoked by alias); 15 May 2014 18:37:21 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Received: (qmail 10003 invoked by uid 89); 15 May 2014 18:37:20 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-3.1 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 15 May 2014 18:37:19 +0000 Received: from int-mx02.intmail.prod.int.phx2.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id s4FIbDYT019359 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 15 May 2014 14:37:13 -0400 Received: from redhat.com (ovpn-116-22.ams2.redhat.com [10.36.116.22]) by int-mx02.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id s4FIb78x029992 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Thu, 15 May 2014 14:37:10 -0400 Date: Thu, 15 May 2014 18:37:00 -0000 From: Marek Polacek To: Toon Moene Cc: ramrad01@arm.com, Jakub Jelinek , Richard Biener , Dodji Seketeli , Konstantin Serebryany , Tobias Burnus , gcc-patches , Richard Sandiford Subject: Re: [PATCH] Add support for -fno-sanitize-recover and -fsanitize-undefined-trap-on-error (PR sanitizer/60275) Message-ID: <20140515183707.GF8173@redhat.com> References: <20140415101156.GB1817@tucnak.redhat.com> <87a9ajfi5r.fsf@talisman.default> <20140515103357.GL10386@tucnak.redhat.com> <20140515150810.GD8173@redhat.com> <53750844.4030205@moene.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <53750844.4030205@moene.org> User-Agent: Mutt/1.5.23 (2014-03-12) X-SW-Source: 2014-05/txt/msg01216.txt.bz2 On Thu, May 15, 2014 at 08:32:36PM +0200, Toon Moene wrote: > On 05/15/2014 05:08 PM, Marek Polacek wrote: > > >On Thu, May 15, 2014 at 11:39:26AM +0100, Ramana Radhakrishnan wrote: > >>What's the overhead with bootstrap-ubsan ? > > > >I timed normal bootstrap and bootstrap-ubsan on x86_64, 24 cores, > >Intel(R) Xeon(R) CPU X5670 @ 2.93GHz (aka cfarm 20) and the results: > > > >--enable-languages=all > > > >real 35m10.419s > >user 204m5.613s > >sys 6m15.615s > > > >--enable-languages=all --with-build-config=bootstrap-ubsan > > > >real 71m39.338s > >user 347m53.409s > >sys 7m44.281s > > And don't underestimate the *usefulness* of this - if you don't have the > resources to do a ubsan bootstrap, download mine from last night > (x86_64-linux-gnu): http://moene.org/~toon/gcc-tests.log.gz > > [ I hope there is a way to discard color codings when writing error messages > to a file, ugh ] Sure, -fdiagnostics-color=auto "means to use color only when the standard error is a terminal", or -fdiagnostics-color=never to turn it off completely (testsuite uses the latter). Marek