glibc 2.1.93

Christian Iseli chris@ludwig-alpha.unil.ch
Tue Sep 19 03:01:00 GMT 2000


aj@suse.de said:
> I advise to get a new GCC version and try again - if you still see
> those failures, please try to debug them.  I don't see those failures
> on my system which is similar to yours (except a newer gcc ;-). 

Ok.  Just got gcc version 2.96 20000918 (experimental), and updated my libc 
tree to 2.1.94.  I now seem to have a problem compiling inet/rcmd.c:
rcmd.c: In function `rcmd_af':
rcmd.c:132: invalid lvalue in assignment
rcmd.c:132: warning: `__v' might be used uninitialized in this function

It seems the culprit is ntohs, which is converted to __bswap_16 (x), which 
becomes a rather large expression, which gcc doesn't seem to like:
        (void)__snprintf(num, sizeof(num), "%d",
  (__extension__ ({ register unsigned short int __v;
                   if (__builtin_constant_p (rport)) __v 
                       = ((((rport) >> 8) & 0xff) | (((rport) & 0xff) << 8));
                   else __asm__ __volatile__
                     ("rorw $8, %w0" : "=r" (__v) : "0"
                      ((unsigned short int) (rport)) : "cc"); __v; })));

Can you help me ?

Thanks,
					Christian




More information about the Libc-alpha mailing list