After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 61139 - build failure on Solaris
build failure on Solaris
Status: RESOLVED FIXED
Product: gnome-vfs
Classification: Deprecated
Component: Build
cvs (head)
Other Solaris
: High major
: ---
Assigned To: Ian McKellar
Ian McKellar
Depends on:
Blocks:
 
 
Reported: 2001-09-25 14:11 UTC by Mark McLoughlin
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Mark McLoughlin 2001-09-25 14:11:00 UTC
gnome-vfs fails to build on Solaris 8 'cause the Solaris definition of
PTHREAD_ONCE_INIT is wrong...

typedef struct  _once {
        upad64_t        __pthread_once_pad[4];
} pthread_once_t;

#define PTHREAD_ONCE_INIT       {0, 0, 0, PTHREAD_ONCE_NOTDONE}

(Should have an extra set of braces)

--diable-more-warnings gets around this...
Comment 1 Ian McKellar 2001-10-01 21:11:00 UTC
Okay - I'll work on this once I have a Solaris box handy (should be
soon). Why must vendors ship broken systems :-(
Comment 2 Maciej Stachowiak 2001-10-05 01:23:39 UTC
Mark, I'd appreciate it if you could get this fixed in the Solaris
headers. In the meantime, I'll try to come up with an appropriate
configure check to detect this problem (It could use
{PTHREAD_ONCE_INIT} instead of PTHREAD_ONCE_INIT if it detects the
missing braces).
Comment 3 Mark McLoughlin 2002-07-25 23:03:45 UTC
So PTHREAD_ONCE_INIT isn't used in gnome-vfs anymore. Closing the bug.

This is what did it

2002-07-16  Michael Meeks  <michael@ximian.com>

        * libgnomevfs/gnome-vfs-module-callback.c
        (stack_keys_alloc): kill in favour of
        (gnome_vfs_module_callback_private_init): this.
        (initialize_per_thread_if_needed): upd.
        (async_callback_response): broadcast instead of
        signalling, there might be multiple threads waiting.
Comment 4 Christophe Fergeau 2003-07-18 12:52:57 UTC
Mass resetting target milestone to clean up gnome-vfs milestones. Please
complain if I removed a milestone which should have been kept. Sorry for the spam