[Bug build/13844] `nptl/sysdeps/unix/sysv/linux/sparc/sparc32/libc-lowlevellock.c' missing in glibc sources
davem at davemloft dot net
sourceware-bugzilla@sourceware.org
Fri Mar 16 03:52:00 GMT 2012
http://sourceware.org/bugzilla/show_bug.cgi?id=13844
--- Comment #4 from David S. Miller <davem at davemloft dot net> 2012-03-16 03:51:14 UTC ---
Sparc needs a custom lowlevellock.c on 32-bit sparc because
we have a situation where we don't know if we have the
proper atomic instructions available or not.
For example, if we don't have the v9 compare-and-swap available
we use spinlocks instead. And for futexes we use a special
24-bit atomic, which embeds the spinlock in the remaining
8-bits. That's what all of those atomic_compare_and_exchange_val_24_acq
etc. routines are all about.
I'll just add the necessary sparc32/libc-lowlevellock.c file
to fix this, thanks for the report.
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the Glibc-bugs
mailing list