postgresql/src
Andres Freund e5484554ba aix: when building with gcc, tell gcc we're building a shared library
Not passing -shared to gcc when building a shared library triggers linking to
the wrong libgcc (libgcc.a instead of libgcc_s.a) and prevents emitting
correct unwind information. It's somewhat surprising that this hasn't caused
known problems so far.

Doing so requires adding path to libgcc to libpath, or linking statically to
libgcc - as the latter increases .so size substantially (for not entirely
obvious reasons), shared linking seems preferrable.  It likely is worth
building executables with -shared-libgcc too, but I've not done that here.

Discussion: https://postgr.es/m/20220820174213.d574qde4ptwdzoqz@awork3.anarazel.de
2022-09-01 11:49:36 -07:00
..
backend Be smarter about freeing tuples during tuplesorts 2022-09-01 11:08:10 +12:00
bin Refactor check_ functions to use filehandle for status 2022-08-31 13:06:50 +02:00
common Clean up inconsistent use of fflush(). 2022-08-29 13:55:41 -04:00
fe_utils Clean up inconsistent use of fflush(). 2022-08-29 13:55:41 -04:00
include Derive freeze cutoff from nextXID, not OldestXmin. 2022-08-31 11:37:35 -07:00
interfaces Fix MSVC warning in compat_informix/rnull.pgc 2022-08-31 09:31:22 -07:00
makefiles aix: when building with gcc, tell gcc we're building a shared library 2022-09-01 11:49:36 -07:00
pl plpython: Don't create pgxsdir subdirectory in installdir target 2022-08-31 07:42:01 +02:00
port Cleanup more code and comments related to Windows NT4 (XP days) 2022-08-30 09:52:58 +09:00
template On NetBSD, force dynamic symbol resolution at postmaster start. 2022-08-30 17:28:37 -04:00
test Adjust XML test case to avoid unstable behavior. 2022-08-31 22:21:39 -04:00
timezone Remove fallbacks for strtoll, strtoull. 2022-08-06 09:59:51 +12:00
tools Improve performance of and reduce overheads of memory management 2022-08-29 17:15:00 +12:00
tutorial Update copyright for 2022 2022-01-07 19:04:57 -05:00
.gitignore
DEVELOPERS
Makefile Remove the option to build thread_test.c outside configure. 2020-10-21 12:08:48 -04:00
Makefile.global.in Remove unused configure variable. 2022-08-18 11:22:13 -04:00
Makefile.shlib aix: Fix SHLIB_EXPORTS reference in VPATH builds 2022-08-24 20:39:46 -07:00
nls-global.mk Fix for make unportability 2022-07-13 09:15:01 +02:00