This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: glibc 2.1.93
- To: Andreas Jaeger <aj at suse dot de>
- Subject: Re: glibc 2.1.93
- From: Christian Iseli <chris at ludwig-alpha dot unil dot ch>
- Date: Tue, 19 Sep 2000 12:00:25 +0200
- cc: libc-alpha at sourceware dot cygnus dot com, chris at ludwig-alpha dot unil dot ch
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