Jack Howarth wrote:
> Alexander,
>     I just rebuilt gcc43 and octave on a dual G5 running
> 10.5.6 with Xcode 3.1.2. Everything builds normally here.
> Are you sure you don't have some non-fink software installed
> that is confusing the fink builds? 
Nope.  
> I've had no other reports
> of this problem.
>                  Jack
>   
It turns out that my locally built gcc43 was actually 4.3.1-1000; but I
got the same error with it, too. 

My 4.3.3-1000 came from Todai.


I've got a couple of other ideas to try; I'll follow up when I know more.

-- 
Alexander Hansen
Fink User Liaison


> On Tue, Apr 07, 2009 at 10:05:54AM -0400, Alexander Hansen wrote:
>   
>> G4 using OS 10.5.6 and Xcode 3.1.2
>>
>> I'm pretty sure this _used_ to work for me, (as of January 3, anyway)
>> but it appears that some system update has thrown it askew.   
>> The error seems to be restricted to gfortran, as the C compiler seemed
>> happy to build clamav.  For example, from trying to build octave:
>>
>> Console output:
>> ...
>> checking for powerpc-apple-darwin-g77... /sw/bin/gfortran
>> checking whether we are using the GNU Fortran 77 compiler... no
>> checking whether /sw/bin/gfortran accepts -g... no
>> checking how to get verbose linking output from /sw/bin/gfortran...
>> configure: W
>> ARNING: compilation failed
>>
>> checking for Fortran 77 libraries of /sw/bin/gfortran...
>> /sw/lib/gcc4.3/lib/libg
>> fortran.dylib
>> checking for dummy main to link with Fortran 77 libraries... none
>> checking for Fortran 77 name-mangling scheme... configure: error: cannot
>> compile
>>  a simple Fortran program
>> See `config.log' for more details.
>> ...
>>
>> config.log:
>> ...
>> configure:10737: checking whether we are using the GNU Fortran 77 compiler
>> configure:10756: /sw/bin/gfortran -c -O3 conftest.F >&5
>> <built-in>:0: internal compiler error: Illegal instruction
>> Please submit a full bug report,
>> with preprocessed source if appropriate.
>> See <http://gcc.gnu.org/bugs.html> for instructions.
>> configure:10762: $? = 1
>> configure: failed program was:
>> |       program main
>> | #ifndef __GNUC__
>> |        choke me
>> | #endif
>> |
>> |       end
>> configure:10779: result: no
>> configure:10785: checking whether /sw/bin/gfortran accepts -g
>> configure:10802: /sw/bin/gfortran -c -g conftest.f >&5
>> <built-in>:0: internal compiler error: Illegal instruction
>> Please submit a full bug report,
>> with preprocessed source if appropriate.
>> See <http://gcc.gnu.org/bugs.html> for instructions.
>> configure:10808: $? = 1
>> configure: failed program was:
>> |       program main
>> |
>> |       end
>> configure:10824: result: no
>> configure:10854: checking how to get verbose linking output from
>> /sw/bin/gfortra
>> n
>> configure:10870: /sw/bin/gfortran -c -O3 conftest.f >&5
>> <built-in>:0: internal compiler error: Illegal instruction
>> Please submit a full bug report,
>> with preprocessed source if appropriate.
>> See <http://gcc.gnu.org/bugs.html> for instructions.
>> configure:10876: $? = 1
>> configure: failed program was:
>> |       program main
>> |
>> |       end
>> configure:10957: WARNING: compilation failed
>> configure:10964: result:
>> configure:10966: checking for Fortran 77 libraries of /sw/bin/gfortran
>> configure:11163: result: /sw/lib/gcc4.3/lib/libgfortran.dylib
>> configure:11179: checking for dummy main to link with Fortran 77 libraries
>> configure:11223: gcc -o conftest -O3 -I/sw/include -I/sw/include
>> -L/sw/lib conft
>> est.c -lhdf5 -lz -lm  /sw/lib/gcc4.3/lib/libgfortran.dylib >&5
>> configure:11229: $? = 0
>> configure:11310: result: none
>> configure:11347: checking for Fortran 77 name-mangling scheme
>> configure:11366: /sw/bin/gfortran -c -O3 conftest.f >&5
>> <built-in>:0: internal compiler error: Illegal instruction
>> Please submit a full bug report,
>> with preprocessed source if appropriate.
>> See <http://gcc.gnu.org/bugs.html> for instructions.
>> configure:11372: $? = 1
>> configure: failed program was:
>> |       subroutine foobar()
>> |       return
>> |       end
>> |       subroutine foo_bar()
>> |       return
>> |       end
>> configure:11566: error: cannot compile a simple Fortran program
>> See `config.log' for more details.
>>
>> The package was build on my system:  not an unofficial binary from
>> somewhere else.  I've tried to rebuild gcc43, but it fails (I'm in the
>> two-day process of trying to capture a log to follow up on this).  After
>> that is done I guess I can see whether downgrading Xcode will help here.
>>
>> -- 
>> Alexander Hansen
>> Fink User Liaison
>>     



------------------------------------------------------------------------------
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
_______________________________________________
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to