Re: pgsql: aix: No need to use mkldexport when we want to export all symbol

Поиск
Список
Период
Сортировка
Искать
От
Andres Freund
Тема
Re: pgsql: aix: No need to use mkldexport when we want to export all symbol
Дата
Msg-id
20220914023932.g6woj7bfb6zbrksv@awork3.anarazel.de
Ответ на
Список
Дерево обсуждения
pgsql: aix: No need to use mkldexport when we want to export all symbol Andres Freund <andres@anarazel.de>
Re: pgsql: aix: No need to use mkldexport when we want to export all symbol Tom Lane <tgl@sss.pgh.pa.us>
Re: pgsql: aix: No need to use mkldexport when we want to export all symbol Andres Freund <andres@anarazel.de>
Re: pgsql: aix: No need to use mkldexport when we want to export all symbol Andres Freund <andres@anarazel.de>
Re: pgsql: aix: No need to use mkldexport when we want to export all symbol Andres Freund <andres@anarazel.de>
Re: pgsql: aix: No need to use mkldexport when we want to export all symbol Tom Lane <tgl@sss.pgh.pa.us>
Re: pgsql: aix: No need to use mkldexport when we want to export all symbol Andres Freund <andres@anarazel.de>
Re: pgsql: aix: No need to use mkldexport when we want to export all symbol Andres Freund <andres@anarazel.de>
Re: pgsql: aix: No need to use mkldexport when we want to export all symbol Andres Freund <andres@anarazel.de>
Re: pgsql: aix: No need to use mkldexport when we want to export all symbol Noah Misch <noah@leadboat.com>
Re: pgsql: aix: No need to use mkldexport when we want to export all symbol Andres Freund <andres@anarazel.de>
Re: pgsql: aix: No need to use mkldexport when we want to export all symbol Noah Misch <noah@leadboat.com>
Re: pgsql: aix: No need to use mkldexport when we want to export all symbol Andres Freund <andres@anarazel.de>
Re: pgsql: aix: No need to use mkldexport when we want to export all symbol Andres Freund <andres@anarazel.de>
Re: pgsql: aix: No need to use mkldexport when we want to export all symbol Andres Freund <andres@anarazel.de>
Re: pgsql: aix: No need to use mkldexport when we want to export all symbol Andres Freund <andres@anarazel.de>
Re: pgsql: aix: No need to use mkldexport when we want to export all symbol Andres Freund <andres@anarazel.de>
Re: pgsql: aix: No need to use mkldexport when we want to export all symbol Andres Freund <andres@anarazel.de>
Re: pgsql: aix: No need to use mkldexport when we want to export all symbol Tom Lane <tgl@sss.pgh.pa.us>
Re: pgsql: aix: No need to use mkldexport when we want to export all symbol Andres Freund <andres@anarazel.de>
Re: pgsql: aix: No need to use mkldexport when we want to export all symbol Tom Lane <tgl@sss.pgh.pa.us>
Re: pgsql: aix: No need to use mkldexport when we want to export all symbol Andres Freund <andres@anarazel.de>
Hi,

On 2022-09-13 11:25:30 -0700, Andres Freund wrote:
> On 2022-09-11 11:19:25 -0700, Andres Freund wrote:
> > We could also try to fall back to using -Wl,b,expall for extension modules.
> 
> expall doesn't work, because of our use of identifiers in reserved namespaces,
> e.g. _PG_init:
> 
>        expall
>             Exports all global symbols, except imported symbols, unreferenced symbols defined in archive members, and symbols beginning with an underscore
>             (_). You can export additional symbols by listing them in an export file or using the expfull option. This option does not affect symbols
>             exported by the autoexp option.
> 
> However, there also is 'expfull' - IIRC that causes problems when used for
> postgres, but appears to be fine for .so's.
> 
> So we could work around the xlc 12.1 issue with something like the attached
> patch. It passes at some of the tests, with both 32 and 64bit xlc 12.1, will
> have to wait a while to see more

Both passed check-world.

- Andres


В списке pgsql-committers по дате отправления
От: Andrew Dunstan
Дата:
От: Tom Lane
Дата:
FAQ