Bug 144461

Summary: glib enables export-dynamic in pkg-config
Product: [Fedora] Fedora Reporter: Brian Stein <bstein>
Component: glib2Assignee: Brian Stein <bstein>
Status: CLOSED RAWHIDE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 3CC: bstevens, drepper, jakub
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-01-19 14:54:09 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Arjan van de Ven 2005-01-07 11:44:01 UTC
Description of problem:

# pkg-config --libs gtk+-2.0
-Wl,--export-dynamic -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0
-lgdk_pixbuf-2.0 -lm -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0
-lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0

this --export-dynamic is caused by
/usr/lib64/pkgconfig/gmodule-2.0.pc

the ripple-through is that most of our desktop is using
export-dynamic, causing lots of load time overhead and disk usage

Comment 1 Matthias Clasen 2005-01-07 14:50:07 UTC
This has been fixed upstream in glib 2.6 by introducing
gmodule-no-export-2.0.pc, and using it at least in pango and gtk.