libtool-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

HEAD fails mdemo-exec on darwin6 (Mac OS X 10.2)


From: Peter O'Gorman
Subject: HEAD fails mdemo-exec on darwin6 (Mac OS X 10.2)
Date: Mon, 20 Mar 2006 23:09:40 +0900
User-agent: Mozilla Thunderbird 1.0.2 (Macintosh/20050317)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

(resending, don't know what happened last time)

Hi,
For some reason I switched on my ancient powermac g3 and ran the libtool
testsuite on it. mdemo-exec fails, well, lt_dlopen(0,...) uses the wrong
loader, it uses the preopen loader where it should be using the dyld loader.

Changing LT_DLLOADER_APPEND to LT_DLLOADER_PREPEND in dyld.c "fixes" it, but
I'm not sure that it is the appropriate fix (which is why I'm asking for
approval rather than applying as obvious).

Peter
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (Darwin)

iQCVAwUBRB63pLiDAg3OZTLPAQICBQQAkI4BdtgHNn4ym6g0gbHnjsdsFgRwWwRv
KKtqVT2dNrj/spos9WWW8AJoR6E1vLBQpcLbllFRwcMnBzdVYRfunLPlKFHXzvBD
WYoZlUf69oYXf8M8bKP99MffQ6r5STIBA7hN27v9BSACnYwHnCZYAM/kWbyCc+K0
1C1m0eR3T0k=
=2ujl
-----END PGP SIGNATURE-----
Index: ChangeLog
2006-03-19  Peter O'Gorman  <address@hidden>

        * libltdl/loaders/dyld.c (get_vtable) [darwin]: Use
        LT_DLLOADER_PREPEND.

from  Ralf Wildenhues  <address@hidden>
Index: libltdl/loaders/dyld.c
===================================================================
RCS file: /cvsroot/libtool/libtool/libltdl/loaders/dyld.c,v
retrieving revision 1.5
diff -u -3 -p -u -r1.5 dyld.c
--- libltdl/loaders/dyld.c 22 Apr 2005 10:10:30 -0000 1.5
+++ libltdl/loaders/dyld.c 18 Mar 2006 23:57:12 -0000
@@ -70,7 +70,7 @@ get_vtable (lt_user_data loader_data)
       vtable->module_close     = vm_close;
       vtable->find_sym         = vm_sym;
       vtable->dlloader_data    = loader_data;
-      vtable->priority         = LT_DLLOADER_APPEND;
+      vtable->priority         = LT_DLLOADER_PREPEND;
     }
 
   if (vtable && (vtable->dlloader_data != loader_data))


reply via email to

[Prev in Thread] Current Thread [Next in Thread]