pgsql: Remove -Wl,-undefined,dynamic_lookup in macOS build.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Remove -Wl,-undefined,dynamic_lookup in macOS build.
Date: 2016-10-06 03:04:50
Message-ID: E1bryzK-0003hg-NN@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers pgsql-hackers

Remove -Wl,-undefined,dynamic_lookup in macOS build.

We don't need this anymore, and it prevents build-time error checking
that's usually good to have, so remove it. Undoes one change of commit
cac765820.

Unfortunately, it's much harder to get a similar effect on other common
platforms, because we don't want the linker to throw errors for symbols
that will be resolved in the core backend. Only macOS and AIX expect the
core backend executable to be available while linking loadable modules,
so only these platforms can usefully throw errors for unresolved symbols
at link time.

Discussion: <2652(dot)1475512158(at)sss(dot)pgh(dot)pa(dot)us>

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/bfe2e847811a4d0a46c8cdf16195c0e5929b6f83

Modified Files
--------------
src/Makefile.shlib | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Heikki Linnakangas 2016-10-06 06:24:05 Re: pgsql: Change the way pre-reading in external sort's merge phase works.
Previous Message Tom Lane 2016-10-06 02:47:32 pgsql: Try to fix python shlib probe for MinGW.

Browse pgsql-hackers by date

  From Date Subject
Next Message Serge Rielau 2016-10-06 03:43:39 Re: Fast AT ADD COLUMN with DEFAULTs
Previous Message Andres Freund 2016-10-06 02:48:11 Re: Our "fallback" atomics implementation doesn't actually work