Page 2 of 2

Re: DiscoCheck 5.0

Posted: Sun Oct 27, 2013 1:40 pm
by lucasart
User923005 wrote:I used your script to build it, of course.
Attached are the results before I renamed the header file and after.
I just updated to GCC 4.8, and managed to reproduce your problem. You forgot the $1 argument:

Code: Select all

$ ./make.sh ./discocheck
which produces an executable called './discocheck'.

I also fixed a bug which GCC 4.8 unveiled. It was an access out of bounds of an array, which happenned to give the correct result with earlier version of GCC. By pure chance there was some extra padding with zero value there, and that happenned to be the value I needed (but not with GCC 4.8 which showed a different bench signature).

If you pull the latest code, and compile as above, it should produce no warning or error messages (I've just done it with GCC 4.8.1 right now). And it should have this signature (node count)

Code: Select all

$ ./discocheck bench
...
signature = 5357949
time = ...

Re: DiscoCheck 5.0

Posted: Mon Oct 28, 2013 12:41 pm
by Jeremy Bernstein
Here's an OSX 32/64-bit fat binary, should run on all systems 10.5+.

Jeremy

Re: DiscoCheck 5.0

Posted: Mon Oct 28, 2013 8:37 pm
by User923005
Yes, it works fine now.
...
signature = 5357949
time = 7.46296