[Webkit-unassigned] [Bug 72085] Impossible build WebKit with glib2-2.31.0

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Feb 11 13:49:54 PST 2012


https://bugs.webkit.org/show_bug.cgi?id=72085


Rolf S. Arvidson <rsa4046 at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |rsa4046 at gmail.com




--- Comment #7 from Rolf S. Arvidson <rsa4046 at gmail.com>  2012-02-11 13:49:55 PST ---
(In reply to comment #6)
> I have encountered this same issue trying to compile webkit-1.6.1. I am on Slackware 13.37 i686.
> 
> I noticed Mathew Dawkins' comment with the diff.... If you modify his diff as follows, webkit should compile normally:
> 
> --- webkit-1.6.1/Source/JavaScriptCore/wtf/gobject/GTypedefs.h~    2011-09-26 14:54:57.000000000 -0600
> +++ webkit-1.6.1/Source/JavaScriptCore/wtf/gobject/GTypedefs.h    2011-11-20 06:30:29.608190397 -0700
> @@ -52,7 +51,6 @@
>  typedef struct _GHashTable GHashTable;
>  typedef struct _GInputStream GInputStream;
>  typedef struct _GList GList;
> -typedef struct _GMutex GMutex;
> +typedef union  _GMutex GMutex;
>  typedef struct _GPatternSpec GPatternSpec;
>  typedef struct _GPollableOutputStream GPollableOutputStream;
>  typedef struct _GSocketClient GSocketClient;
> 
> _GMutex needs to be typedf'ed like this because the definition of a GMutex is as follows, per http://developer.gnome.org/glib/2.31/glib-Threads.html#GMutex:
> 
> union _GMutex
> {
>   /*< private >*/
>   gpointer p;
>   guint i[2];
> };
> 
> This appears to be the only problem so far. Though webkit is still compiling (has been for the past 20 minutes), it has not run into any errors/warnings. I will post a follow-up comment if it errors out of the build process.

Jonathan / Matthew: Your suggested fix compiled OK on gentoo, please see comments at https://bugs.gentoo.org/show_bug.cgi?id=401855#c3. Thanks for your help. //Rolf

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list