From: Jack H. <ho...@br...> - 2011-06-30 22:36:36
|
On Thu, Jun 30, 2011 at 04:15:23PM -0500, Robert Wyatt wrote: > On 6/30/11 3:33 PM, Jack Howarth wrote: >> On Thu, Jun 30, 2011 at 01:55:25PM -0500, Robert Wyatt wrote: >>> On 6/30/11 1:43 PM, Jack Howarth wrote: >>>> On Thu, Jun 30, 2011 at 01:34:41PM -0500, Robert Wyatt wrote: >>>>> My guess is that Rudy is seeing this error, since I've been seeing it >>>>> for a couple of days now too (on 10.6.8). I'm happy to test solutions so >>>>> let me know.... >>>>> >>>>> checking for x86_64-apple-darwin10.8.0-gcc... >>>>> /sw/src/fink.build/gcc44-4.4.6-1000/darwin_objdir/./gcc/xgcc >>>>> -B/sw/src/fink.build/gcc44-4.4.6-1000/darwin_objdir/./gcc/ >>>>> -B/sw/lib/gcc4.4/x86_64-apple-darwin10.8.0/bin/ >>>>> -B/sw/lib/gcc4.4/x86_64-apple-darwin10.8.0/lib/ -isystem >>>>> /sw/lib/gcc4.4/x86_64-apple-darwin10.8.0/include -isystem >>>>> /sw/lib/gcc4.4/x86_64-apple-darwin10.8.0/sys-include >>>>> checking for suffix of object files... configure: error: in >>>>> `/sw/src/fink.build/gcc44-4.4.6-1000/darwin_objdir/x86_64-apple-darwin10.8.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 >>>>> >>>> Can you both make sure that binutils isn't installed when you are building >>>> gcc44? >>>> Jack >>> Hi Jack, >>> I don't have binutils installed. This is what I found in my config.log >>> that I thought might be related (I can provide the whole file if you >>> want it): >> Robert, >> Can you try moving aside /usr/local and /opt (in case you have >> any MacPorts installed) then try rebuilding gcc44? >> Jack > > Sure thing. The build failure hasn't changed. Here's the output: > http://reg066.reg.utexas.edu/~bentones/fink/10.6-64bit-home/gcc44-4.4.6-1000.txt Doh! You have apparently made llvm-gcc your default compiler on darwin10... checking for ld used by GCC... yes /usr/llvm-gcc-4.2/bin/../libexec/gcc/i686-apple-darwin10/4.2.1/ld I knew this failure looked familiar but it didn't make sense until I caught that. See... http://llvm.org/bugs/show_bug.cgi?id=9571 which, since Apple isn't going to backport the fix from llvm 2.9 into their llvm-gcc, was the origin of my interest in using clang for darwin11. Restore gcc-4.2/g++-4.2 as the system compiler on darwin10. Note that the clang2.9svn in Xcode 4.0.2 has too many unresolved issues to use for fink. Jack |