From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29903 invoked by alias); 27 Mar 2011 17:02:16 -0000 Received: (qmail 29880 invoked by uid 22791); 27 Mar 2011 17:02:15 -0000 X-SWARE-Spam-Status: No, hits=-2.8 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00,TW_LV 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, 27 Mar 2011 17:02:10 +0000 From: "howarth at nitro dot med.uc.edu" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/48301] New: Xcode 4.0's llvm-gcc can't bootstrap gcc 4.6.0 or trunk X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target 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: Sun, 27 Mar 2011 17:34: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/msg02796.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48301 Summary: Xcode 4.0's llvm-gcc can't bootstrap gcc 4.6.0 or trunk Product: gcc Version: 4.6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target AssignedTo: unassigned@gcc.gnu.org ReportedBy: howarth@nitro.med.uc.edu While Xcode 4.0's clang can bootstrap FSF gcc trunk and 4.6.0, the llvm-gcc compiler can not. The bootstrap fails as... mkdir x86_64-apple-darwin10.7.0/libgcc Checking multilib configuration for libgcc... Configuring stage 1 in x86_64-apple-darwin10.7.0/libgcc configure: creating cache ./config.cache checking for --enable-version-specific-runtime-libs... no checking for a BSD-compatible install... /usr/bin/install -c checking for gawk... gawk checking build system type... x86_64-apple-darwin10.7.0 checking host system type... x86_64-apple-darwin10.7.0 checking for x86_64-apple-darwin10.7.0-ar... ar checking for x86_64-apple-darwin10.7.0-lipo... lipo checking for x86_64-apple-darwin10.7.0-nm... /Users/howarth/work/./gcc/nm checking for x86_64-apple-darwin10.7.0-ranlib... ranlib checking for x86_64-apple-darwin10.7.0-strip... strip checking whether ln -s works... yes checking for x86_64-apple-darwin10.7.0-gcc... /Users/howarth/work/./gcc/xgcc -B/Users/howarth/work/./gcc/ -B/Users/howarth/dist/x86_64-apple-darwin10.7.0/bin/ -B/Users/howarth/dist/x86_64-apple-darwin10.7.0/lib/ -isystem /Users/howarth/dist/x86_64-apple-darwin10.7.0/include -isystem /Users/howarth/dist/x86_64-apple-darwin10.7.0/sys-include checking for suffix of object files... configure: error: in `/Users/howarth/work/x86_64-apple-darwin10.7.0/libgcc': configure: error: cannot compute suffix of object files: cannot compile See `config.log' for more details. make[2]: *** [configure-stage1-target-libgcc] Error 1 make[1]: *** [stage1-bubble] Error 2 make: *** [all] Error 2 While this is likely a bug in llvm-gcc, we should attempt to analyze it and file the appropriate radar bug reports against llvm-gcc in case Apple switches to llvm-gcc as the system compiler in the future.