Le 22 juil. 2005 à 14:44, Max Horn a écrit :
Am 20.07.2005 um 05:24 schrieb Michèle Garoche:
II wonder if the current patch for glib2 is sufficient to get the
right flags for the libraries.
Problem is:
1 - aclocal is reused to build the various Makefile.
It uses automake 1.7, -shared and -export-dynamic flags.
_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath $
{wl}$libdir'
_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-
dynamic'
Hrm? But those are only used if $with_gnu_ld is set or the OS is
Linux. Unless $with_gnu_ld incorrectly gets set to true, this code
shouldn't have any effect..
[...]
Oh, yes, thanks for the explanation.
2 - The various Makefile.am files also use --export-dynamic and a
lib name which does not seem to be the right one for Mac.
for example Makefile.am in glib directory:
libglib_2_0_la_LDFLAGS = \
-version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) \
-export-dynamic $(no_undefined) $(export_symbols)
That is indeed nonsense, and we should patch it; furthermore,
upstream should be notified that they are not portable there.
I have not filed a bug here because I don't know exactly what should
be the correct solution, and if it is the same for Mac OS X 10.3 and
10.4. Actually I've been said today that there is no developper on
gnome core working on a Mac, so that they need the patch, otherwise
the bug report could not be taken into account.
Cheers,
Michèle
<http://micmacfr.homeunix.org>
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click
|