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 680788 - win32: More symbols to be exported from gio
win32: More symbols to be exported from gio
Status: RESOLVED NOTABUG
Product: glib
Classification: Platform
Component: build
2.33.x
Other Windows
: Normal normal
: ---
Assigned To: gtkdev
gtkdev
Depends on:
Blocks:
 
 
Reported: 2012-07-29 14:23 UTC by Hans Breuer
Modified: 2012-07-29 16:29 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
win32: More symbols to be exported from gio (1009 bytes, patch)
2012-07-29 14:23 UTC, Hans Breuer
rejected Details | Review

Description Hans Breuer 2012-07-29 14:23:57 UTC
Created attachment 219840 [details] [review]
win32: More symbols to be exported from gio

"Cherry-picked" from my win32/msvc build fixes. See:
https://mail.gnome.org/archives/gtk-devel-list/2012-July/msg00069.html
Comment 1 Emmanuele Bassi (:ebassi) 2012-07-29 14:30:09 UTC
Review of attachment 219840 [details] [review]:

everything except the gvdb symbols leakage looks good to me; this stuff should be caught by the abicheck.sh script during 'make check' on release, so it may be good to investigate what failed there.

::: gio/gio.symbols
@@ +1754,3 @@
+gvdb_table_write_contents
+gvdb_hash_table_insert_string
+gvdb_item_set_hash_table

gvdb is private and internal, and its symbols are annotated by G_GNUC_INTERNAL as well.
Comment 2 Dan Winship 2012-07-29 14:44:38 UTC
Comment on attachment 219840 [details] [review]
win32: More symbols to be exported from gio

Those symbols (other than the gvdb ones) are all already in gio.symbols. There must be some bug in the Makefile rule that generates gio.def from that?
Comment 3 Hans Breuer 2012-07-29 14:52:19 UTC
(In reply to comment #1)
> Review of attachment 219840 [details] [review]:
> 
> everything except the gvdb symbols leakage looks good to me; 
e.g. gvdb_table_write_contents is used by glib-compile-resources.c - how is that supposed to work without exporting?
Comment 4 Hans Breuer 2012-07-29 14:57:22 UTC
(In reply to comment #2)
> Those symbols (other than the gvdb ones) are all already in gio.symbols. There
> must be some bug in the Makefile rule that generates gio.def from that?
Good catch, probably some (missing) merge conflict on my side.
Comment 5 Emmanuele Bassi (:ebassi) 2012-07-29 16:09:52 UTC
(In reply to comment #3)
> (In reply to comment #1)
> > Review of attachment 219840 [details] [review] [details]:
> > 
> > everything except the gvdb symbols leakage looks good to me; 
> e.g. gvdb_table_write_contents is used by glib-compile-resources.c - how is
> that supposed to work without exporting?

glib-compile-resources.c is compiled against gvdb explicitly, so it's not going through the internal symbols of libgio; this works because the visibility of the symbols is kept internal.
Comment 6 Hans Breuer 2012-07-29 16:29:29 UTC
Thanks. I've updated my build files accordingly which leaves this not-a-bug.