Subject: sparc64 pthreads
To: NetBSD/Sparc64 Mailing-list <port-sparc64@netbsd.org>
From: ali \(Anders Lindgren\) <dat94ali@ludat.lth.se>
List: port-sparc64
Date: 05/11/2002 02:16:39
Anyone know of a working pthreads implementation[0] that runs on sparc64?
I am running a late april -current and things seem to work ok[1], but
I find myself unable to compile a lot of stuff, i.e. anything that is
multithreaded. :-)

I tried to compile unproven-pthreads by making some symbolic links and
changing the configure script to think sparc64 was the same as sparc,
but while I have no idea if this could even theoretically work with the
assembly syscall wrappers and user context switching, it didn't even
link properly in practice. If someone could provide some clue, I'd like
to give porting it to sparc64 a shot so I can kick non-preemptive evil
out of my life for good. :-) (Is it worth the effort? How far off is
the SMP people's kernel supported threads?)

[0] Glorified co-routines (Pth) doesn't count until I see something
    actually working reasonably well with non-preemptive threads.
[1] Although gcc likes to SEGV when it sees -O2. Anyone tried 3.0.4
    on sparc64?

-- 
/ali
:wq