Re: Compile Error v2.13.2 on Solaris SPARC
- From
- Michael Kebe <michael.kebe@gmail.com>
- Date
- Jun 27, 2017, 05:41 UTC
- Message-ID
- <CAKKM46vr2Y_Zs+EJX-nxw7XH0nbpmTyubR1jibYoiieNCDns4Q@mail.gmail.com>
- In-Reply-To
- <87fuem7aw2.fsf@gmail.com>
2017-06-26 22:27 GMT+02:00 Ævar Arnfjörð Bjarmason <avarab@gmail.com>:
Show 5 quoted lines
> 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