Jack Howarth wrote: > On Thu, Jun 30, 2011 at 05:47:06PM -0500, Robert Wyatt wrote: >> Jack Howarth wrote: >>> 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 >> >> Okay great, that's good news I suppose. Not knowing how it happened >> though, and not having llvm installed, I don't know how to restore my >> default compiler and could use some guidance. > > All I can recommend is executing 'gcc -v' and 'which gcc' which should > report back... > > gcc version 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2335.6) > > or such and point you gcc as being /usr/bin/llvm-gcc. At some point a user > on your machine must have switched the symlinks as only darwin11 defaults gcc > to llvm-gcc (not darwin10). > Jack
Okay, but unless I built llvm-gcc some time ago and that process alone caused the change, there was no change to my settings by any user on this machine (I'm the only user). $ gcc -v Using built-in specs. Target: i686-apple-darwin10 Configured with: /private/var/tmp/llvmgcc42/llvmgcc42-2335.15~13/src/configure --disable-checking --enable-werror --prefix=/Developer/usr/llvm-gcc-4.2 --mandir=/share/man --enable-languages=c,objc,c++,obj-c++ --program-prefix=llvm- --program-transform-name=/^[cg][^.-]*$/s/$/-4.2/ --with-slibdir=/usr/lib --build=i686-apple-darwin10 --enable-llvm=/private/var/tmp/llvmgcc42/llvmgcc42-2335.15~13/dst-llvmCore/Developer/usr/local --program-prefix=i686-apple-darwin10- --host=x86_64-apple-darwin10 --target=i686-apple-darwin10 --with-gxx-include-dir=/usr/include/c++/4.2.1 Thread model: posix gcc version 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2335.15.00) ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 _______________________________________________ Fink-beginners mailing list [email protected] List archive: http://news.gmane.org/gmane.os.apple.fink.beginners Subscription management: https://lists.sourceforge.net/lists/listinfo/fink-beginners
