public inbox for libc-alpha@sourceware.org
 help / color / mirror / Atom feed
* Status of glibc on pre-v9 SPARC
@ 2017-12-15 17:20 Joseph Myers
  2017-12-15 17:45 ` David Miller
  0 siblings, 1 reply; 2+ messages in thread
From: Joseph Myers @ 2017-12-15 17:20 UTC (permalink / raw)
  To: davem, libc-alpha

Since at least

commit b02840bacdefde318d2ad2f920e50785b9b25d69
Author:     Torvald Riegel <triegel@redhat.com>
AuthorDate: Wed Jun 24 14:37:32 2015 +0200
Commit:     Torvald Riegel <triegel@redhat.com>
CommitDate: Fri Jan 15 21:20:34 2016 +0100

    New pthread_barrier algorithm to fulfill barrier destruction requirements.

building glibc for pre-v9 32-bit SPARC has been broken because 
sysdeps/sparc/sparc32/pthread_barrier_wait.c just contains a #error.

Is this something that is still intended to be fixed?  Or should pre-v9 
32-bit SPARC be considered like the original i386, i.e. too little atomic 
operation support so should no longer be supported with v9 being made the 
official minimum supported by glibc?

-- 
Joseph S. Myers
joseph@codesourcery.com

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Status of glibc on pre-v9 SPARC
  2017-12-15 17:20 Status of glibc on pre-v9 SPARC Joseph Myers
@ 2017-12-15 17:45 ` David Miller
  0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2017-12-15 17:45 UTC (permalink / raw)
  To: joseph; +Cc: libc-alpha

From: Joseph Myers <joseph@codesourcery.com>
Date: Fri, 15 Dec 2017 17:20:34 +0000

> Is this something that is still intended to be fixed?  Or should pre-v9 
> 32-bit SPARC be considered like the original i386, i.e. too little atomic 
> operation support so should no longer be supported with v9 being made the 
> official minimum supported by glibc?

I would really like to fix it and began work on a kernel call that would
allow emulating CAS when the cpu lacks the instruction.

Also, LEON cpus have CAS in hardware and are pre-v9.

I can try to get on top of this work again, but no promises.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-12-15 17:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-12-15 17:20 Status of glibc on pre-v9 SPARC Joseph Myers
2017-12-15 17:45 ` David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).