From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26588 invoked by alias); 12 Mar 2011 17:31:04 -0000 Received: (qmail 26579 invoked by uid 22791); 12 Mar 2011 17:31:04 -0000 X-SWARE-Spam-Status: No, hits=-2.8 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00,TW_BJ 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; Sat, 12 Mar 2011 17:31:01 +0000 From: "howarth at nitro dot med.uc.edu" To: gcc-bugs@gcc.gnu.org Subject: [Bug lto/48094] New: ld: warning: section has unexpectedly large size errors in objc/obj-c++ lto X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: lto X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: howarth at nitro dot med.uc.edu X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Date: Sat, 12 Mar 2011 17:31: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/msg01263.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48094 Summary: ld: warning: section has unexpectedly large size errors in objc/obj-c++ lto Product: gcc Version: 4.6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: lto AssignedTo: unassigned@gcc.gnu.org ReportedBy: howarth@nitro.med.uc.edu A large number of new failures occur in the objc/obj-c++ testsuite when built under Xcode 4.0 on x86_64-apple-darwin10. These failures are all of the form... Executing on host: /sw/src/fink.build/gcc46-4.6.0-1000/darwin_objdir/gcc/xgcc -B/sw/src/fink.build/gcc46-4.6.0-1000/darwin_objdir/gcc/ objc_lto_trivial-1_0.o -O0 -flto -flto-partition=none -fnext-runtime -B/sw/src/fink.build/gcc46-4.6.0-1000/darwin_objdir/x86_64-apple-darwin10.7.0/i386/libobjc/.libs -L/sw/src/fink.build/gcc46-4.6.0-1000/darwin_objdir/x86_64-apple-darwin10.7.0/i386/libobjc/.libs -lobjc -m32 -o objc-dg-lto-trivial-1-21 (timeout = 300) ld: warning: section __OBJC/__image_info has unexpectedly large size 16 in /var/tmp//ccMlEsXS.lto.o^M Undefined symbols for architecture i386:^M ".objc_class_name_myRootObject", referenced from:^M pointer-to-literal-objc-class-name in ccMlEsXS.lto.o^M pointer-to-literal-objc-class-name in ccMlEsXS.lto.o^M ld: symbol(s) not found for architecture i386^M collect2: ld returned 1 exit status^M compiler exited with status 1 output is: ld: warning: section __OBJC/__image_info has unexpectedly large size 16 in /var/tmp//ccMlEsXS.lto.o^M Undefined symbols for architecture i386:^M ".objc_class_name_myRootObject", referenced from:^M pointer-to-literal-objc-class-name in ccMlEsXS.lto.o^M pointer-to-literal-objc-class-name in ccMlEsXS.lto.o^M ld: symbol(s) not found for architecture i386^M collect2: ld returned 1 exit status^M FAIL: objc.dg/lto/trivial-1 objc_lto_trivial-1_0.o-objc_lto_trivial-1_0.o link, -O0 -flto -flto-partition=none -fnext-runtime The ld warning for "unexpectedly large size" is always associated with an undefined symbol for .objc_class_name_myRootObject.