From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12988 invoked by alias); 3 Jan 2012 10:32:12 -0000 Received: (qmail 12978 invoked by uid 22791); 3 Jan 2012 10:32:11 -0000 X-SWARE-Spam-Status: No, hits=-2.9 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 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; Tue, 03 Jan 2012 10:31:57 +0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/50616] lto1.exe: internal compiler error: invalid resolution in the resolution file Date: Tue, 03 Jan 2012 10:32:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Keywords: lto X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org 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: CC 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 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: 2012-01/txt/msg00219.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50616 Richard Guenther changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ktietz at gcc dot gnu.org --- Comment #4 from Richard Guenther 2012-01-03 10:31:53 UTC --- I think the (null)'s are odd at least. 2 ltotest.o 15 1068 a2f6b3c8 (null) PREVAILING_DEF 1010 a2f6b3c8 (null) RESOLVED_EXEC 1082 a2f6b3c8 (null) RESOLVED_EXEC 1086 a2f6b3c8 (null) RESOLVED_EXEC 1093 a2f6b3c8 (null) RESOLVED_EXEC ... First of all, the symbol name should come 4th, not 3rd - the resolution belongs there. This means you are very likely using a bogus lto-plugin shared object that does not match the GCC version you are using. Though I do not remeber any version that dumped things in the order I see in your attached file. So, please check which file is specified as -plugin argument to the linker (it should be visible in the -v dump) and remove that and/or replace it with a current version. Hmm. We use fprintf (f, "%u %llx %s %s\n", (unsigned int) slot, symtab->aux[j].id, lto_resolution_str[resolution], symtab->syms[j].name); maybe that falls foul of some special Window-ism (aka unportable %llx?). Kai?