Spark 0.4 for Mac OSX released

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

Moderators: hgm, Rebel, chrisw

Allard Siemelink
Posts: 297
Joined: Fri Jun 30, 2006 9:30 pm
Location: Netherlands

Spark 0.4 for Mac OSX released

Post by Allard Siemelink »

Spark 0.4 for Mac OSX, Intel 64-bit is now availabe from

http://members.ziggo.nl/allard.siemelink/spark/
User avatar
Marek Soszynski
Posts: 582
Joined: Wed May 10, 2006 7:28 pm
Location: Birmingham, England

Re: Spark 0.4 for Mac OSX released

Post by Marek Soszynski »

What about Spark 0.5, which is already being tested by CCRL - when will that be on general release?
Marek Soszynski
zullil
Posts: 6442
Joined: Tue Jan 09, 2007 12:31 am
Location: PA USA
Full name: Louis Zulli

Re: Spark 0.4 for Mac OSX released

Post by zullil »

Allard Siemelink wrote:Spark 0.4 for Mac OSX, Intel 64-bit is now availabe from

http://members.ziggo.nl/allard.siemelink/spark/
Thanks. The binary works fine on my Core 2 Duo MacBook running OS X 10.6.3 (Snow Leopard).
Max
Posts: 247
Joined: Tue Apr 13, 2010 10:41 am

Re: Spark 0.4 for Mac OSX released

Post by Max »

Unfortunately Spark 0.4 does not run on Mac OS X 10.5.8 (Macbook with Core2Duo). Only this error message appears

Code: Select all

$ ./spark-0.4-osx-mp 
dyld: unknown required load command 0x80000022
Trace/BPT trap
The previous version does well

Code: Select all

$ ./spark-0.3a-mp 
spark-0.3a
(c) 2009-2010 AJ Siemelink

inifile=spark.ini

allocating hash...allocated 33554432 bytes=32Mb
starting threads...

initialized
% 
Allard, please don't forget us poor Leo users!

All the best,
Max
zullil
Posts: 6442
Joined: Tue Jan 09, 2007 12:31 am
Location: PA USA
Full name: Louis Zulli

Re: Spark 0.4 for Mac OSX released

Post by zullil »

Max wrote:Unfortunately Spark 0.4 does not run on Mac OS X 10.5.8 (Macbook with Core2Duo). Only this error message appears

Code: Select all

$ ./spark-0.4-osx-mp 
dyld: unknown required load command 0x80000022
Trace/BPT trap
The previous version does well

Code: Select all

$ ./spark-0.3a-mp 
spark-0.3a
(c) 2009-2010 AJ Siemelink

inifile=spark.ini

allocating hash...allocated 33554432 bytes=32Mb
starting threads...

initialized
% 
Allard, please don't forget us poor Leo users!

All the best,
Max
Perhaps Allard needs to recompile with

Code: Select all

$CFLAGS = -isysroot /Developer/SDKs/MacOSX10.5.sdk -mmacosx-version-min=10.5
Tord Romstad
Posts: 1808
Joined: Wed Mar 08, 2006 9:19 pm
Location: Oslo, Norway

Re: Spark 0.4 for Mac OSX released

Post by Tord Romstad »

Thanks for the OS X binary, Allard! I wish more of the closed-source guys would release OS X binaries, and I look forward to testing Spark some time soon.
zullil wrote:Perhaps Allard needs to recompile with

Code: Select all

$CFLAGS = -isysroot /Developer/SDKs/MacOSX10.5.sdk -mmacosx-version-min=10.5
Worth a try, but it didn't do the trick for Stockfish. I still haven't been able to compile a binary compatible with 10.5.

By the way, I am very surprised that so many people are still using 10.5. I thought everybody would have upgraded by now. Snow Leopard is awesome, and the upgrade from Leopard is ridiculously cheap.
IanO
Posts: 496
Joined: Wed Mar 08, 2006 9:45 pm
Location: Portland, OR

Re: Spark 0.4 for Mac OSX released

Post by IanO »

Tord Romstad wrote:Thanks for the OS X binary, Allard! I wish more of the closed-source guys would release OS X binaries, and I look forward to testing Spark some time soon.
zullil wrote:Perhaps Allard needs to recompile with

Code: Select all

$CFLAGS = -isysroot /Developer/SDKs/MacOSX10.5.sdk -mmacosx-version-min=10.5
Worth a try, but it didn't do the trick for Stockfish. I still haven't been able to compile a binary compatible with 10.5.

By the way, I am very surprised that so many people are still using 10.5. I thought everybody would have upgraded by now. Snow Leopard is awesome, and the upgrade from Leopard is ridiculously cheap.
You also need to export a particular environment variable, to use the legacy linker format:

export MACOSX_DEPLOYMENT_TARGET="10.5"

Ian
zullil
Posts: 6442
Joined: Tue Jan 09, 2007 12:31 am
Location: PA USA
Full name: Louis Zulli

Re: Spark 0.4 for Mac OSX released

Post by zullil »

IanO wrote:
You also need to export a particular environment variable, to use the legacy linker format:

export MACOSX_DEPLOYMENT_TARGET="10.5"

Ian
Thanks. Will the resulting binary then work with both 10.5 and 10.6?
Allard Siemelink
Posts: 297
Joined: Fri Jun 30, 2006 9:30 pm
Location: Netherlands

Re: Spark 0.4 for Mac OSX released

Post by Allard Siemelink »

Thanks, I've uploaded a new version, could you try if it is ok now?

http://members.ziggo.nl/allard.siemelink/spark/
Allard Siemelink
Posts: 297
Joined: Fri Jun 30, 2006 9:30 pm
Location: Netherlands

Re: Spark 0.4 for Mac OSX released

Post by Allard Siemelink »

You're welcome. Anyway, building a mac version is not hard at all,
the changes compared to the linux version are minimal.
Just hope that the recompile (with -mmacosx-version-min=10.5) will work...
Tord Romstad wrote:Thanks for the OS X binary, Allard! I wish more of the closed-source guys would release OS X binaries, and I look forward to testing Spark some time soon.
zullil wrote:Perhaps Allard needs to recompile with

Code: Select all

$CFLAGS = -isysroot /Developer/SDKs/MacOSX10.5.sdk -mmacosx-version-min=10.5
Worth a try, but it didn't do the trick for Stockfish. I still haven't been able to compile a binary compatible with 10.5.

By the way, I am very surprised that so many people are still using 10.5. I thought everybody would have upgraded by now. Snow Leopard is awesome, and the upgrade from Leopard is ridiculously cheap.