[Mac] 30 new compiles (and new links)

Discussion of anything and everything relating to chess playing software and machines.

Moderator: Ras

User avatar
JuLieN
Posts: 2949
Joined: Mon May 05, 2008 12:16 pm
Location: Bordeaux (France)
Full name: Julien Marcel

Re: [Mac] 30 new compiles (and new links)

Post by JuLieN »

Ok, after having googled a bit, I found this:
http://stackoverflow.com/questions/1426 ... ion-min-10
I get Illegal Instruction: 4 errors with binaries compiled with GCC 4.7.2 under Mac OS X 10.8.2 ("Mountain Lion"), when those binaries are run under Mac OS X 10.7.x ("Lion") and earlier versions. The binaries work properly under Mac OS X 10.8.x.

I added -mmacosx-version-min=10.5 to my compile flags and this seems to help resolve the issue for 10.5.x, 10.6.x and 10.7.x clients, whatever that issue is.
So the problem really comes from using different versions of the OS. I'll compile with -mmacosx-version-min=10.5 from now on, but I just can't recompile all my other binaries in order to support old versions of the OS... I'll recompile those engines though.
[Edit:] as you said you had no problems with my older compiles, I guess I can recompile the recent ones only (so about 40/50 engines to recompile.) This is still doable. :)
"The only good bug is a dead bug." (Don Dailey)
[Blog: http://tinyurl.com/predateur ] [Facebook: http://tinyurl.com/fbpredateur ] [MacEngines: http://tinyurl.com/macengines ]
Kaj Soderberg
Posts: 137
Joined: Sat Jan 01, 2011 7:33 pm

Re: [Mac] 30 new compiles (and new links)

Post by Kaj Soderberg »

Ahaa, problem detected, solution coming up.
Very impressive. I take my hat off.

Cheers, Kaj
User avatar
velmarin
Posts: 1600
Joined: Mon Feb 21, 2011 9:48 am

Re: [Mac] 30 new compiles (and new links)

Post by velmarin »

Hi Julien.

You can remove if you like the "VE" to StingSF 3 VE

I added "VE" it to distinguish my compilation of other.
Original name is StingSF 3.

Thanks for everything.
User avatar
JuLieN
Posts: 2949
Joined: Mon May 05, 2008 12:16 pm
Location: Bordeaux (France)
Full name: Julien Marcel

Re: [Mac] 30 new compiles (and new links)

Post by JuLieN »

velmarin wrote:Hi Julien.

You can remove if you like the "VE" to StingSF 3 VE

I added "VE" it to distinguish my compilation of other.
Original name is StingSF 3.

Thanks for everything.
Ohhhh.... "VE" stood for VElasco? :D Thanks Jose!
"The only good bug is a dead bug." (Don Dailey)
[Blog: http://tinyurl.com/predateur ] [Facebook: http://tinyurl.com/fbpredateur ] [MacEngines: http://tinyurl.com/macengines ]
User avatar
JuLieN
Posts: 2949
Joined: Mon May 05, 2008 12:16 pm
Location: Bordeaux (France)
Full name: Julien Marcel

Re: [Mac] 30 new compiles (and new links)

Post by JuLieN »

Kaj Soderberg wrote:Ahaa, problem detected, solution coming up.
Very impressive. I take my hat off.

Cheers, Kaj
There, I re-compiled StingSF3. Could you please re-download it and check that this time it works. The exe is 327,132 bytes big, and dated of 4.34 pm today.

http://julien.marcel.free.fr/macchess/StingSF3VE.zip

I compiled it with popcnt and Clang, and it is significantly faster than my previous build.

If you confirm that it's now working I'll then re-compile all the other engines... :cry:
"The only good bug is a dead bug." (Don Dailey)
[Blog: http://tinyurl.com/predateur ] [Facebook: http://tinyurl.com/fbpredateur ] [MacEngines: http://tinyurl.com/macengines ]
IanO
Posts: 503
Joined: Wed Mar 08, 2006 9:45 pm
Location: Portland, OR

Re: [Mac] 30 new compiles (and new links)

Post by IanO »

I made patches to compile Gull 1.0 and 1.2 on Mac/Linux a while back. They are in the Gull source forge support forum if you want to try them out.
Kaj Soderberg
Posts: 137
Joined: Sat Jan 01, 2011 7:33 pm

Re: [Mac] 30 new compiles (and new links)

Post by Kaj Soderberg »

It works. You are a genius!

Cheers,
Kaj
User avatar
JuLieN
Posts: 2949
Joined: Mon May 05, 2008 12:16 pm
Location: Bordeaux (France)
Full name: Julien Marcel

Re: [Mac] 30 new compiles (and new links)

Post by JuLieN »

IanO wrote:I made patches to compile Gull 1.0 and 1.2 on Mac/Linux a while back. They are in the Gull source forge support forum if you want to try them out.
Thanks Ian! :D I had started working on Gull, but if you've done it already that will save me some time! :)
Kaj Soderberg wrote:It works. You are a genius!

Cheers,
Kaj
Hehe, thx Kaj. The community at Stack Overflow is! ;) I would never have suspected that text programs for terminals could be incompatible from OSX version to OSX version... :shock:
"The only good bug is a dead bug." (Don Dailey)
[Blog: http://tinyurl.com/predateur ] [Facebook: http://tinyurl.com/fbpredateur ] [MacEngines: http://tinyurl.com/macengines ]
Cubeman
Posts: 644
Joined: Fri Feb 02, 2007 3:11 am
Location: New Zealand

Re: [Mac] 30 new compiles (and new links)

Post by Cubeman »

Thanks
Kaj Soderberg
Posts: 137
Joined: Sat Jan 01, 2011 7:33 pm

Re: [Mac] 30 new compiles (and new links)

Post by Kaj Soderberg »

Hi Ian,

I found the patch file but not the mentioned Gull for Mac.
Could you give a link for the package?
Then i'll give it a try.

Cheers,
Kaj