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 696557 - static glib/gthread broken on Windows
static glib/gthread broken on Windows
Status: RESOLVED DUPLICATE of bug 698118
Product: glib
Classification: Platform
Component: win32
2.34.x
Other Windows
: Normal major
: ---
Assigned To: gtk-win32 maintainers
gtk-win32 maintainers
Depends on:
Blocks:
 
 
Reported: 2013-03-25 13:32 UTC by Pierre Ossman
Modified: 2014-04-08 13:23 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
glib-2.34.3-win32-init.patch (1.18 KB, patch)
2013-03-26 13:19 UTC, Pierre Ossman
none Details | Review

Description Pierre Ossman 2013-03-25 13:32:13 UTC
Commit 80730bc broke static linking of glib on Windows since it added a DllMain function that has to be called (and as an extra bonus can conflict with the "real" DllMain() if you link glib into your library.

Commit 47444da continued on this theme and moved even more stuff into DllMain().

You really need to back this out as a low level library as glib is very commonly statically linked, especially on Windows where it is not part of the system.
Comment 1 Pierre Ossman 2013-03-26 13:19:50 UTC
Created attachment 239864 [details] [review]
glib-2.34.3-win32-init.patch

Suggested first step.
Comment 2 Philip Withnall 2014-04-08 13:23:26 UTC
Looks like a duplicate of bug #698118, which has a patch which is already included in Fedora’s mingw-glib2 package.

*** This bug has been marked as a duplicate of bug 698118 ***