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.
$ fink list -t gcc
Information about 10114 packages read in 1 seconds.
avr-gcc 4.4.2-1 GNU GCC for ATMEL AVR micro controllers
broken-gcc 3.3-1 [virtual package representing a broken gcc
compiler]
dragonegg-gcc45 2.9-1 Using LLVM as a GCC backend
gcc2 2.95.2-0 [virtual package representing the gcc 2.95.2
compiler]
gcc2.95 2.95.2-0 [virtual package representing the gcc 2.95.2
compiler]
gcc3.1 3.1-0 [virtual package representing the gcc 3.1 compiler]
gcc3.3 3.3-0 [virtual package representing the gcc 3.3 compiler]
i gcc4.0 4.0.1-5494 [virtual package representing the gcc 4.0.1
compiler]
i gcc4.2 4.2.1-5666 [virtual package representing the gcc 4.2.1
compiler]
gcc44 4.4.6-1000 GNU Compiler Collection Version 4.4
gcc44-compiler 4.4.6-1000 Compiler Binaries for gcc44.
(i) gcc44-shlibs 4.4.6-1000 Shared libraries for gcc4
gcc45 4.5.3-1000 GNU Compiler Collection Version 4.5
gcc45-compiler 4.5.3-1000 Compiler Binaries for gcc45.
(i) gcc45-shlibs 4.5.3-1000 Shared libraries for gcc4
llvm-gcc42 2.5-1 GCC 4.2.1 front-end for LLVM Compiler System
llvm-gcc42-shlibs 2.5-1 Shared libraries for llvm-gcc42
m681x-gcc 3.3.6-3 For Motorola 68hc11/12 micro controllers
mingw-gcc 4.1.0-3 GNU GCC for MinGW
msp430-gcc 4.4.5-20110312-2 GNU GCC for for Texas
Instruments
MSP430 MCU
qepcad-gcc45 1.61-1 Tarski's Quantifier Elimination
saclib-gcc45 2.2.5-1 Computer algebra, specially on ordered fields
------------------------------------------------------------------------------
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