Apple's ranlib warns about protocol_openssl.c - Mailing list pgsql-hackers

From Thomas Munro
Subject Apple's ranlib warns about protocol_openssl.c
Date
Msg-id CA+hUKG+_ryH6HyuZGkSm01WvBa1vGZ4sB_u9dXu706MBF3g66w@mail.gmail.com
Whole thread Raw
Responses Re: Apple's ranlib warns about protocol_openssl.c
List pgsql-hackers
Hi,

Apple's ranlib doesn't like empty translation units[1], but
protocol_openssl.c doesn't define any symbols (unless you have an
ancient EOL'd openssl), so longfin and CI say:

/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib:
file: libpgcommon.a(protocol_openssl.o) has no symbols

I guess we still can't switch to (Apple) libtool.  Maybe configure
should be doing a test and adding it to LIBOBJS or a similar variable
only if necessary, or something like that?

[1] https://www.postgresql.org/message-id/flat/28521.1426352337%40sss.pgh.pa.us



pgsql-hackers by date:

Previous
From: Amit Kapila
Date:
Subject: Re: Skipping logical replication transactions on subscriber side
Next
From: Michael Paquier
Date:
Subject: Re: Rewriting the test of pg_upgrade as a TAP test - take three - remastered set