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: unassig...@gcc.gnu.org ReportedBy: howa...@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.