[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [RFC] pre-c89 in libltdl
From: |
Gary V. Vaughan |
Subject: |
Re: [RFC] pre-c89 in libltdl |
Date: |
Thu, 22 Apr 2004 11:06:48 +0100 |
User-agent: |
Mozilla Thunderbird 0.5 (X11/20040208) |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Bob Friesenhahn wrote:
| On Tue, 20 Apr 2004, Gary V. Vaughan wrote:
|>Except that I am pretty sure libltdl will choke if you link 2 libraries
|>that each use it :-(
|
|
| I assume that this is only an issue if the application uses
| "preloaded" static modules using libltdl APIs. Applications are not
| required to use the preloaded modules feature and its use is easily
| avoided (couple lines of code). The application I maintain does not
| use it.
That is one issue. But my main concern is just a gut feeling that with
nothing being tested in a multi-client scenario, libltdl will likely
barf when subjected to that kind of usage pattern. I need it to work
like that for m4 (libsnprintfv uses libltdl, and m4 uses libsnprintfv
and libltdl again) so I'll fix it before long.
| The preloaded modules implementation likely assumes that if an
| application uses preloaded modules that it will not want to
| dynamically load other modules. If so, that would be a poor
| assumption and a serious drawback.
No, you can preload some modules, and lt_dlopen will first search the
preopened list, and then move to other loaders if that fails. Again, m4
preloads the modules it needs for m4-1.4 compatibility, but allows dynamic
loading of additional modules too.
Cheers,
Gary.
- --
Gary V. Vaughan ())_. address@hidden,gnu.org}
Research Scientist ( '/ http://tkd.kicks-ass.net
GNU Hacker / )= http://www.gnu.org/software/libtool
Technical Author `(_~)_ http://sources.redhat.com/autobook
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFAh5k4FRMICSmD1gYRAv52AKCDV3FCjLlMFWmdE1JChD9inWFgdACggpVy
6KOVIkfGUx2kcrQFvP/VaEw=
=F4Hc
-----END PGP SIGNATURE-----
- RE: [RFC] pre-c89 in libltdl, (continued)
- RE: [RFC] pre-c89 in libltdl, Howard Chu, 2004/04/15
- Re: [RFC] pre-c89 in libltdl, Gary V . Vaughan, 2004/04/19
- Re: [RFC] pre-c89 in libltdl, Alexandre Oliva, 2004/04/20
- Re: [RFC] pre-c89 in libltdl, Simon Josefsson, 2004/04/20
- Re: [RFC] pre-c89 in libltdl, Albert Chin, 2004/04/20
- Re: [RFC] pre-c89 in libltdl, Simon Josefsson, 2004/04/20
- Re: [RFC] pre-c89 in libltdl, Alexandre Oliva, 2004/04/21
- Re: [RFC] pre-c89 in libltdl, Bob Friesenhahn, 2004/04/20
- Re: [RFC] pre-c89 in libltdl, Gary V. Vaughan, 2004/04/20
- Re: [RFC] pre-c89 in libltdl, Bob Friesenhahn, 2004/04/20
- Re: [RFC] pre-c89 in libltdl,
Gary V. Vaughan <=
- Re: [RFC] pre-c89 in libltdl, Simon Josefsson, 2004/04/15