Re: RTLD_LAZY considered harmful (Re: pltlc and pltlcu

Поиск
Список
Период
Сортировка
От David Terrell
Тема Re: RTLD_LAZY considered harmful (Re: pltlc and pltlcu
Дата
Msg-id 20020214180842.B23916@pianosa.catch22.org
обсуждение исходный текст
Ответ на Re: RTLD_LAZY considered harmful (Re: pltlc and pltlcu  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On Mon, Feb 11, 2002 at 07:49:57PM -0500, Tom Lane wrote:
> I also believe that this will produce more consistent cross-platform
> behavior: so far as I could learn from googling, systems that do not
> define RTLD_NOW/RTLD_LAZY all act as though the mode were RTLD_NOW,
> ie, immediate binding.
> 
> Any objections to modifying all the port/dynloader files this way?

OpenBSD:    The dlopen() function takes a name of a shared object as its first argu-    ment.  The shared object is
mappedinto the address space, relocated, and    its external references are resolved in the same way as is done with
the   implicitly loaded shared libraries at program startup.
 
    The path argument can either be an absolute pathname or it can be of the    form ``lib<name>.so[.xx[.yy]]'' in
whichcase the same library search    rules apply that are used for ``intrinsic'' shared library searches.  The
secondargument currently has no effect, but should be set to DL_LAZY for    future compatibility.
 

That last sentence being key....

-- 
David Terrell             | "War is peace, 
Prime Minister, Nebcorp   | freedom is slavery, 
dbt@meat.net              | ignorance is strength 
http://wwn.nebcorp.com/   | Dishes are clean." - Chris Fester


В списке pgsql-hackers по дате отправления:

Предыдущее
От: "Christopher Kings-Lynne"
Дата:
Сообщение: Re: alter table drop column status
Следующее
От: Brian Hirt
Дата:
Сообщение: Re: Strange problem when upgrading to 7.2 with pg_upgrade.