I have been trying for a long while now to compile Stockfish 8.
I am using a Windows machine, and therefore am using MinGW along with the packaged G++. Unfortunatly no matter what I try I keep on getting an error message on the tbprobe.cpp file although the code does compile.
syzygy/tbprobe.cpp:205:14: warning: array subscript is above array bounds [-Warray-bounds]
p[i++] = pop_lsb(&bb) ^ mirror;
^
syzygy/tbprobe.cpp:205:14: warning: array subscript is above array bounds [-Warray-bounds]
syzygy/tbprobe.cpp: In function 'int Tablebases::probe_dtz(Position&, int*)':
syzygy/tbprobe.cpp:315:14: warning: array subscript is above array bounds [-Warray-bounds]
p[i++] = pop_lsb(&bb) ^ mirror;
^
syzygy/tbprobe.cpp:315:14: warning: array subscript is above array bounds [-Warray-bounds]
The file size of my compile (after strip) is 909,824 bytes, the original is: 1,186,816 bytes.
Any ideas, please. I have tried numerous compilers.
Many thanks,
Andy
Compiling Stockfish 8...
Moderator: Ras
-
syzygy
- Posts: 5943
- Joined: Tue Feb 28, 2012 11:56 pm
Re: Compiling Stockfish 8...
They are not errors but warnings and they can be ignored. The array bounds warnings are a gcc bug.
Did you try running the binary you got?
Did you try running the binary you got?
-
andytl755
- Posts: 5
- Joined: Fri Oct 24, 2014 6:06 pm
Re: Compiling Stockfish 8...
Thank you very much for the response.
I ran the executable, and the 'uci' and 'bench' functions both seemed to work correctly. I haven't yet managed to try the syzygy tablebases given they are so large. I was concerned they wouldn't work as that was syzygy\tbprobe.cpp where the error/warning was - but if that's a bug, that makes it so much easier for me.
I was concerned as I said though, my compile was 909,824 bytes, the original is: 1,186,816 bytes. I understand it won't necessarily be exactly the same file size, but was just concerned part of the code was not compiling with such a size difference.
Thanks,
Andy
I ran the executable, and the 'uci' and 'bench' functions both seemed to work correctly. I haven't yet managed to try the syzygy tablebases given they are so large. I was concerned they wouldn't work as that was syzygy\tbprobe.cpp where the error/warning was - but if that's a bug, that makes it so much easier for me.
I was concerned as I said though, my compile was 909,824 bytes, the original is: 1,186,816 bytes. I understand it won't necessarily be exactly the same file size, but was just concerned part of the code was not compiling with such a size difference.
Thanks,
Andy
-
tpoppins
- Posts: 919
- Joined: Tue Nov 24, 2015 9:11 pm
- Location: upstate
Re: Compiling Stockfish 8...
That's all that matters as far as the end user is concerned. If the bench matches the official numbers everything works as expected.andytl755 wrote:I ran the executable, and the 'uci' and 'bench' functions both seemed to work correctly.
You can download the 3+4+5 set first, it's under 1 GB. Don't hurry with the 6-men set unless you have a 160+ GB SSD ready.andytl755 wrote:I haven't yet managed to try the syzygy tablebases given they are so large.
-
syzygy
- Posts: 5943
- Joined: Tue Feb 28, 2012 11:56 pm
Re: Compiling Stockfish 8...
It's fine to have the DTZ tables (*.rtbz) on HDD. The WDL tables (*.rtbw) are about 68GB and really like to be on SSD.