Re: RTLD_GLOBAL (& JIT inlining)
От | Ants Aasma |
---|---|
Тема | Re: RTLD_GLOBAL (& JIT inlining) |
Дата | |
Msg-id | CA+CSw_uD6dZdg9BbOLCx+oY0rufsRSp5V5W8teonCB=OK=74aw@mail.gmail.com обсуждение исходный текст |
Ответ на | Re: RTLD_GLOBAL (& JIT inlining) (Andres Freund <andres@anarazel.de>) |
Ответы |
Re: RTLD_GLOBAL (& JIT inlining)
|
Список | pgsql-hackers |
On Mon, Feb 26, 2018 at 11:28 PM, Andres Freund <andres@anarazel.de> wrote: > So RTLD_LOCAL is out of the question, but I think we can get a good bit > of the benefit by either specifying -Wl,-Bsymbolic at shlib build time, > or RTLD_DEEPBIND at dlopen() time. Either leads to the opened shared > library effectively being put at the beginning of the search path, > therefore avoiding the issue that an earlier loaded shared library or > symbols from the main binary can accidentally overwrite things in the > shared library itself. Which incidentally also makes loading a bit > faster. I think this would also fix oracle_fdw crashing when postgres is compiled with --with-ldap. At least RTLD_DEEPBIND helped. [1] [1] https://www.postgresql.org/message-id/CA%2BCSw_tPDYgnzCYW0S4oU0mTUoUhZ9pc7MRBPXVD-3Zbiwni9w%40mail.gmail.com Ants Aasma
В списке pgsql-hackers по дате отправления: