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 646608 - export_symbols variable for gio dynamic library is wrong
export_symbols variable for gio dynamic library is wrong
Status: RESOLVED FIXED
Product: glib
Classification: Platform
Component: gio
unspecified
Other All
: Normal normal
: ---
Assigned To: gtkdev
gtkdev
Depends on:
Blocks:
 
 
Reported: 2011-04-03 10:16 UTC by P. Combier
Modified: 2011-06-07 21:49 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Small patch to fix the problem (642 bytes, patch)
2011-04-03 10:16 UTC, P. Combier
none Details | Review

Description P. Combier 2011-04-03 10:16:40 UTC
Created attachment 185017 [details] [review]
Small patch to fix the problem

The export_symbols variable found in gio/Makefile.am is wrong, causing link errors when cross-compiling on some architectures (blackfin).

gio/Makefile.am
> [...]
> install-def-file:
> uninstall-def-file:
> 
> export_symbols = -export-symbols-regex '^g_.*'
> endif
> [...]

It should be:
> [...]
> install-def-file:
> uninstall-def-file:
> 
> export_symbols = $(LIBTOOL_EXPORT_OPTIONS)
> endif
> [...]


Other Makefile.am are ok:

glib/Makefile.am
> [...]
> install-def-file:
> uninstall-def-file:
> 
> export_symbols = $(LIBTOOL_EXPORT_OPTIONS)
> endif
> [...]

gobject/Makefile.am
> [...]
> install-def-file:
>uninstall-def-file:
> 
> export_symbols = $(LIBTOOL_EXPORT_OPTIONS)
> endif
> [...]
Comment 1 Dan Winship 2011-06-07 21:49:28 UTC
fixed in master; I couldn't use your patch directly though because of
the invalid email address in the From: line