From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12869 invoked by alias); 13 Mar 2011 12:13:14 -0000 Received: (qmail 12860 invoked by uid 22791); 13 Mar 2011 12:13:13 -0000 X-SWARE-Spam-Status: No, hits=-2.8 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; Sun, 13 Mar 2011 12:13:09 +0000 From: "iains at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug lto/48094] ld: warning: section has unexpectedly large size errors in objc/obj-c++ lto X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: lto X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: iains 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: --- 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: Sun, 13 Mar 2011 12:13: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: 2011-03/txt/msg01310.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48094 --- Comment #4 from Iain Sandoe 2011-03-13 12:13:05 UTC --- (In reply to comment #2) > (a) the first is because LTO has produced two image_info instances with > different mangled names ... > > e.g. L_OBJC_ImageInfo.2044 / L_OBJC_ImageInfo.2048 > > this is visible on darwin 9 (although it does not produce an error). This only applies when -flto is given together with the partitioning algorithm = none. For 1to1 or default, the instances of L_OBJC_ImageInfo are correctly combined into a single var. I'm not sure whether this is expected behavior (c.f. PR43038) ?