openssh 5.2p1 fails to build on IRIX 5.3

Tom Christensen tgc at jupiterrise.com
Thu Mar 19 07:06:30 EST 2009


Tim Rice wrote:
> On Mon, 16 Mar 2009, Tom Christensen wrote:
> 
>> The second problem has been around since 4.7p1 and is only present when 
>> building with the old SGI compiler:
>> cfe: Error: atomicio.c, line 102: Unacceptable operand of == or !=
>>          pfd.events = f == readv ? 0x0001  : 0x0004 ;
>>          ---------------^
>> make: *** [atomicio.o] Error 1
>>
>> The code is gibberish to me but since GCC has no issues I assume it's 
>> the compiler being difficult and not a problem with the intent of the
>> code.
>> Is there perhaps another way to write this that the SGI compiler would 
>> be more likely to grok?
> 
> Does your compiler like this any better?
> pfd.events = (f == readv) ? 0x0001  : 0x0004 ;
> 
No it makes no difference.

cfe: Error: atomicio.c, line 102: Unacceptable operand of == or !=
         pfd.events = (f == readv) ? 0x0001  : 0x0004 ;
         ----------------^

I notice that this error seems very very similar to bz#1386.

-tgc


More information about the openssh-unix-dev mailing list