Re: glib / Tru64 v.5.0 interaction bug report & workaround
- From: Owen Taylor <otaylor redhat com>
- To: jhbrown ai mit edu (Jeremy H. Brown)
- Cc: gnome-list gnome org, timj gtk org
- Subject: Re: glib / Tru64 v.5.0 interaction bug report & workaround
- Date: 02 Feb 2001 11:03:08 -0500
The right place for reporting bugs is bugzilla.gnome.org,
both for GLib and the GIMP.
(The right mailing list for discussing GTK+ bugs is gtk-devel-list gnome org,
the right mailing list for discussing GIMP bugs can be found
on www.gimp.org)
I'm not sure what the right fix for the bug is.
- We can't change the RTLD_GLOBAL flag in gmodule for GTK+-1.2, since
we may break existing apps
- The GIMP can't change module_init to somthing properly
namespaced without breaking binary compatibility.
For GTK+-2.0, the right thing to probably to add another flag to
gmodule to allow apps to specifically request that modules
be loaded with RTLD_GLOBAL; though this is not without
its own problems.
(On some subset of systems, I've seen the behavior where, if you
have:
module A depends on libfoo.so
module B depends on libfoo.so
And you load without RTLD_GLOBAL, then you get too copies of
libfoo.so.)
It's a true portability nightmare, and I'm not going to rule
out a bug here in Tru64, since I don't see any reason why
dlsym, passed in the handle of a module, should load a
symbol from the main executable.
Regards,
Owen
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]