Re: Apple's ranlib warns about protocol_openssl.c

Поиск
Список
Период
Сортировка
От Andres Freund
Тема Re: Apple's ranlib warns about protocol_openssl.c
Дата
Msg-id 20211231004935.palztchhpygcs7fj@alap3.anarazel.de
обсуждение исходный текст
Ответ на Re: Apple's ranlib warns about protocol_openssl.c  (Thomas Munro <thomas.munro@gmail.com>)
Ответы Re: Apple's ranlib warns about protocol_openssl.c  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Hi,

On 2021-12-17 14:26:53 +1300, Thomas Munro wrote:
> On Fri, Dec 17, 2021 at 9:38 AM Tom Lane <tgl@sss.pgh.pa.us> wrote:
> > Could be.  I tried it on Monterey, but not anything older.
> > (longfin is still on Big Sur, because I've been lazy about
> > updating it.)
> 
> Hmm.  Happened[1] with Andres's CI scripts, which (at least on the
> version I used here, may not be his latest) runs on macOS Monterey and
> installs openssl from brew which is apparently 3.0.0.  Wild guess:
> some versions of openssl define functions, and some define macros, and
> here we're looking for the macros?

I also see it on an m1 mini I got when building against openssl 3.

There is -no_warning_for_no_symbols in apple's ranlib. But perhaps
there's another way around this:
We have ssl_protocol_version_to_openssl() in both be-secure-openssl.c
and fe-secure-openssl.c.  Perhaps we should just move it to
protocol_openssl.c?

Greetings,

Andres Freund



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

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: Column Filtering in Logical Replication
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Apple's ranlib warns about protocol_openssl.c