From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2596 invoked by alias); 1 Dec 2010 21:51:40 -0000 Received: (qmail 2586 invoked by uid 22791); 1 Dec 2010 21:51:39 -0000 X-SWARE-Spam-Status: No, hits=-2.8 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00,TW_GD X-Spam-Check-By: sourceware.org Received: from localhost (HELO gcc.gnu.org) (127.0.0.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 01 Dec 2010 21:51:35 +0000 From: "rguenther at suse dot de" To: gcc-bugs@gcc.gnu.org Subject: [Bug debug/46749] gcc.dg/debug/pr41893-1.c -gdwarf-2 testsuite failures on darwin X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: debug X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenther at suse dot de X-Bugzilla-Status: WAITING X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Date: Wed, 01 Dec 2010 21:51:00 -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 X-SW-Source: 2010-12/txt/msg00100.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46749 --- Comment #16 from rguenther at suse dot de 2010-12-01 21:51:18 UTC --- On Wed, 1 Dec 2010, iains at gcc dot gnu.org wrote: > http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46749 > > --- Comment #15 from Iain Sandoe 2010-12-01 21:34:19 UTC --- > splitting the command into compile and link steps will intentionally remove the > dsymutil step - thus making the problem 'go away' ... > > dsymutil should _only_ be called if there is a source file on the c/l > (which would have its object deleted and thus be unavailable for debug). Huh, ok. But the spec seems to call it unconditionally in the link-command-spec when -g is visible. At least I can't see how a "source file" is matched (and we now definitely do find object files as source for the link step). And the issue is probably that we match on the intermediate link command but execute only after that is finished. Well, that dsymutil hack looks like a hack.