On May 15, 2008, at 7:13 PM, Martin Costabel wrote:

> David R. Morrison wrote:
>> Begin forwarded message:
>>> *From: *Tudor Marian <[EMAIL PROTECTED]  
>>> <mailto:[EMAIL PROTECTED]>>
>>> *Date: *May 15, 2008 12:45:06 PM PDT
>>> *To: [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
>>> *Subject: **gmp-4.2.2-1001 fails to build*
>>>
>>> Hi
>>>
>>> The gmp-4.2.2-1001 fails to build on a Mac Pro, under fink.  
>>> Here's what it says:
>>>
>>> /var/tmp//ccVW6InQ.s:13:no such 386 instruction: `ffreep'
>>> make[2]: *** [get_d.lo] Error 1
>>> make[1]: *** [all-recursive] Error 1
>>> make: *** [all] Error 2
>>> ### execution of /var/tmp/tmp.1.QCpOpi failed, exit code 2
>>> Removing runtime build-lock...
>>> Removing build-lock package...
>>> /sw/bin/dpkg-lockwait -r fink-buildlock-gmp-4.2.2-1001
>>> (Reading database ... 35819 files and directories currently  
>>> installed.)
>>> Removing fink-buildlock-gmp-4.2.2-1001 ...
>>> Failed: phase compiling: gmp-4.2.2-1001 failed
>>>
>>> I believe you should change the flags from ``-mtune=k8 - 
>>> march=k8'' to something more appropriate.
>
> It would be interesting to see how the compiler command line  
> leading to this looks like. Also, what does configure say about the  
> "build system type"?
>
> -- 
> Martin

The compiler command line is the following:
  gcc -DHAVE_CONFIG_H -I. -I. -I.. -D__GMP_WITHIN_GMP -I.. -I/sw/ 
include -m32 -O2 -fomit-frame-pointer -mtune=k8 -march=k8 -c get_d.c   
-fno-common -DPIC -o .libs/get_d.o

As for the ``build system type:''
checking build system type... core2-apple-darwin8.11.1

Tudor



-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.devel

Reply via email to