From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29492 invoked by alias); 19 Nov 2014 14:36:23 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 29424 invoked by uid 48); 19 Nov 2014 14:36:19 -0000 From: "fxcoudert at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug sanitizer/63939] [5 Regression] Massive asan failures (356) on darwin Date: Wed, 19 Nov 2014 14:36:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: sanitizer X-Bugzilla-Version: 5.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: fxcoudert at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 5.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2014-11/txt/msg01965.txt.bz2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63939 --- Comment #11 from Francois-Xavier Coudert --- (In reply to Iain Sandoe from comment #10) > The only small snag here is that llvm-symbolizer is not a 'standard tool' > but requires a devt build of llvm. I've filed a bug report with Apple, asking if they could provide llvm-symbolizer with the Xcode developer tools. We'll see if they consider it. In the longer term, we need to support Mach-O in libbacktrace. If I knew how to implement that, I would do it, but I simply have no idea. > AFAIK, sanitizer works fine on (x86) darwin "upstream" so we need to get to > the bottom of what we're doing/testing differently here. If one has llvm-symbolizer in PATH, and with PR63964 fixed, the sanitizer failures on darwin are down to: - testcases that need adjusting (patch submitted there: https://gcc.gnu.org/ml/gcc-patches/2014-11/msg02465.html) - c-c++-common/asan/strncpy-overflow-1.c: PR59148