Re: gnome-vfs: Can anyone compile it on Solaris 2.6?



Troy and Paul,

It seems like there is no effort to remove the recursive mutexes
in gnome-vfs.  There was an effort to remove uses of the non-portable
PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP macro, but this was replaced
with uses of PTHREAD_MUTEX_RECURSIVE and pthread_mutexattr_settype,
both of which are not available on Solaris 2.6.

>From reading archives of the comp.programming.threads newsgroup,
Solaris 7 and 8 both require patches to the operating system to
prevent deadlocks with recursive mutexes.  It also sounds like
the patches may not completely fix the problems.

Eazel has no desire to resolve this problem for Gnome 1.4 (although,
I would imagine they would accept patches).  All they care about is
if it works in Solaris 8 (which is a reference platform).  See
bug 7007 in eazel's bugzilla for more information
   (http://bugzilla.eazel.com/show_bug.cgi?id=7007).

- Dan Cohen

Excerpt from Troy Carter:
> Oops, looks like I was wrong about the lack of recursive mutexes in
> gnome-vfs HEAD.  They are definitely in there, so maybe I was wrong
> about any effort to remove recursive mutexes from gnome-vfs.  So I guess
> Solaris 2.6 is not going to be supported in gnome-1.4.

Excerpt from Troy Carter:
> I have also been trying to compile gnome-vfs on solaris 2.6 for a while.
> The problem is that libpthread on solaris 2.6 does not have recursive
> mutexes.  This is only in Solaris 7 or 8.  So, if gnome-vfs continues to
> use them, it will not compile on solaris 2.6.  I think that they are
> being removed from gnome-vfs, at least this is the indication I have
> got poking around mailing list archives. 

Paul Barnfather wrote:
> PTHREAD_MUTEX_RECURSIVE undelclared in gnome_vfs_pthread.c
>
> It has been suggested that this release should compile on Solaris,
> but I'm not sure if this includes 2.6.
>
> Should I file a bug, or is this already fixed?


__________________________________________________
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail. 
http://personal.mail.yahoo.com/




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]