pgsql: configure: Expand -fvisibility checks to more compilers, test fo

Поиск
Список
Период
Сортировка
От Andres Freund
Тема pgsql: configure: Expand -fvisibility checks to more compilers, test fo
Дата
Msg-id E1oWtRT-002FaF-9H@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
configure: Expand -fvisibility checks to more compilers, test for -qvisibility

It looks like icc and sunpro both support -fvisibility=hidden and xlc supports
-qvisibility=hidden. I tested this on AIX and solaris with their proprietary
compilers as well as gcc, and with gcc or clang on freebsd, linux, macos,
netbsd and openbsd.

Apparently my prior commit fe6a64a58ab only works in combination with this
patch. While I tried to test them separately, an unknown caching issue
prevented me from noticing the problem.

Per discussion with Tom Lane and buildfarm member hoverfly.

Discussion: https://postgr.es/m/20220910052741.t7w7csyrggwus2ze%40awork3.anarazel.de
Discussion: https://postgr.es/m/20220820174213.d574qde4ptwdzoqz@awork3.anarazel.de

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/be7c15b194ab91d28904a0e656f3f6600883ab68

Modified Files
--------------
configure    | 400 +++++++++++++++++++++++++++++++++++++----------------------
configure.ac |  39 ++++--
2 files changed, 280 insertions(+), 159 deletions(-)


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: 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