glibc 2.1.93
Andreas Jaeger
aj@suse.de
Tue Sep 19 03:49:00 GMT 2000
>>>>> Christian Iseli writes:
> 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 ?
I've reported this already to the gcc bugs list, so far no result.
Try compiling that file with -O0.
Andreas
--
Andreas Jaeger
SuSE Labs aj@suse.de
private aj@arthur.inka.de
http://www.suse.de/~aj
More information about the Libc-alpha
mailing list