Hi Jack,

On 30 Apr 2014, at 18:42, Jack Howarth <howarth.at.f...@gmail.com> wrote:

> Remi,
>      Please check that you get..
> 
> grep GMP_CFLAGS gmp.h
> #define __GMP_CFLAGS "-O2 -pedantic -fomit-frame-pointer -m64 -mtune=core2 
> -march=core2"
> 
> in your fink includes directory. The new gmp 6.0.0 release has a total 
> rewrite of the assembly optimizations…
> 
> https://gmplib.org/gmp6.0.html
> 
> and the config.guess will produce a unique machine type for newer hardware. 
> This could cause issues if
> the assembly for newer cpus is run on an older hardware.
>             Jack
> 

Checking gmp was the right clue:

$ grep GMP_CFLAGS /opt/fink/include/gmp.h
#define __GMP_CFLAGS "-O2 -pedantic -fomit-frame-pointer -m64 -mtune=corei7 
-march=corei7"

$ pkg -S /opt/fink/include/gmp.h
gmp5: /opt/fink/include/gmp.h

$ fink list gmp5
Information about 8231 packages read in 1 seconds.
 i   gmp5                             6.0.0a-1                 GNU multiple 
precision arithmetic library
 i   gmp5-shlibs                      6.0.0a-1                 Shared library 
for gmp package

$ fink rebuild gmp5

$ grep GMP_CFLAGS /opt/fink/include/gmp.h
#define __GMP_CFLAGS "-O2 -pedantic -fomit-frame-pointer -m64 -mtune=core2 
-march=core2"

$ fink build gcc49

which succeeds.


I restored my old laptop from a Time Machine backup from my newer (but broken) 
MacBook Pro. Thus, I got the "wrong" GMP_CFLAGS for a newer CPU architecture. I 
guess this could also affect people getting gmp5 from the binary distribution. 

Anyway, thanks for your help sorting it out.

Cheers,
Remi


Attachment: smime.p7s
Description: S/MIME cryptographic signature

------------------------------------------------------------------------------
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.  Get 
unparalleled scalability from the best Selenium testing platform available.
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs
_______________________________________________
Fink-users mailing list
Fink-users@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.macosx.fink.user
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to