From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22083 invoked by alias); 12 Feb 2015 08:56:50 -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 22001 invoked by uid 48); 12 Feb 2015 08:56:45 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug lto/65015] LTO produces randomly ordered debug information Date: Thu, 12 Feb 2015 08:56:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: lto X-Bugzilla-Version: 4.9.2 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- 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: 2015-02/txt/msg01307.txt.bz2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65015 --- Comment #6 from Richard Biener --- (In reply to conchur from comment #5) > Thanks for the patches. I've rebuild the gcc package (which took the whole > afternoon + night on my machine) and can verify that the mini testcases are > now working perfectly fine. > > I've also tried this with some other projects (shared objects and > executables) and it now seems to work even without -flto-partition=none > > Is there any problem with the uncommitted patch that I should know about? > Could this patch theoretically be applied in Debian or there problems which > the Debian gcc-4.9 maintainers should know about? I've posted an alternative patch for review as some people thought there might be DWARF consumers that don't like dropping DW_AT_name, thus the alternative is to set it to sth like (like in the alternate patch). The patch isn't reviewed yet. Once it's approved I plan to backport the patch to relevant branches.