2017-06-26 22:27 GMT+02:00 Ævar Arnfjörð Bjarmason <[email protected]>:
> Could you (or anyone else for that matter) please test it with:
>
> git clone --branch bigend-detect-solaris-again
> https://github.com/avar/sha1collisiondetection.git &&
> cd sha1collisiondetection &&
> make test
Still no luck.
~/sha1collisiondetection (bigend-detect-solaris-again *)$ CC=gcc gmake test
mkdir -p dep_lib && gcc -O2 -Wall -Werror -Wextra -pedantic -std=c90
-Ilib -M -MF dep_lib/sha1.d lib/sha1.c
lib/sha1.c:63:58: error: operator '==' has no right operand
#if ((defined(_BYTE_ORDER) && (_BYTE_ORDER == _BIG_ENDIAN)) || \
^
Running Solaris on sparc:
$ uname -a
SunOS er202 5.11 11.3 sun4v sparc sun4v
The isa_defs.h is available here:
https://gist.github.com/michaelkebe/472720cd684b5b2a504b8eeb24049870
Greetings
Michael