[Various] libc/1161: Unable to get nscd to work on alpha

H.J. Lu hjl@lucon.org
Sat Jun 12 17:03:00 GMT 1999


> 
> 
> 
> Hello,
> 
> On Sat, Jun 12, Andreas Jaeger wrote:
> 
> > 
> > Is there anything we can do to fix nscd on alpha?  I fear this is a
> > compiler bug:-(.  Richard, can you help?
> 
> It's an older bug which I have already send twice to the egcs people
> without getting an reaction.
> 
> 
> egcs miscompiles the following lines from nscd/cache.c:
> 
>   /* Put the new entry in the first position.  */
>   do
>     newp->next = table->array[hash];
>   while (! compare_and_swap ((volatile long int *) &table->array[hash],
> 

I think egcs people believe the above code is buggy. There is a 
huge thread similar to this on the egcs mailing list.


H.J.


More information about the Libc-alpha mailing list