This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by PostgreSQL configure 15.2, which was generated by GNU Autoconf 2.69. Invocation command line was $ ./configure --with-pthread=/path/to/pthread-config ## --------- ## ## Platform. ## ## --------- ## hostname = SCTDEV uname -m = 00FA72BB4C00 uname -r = 2 uname -s = AIX uname -v = 7 /usr/bin/uname -p = powerpc /bin/uname -X = unknown /bin/arch = unknown /usr/bin/arch -k = unknown /usr/convex/getsysinfo = unknown /usr/bin/hostinfo = unknown /bin/machine = unknown /usr/bin/oslevel = 7.2.0.0 /bin/universe = unknown PATH: /usr/bin PATH: /etc PATH: /usr/sbin PATH: /usr/ucb PATH: /usr/bin/X11 PATH: /sbin PATH: /usr/java8_64/jre/bin PATH: /usr/java8_64/bin ## ----------- ## ## Core tests. ## ## ----------- ## configure:2888: checking build system type configure:2902: result: powerpc-ibm-aix7.2.5.0 configure:2922: checking host system type configure:2935: result: powerpc-ibm-aix7.2.5.0 configure:2957: checking which template to use configure:3025: result: aix configure:3153: checking whether NLS is wanted configure:3185: result: no configure:3193: checking for default port number configure:3218: result: 5432 configure:3695: checking for block size configure:3729: result: 8kB configure:3741: checking for segment size configure:3770: result: 1GB configure:3782: checking for WAL block size configure:3817: result: 8kB configure:3914: checking for gcc configure:3930: found /usr/bin/gcc configure:3941: result: gcc configure:3972: checking for C compiler version configure:3981: gcc --version >&5 gcc (GCC) 4.2.0 Copyright (C) 2007 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. configure:3992: $? = 0 configure:3981: gcc -v >&5 Using built-in specs. Target: powerpc-ibm-aix6.1.0.0 Configured with: ../configure --with-as=/usr/bin/as --with-ld=/usr/bin/ld --enable-languages=c,c++,java --prefix=/opt/freeware --enable-threads --enable-version-specific-runtime-libs --host=powerpc-ibm-aix6.1.0.0 --target=powerpc-ibm-aix6.1.0.0 --build=powerpc-ibm-aix6.1.0.0 --disable-libjava-multilib Thread model: aix gcc version 4.2.0 configure:3992: $? = 0 configure:3981: gcc -V >&5 gcc: '-V' option must have argument configure:3992: $? = 1 configure:3981: gcc -qversion >&5 gcc: unrecognized option '-qversion' gcc: no input files configure:3992: $? = 1 configure:4012: checking whether the C compiler works configure:4034: gcc conftest.c >&5 configure:4038: $? = 0 configure:4086: result: yes configure:4089: checking for C compiler default output file name configure:4091: result: a.out configure:4097: checking for suffix of executables configure:4104: gcc -o conftest conftest.c >&5 configure:4108: $? = 0 configure:4130: result: configure:4152: checking whether we are cross compiling configure:4160: gcc -o conftest conftest.c >&5 configure:4164: $? = 0 configure:4171: ./conftest configure:4175: $? = 0 configure:4190: result: no configure:4195: checking for suffix of object files configure:4217: gcc -c conftest.c >&5 configure:4221: $? = 0 configure:4242: result: o configure:4246: checking whether we are using the GNU C compiler configure:4265: gcc -c conftest.c >&5 configure:4265: $? = 0 configure:4274: result: yes configure:4283: checking whether gcc accepts -g configure:4303: gcc -c -g conftest.c >&5 configure:4303: $? = 0 configure:4344: result: yes configure:4361: checking for gcc option to accept ISO C95 configure:4424: gcc -c -g -O2 conftest.c >&5 configure:4424: $? = 0 configure:4437: result: none needed configure:4457: checking for gcc option to accept ISO C89 configure:4607: gcc -c -g -O2 conftest.c >&5 In file included from /usr/include/sys/resource.h:57, from /opt/freeware/lib/gcc/powerpc-ibm-aix6.1.0.0/4.2.0/include/sys/wait.h:62, from /opt/freeware/lib/gcc/powerpc-ibm-aix6.1.0.0/4.2.0/include/stdlib.h:346, from conftest.c:21: /usr/include/sys/time.h:110: error: redefinition of 'struct sigset_t' conftest.c:69: error: expected ';', ',' or ')' before 'text' conftest.c: In function 'main': conftest.c:123: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'newvar' conftest.c:123: error: 'newvar' undeclared (first use in this function) conftest.c:123: error: (Each undeclared identifier is reported only once conftest.c:123: error: for each function it appears in.) conftest.c:133: error: 'for' loop initial declaration used outside C99 mode configure:4607: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "PostgreSQL" | #define PACKAGE_TARNAME "postgresql" | #define PACKAGE_VERSION "15.2" | #define PACKAGE_STRING "PostgreSQL 15.2" | #define PACKAGE_BUGREPORT "pgsql-bugs@lists.postgresql.org" | #define PACKAGE_URL "https://www.postgresql.org/" | #define CONFIGURE_ARGS " '--with-pthread=/path/to/pthread-config'" | #define PG_MAJORVERSION "15" | #define PG_MAJORVERSION_NUM 15 | #define PG_MINORVERSION_NUM 2 | #define PG_VERSION "15.2" | #define DEF_PGPORT 5432 | #define DEF_PGPORT_STR "5432" | #define BLCKSZ 8192 | #define RELSEG_SIZE 131072 | #define XLOG_BLCKSZ 8192 | /* end confdefs.h. */ | #include | #include | #include | #include | #include | | // Check varargs macros. These examples are taken from C99 6.10.3.5. | #define debug(...) fprintf (stderr, __VA_ARGS__) | #define showlist(...) puts (#__VA_ARGS__) | #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__)) | static void | test_varargs_macros (void) | { | int x = 1234; | int y = 5678; | debug ("Flag"); | debug ("X = %d\n", x); | showlist (The first, second, and third items.); | report (x>y, "x is %d but y is %d", x, y); | } | | // Check long long types. | #define BIG64 18446744073709551615ull | #define BIG32 4294967295ul | #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0) | #if !BIG_OK | your preprocessor is broken; | #endif | #if BIG_OK | #else | your preprocessor is broken; | #endif | static long long int bignum = -9223372036854775807LL; | static unsigned long long int ubignum = BIG64; | | struct incomplete_array | { | int datasize; | double data[]; | }; | | struct named_init { | int number; | const wchar_t *name; | double average; | }; | | typedef const char *ccp; | | static inline int | test_restrict (ccp restrict text) | { | // See if C++-style comments work. | // Iterate through items via the restricted pointer. | // Also check for declarations in for loops. | for (unsigned int i = 0; *(text+i) != '\0'; ++i) | continue; | return 0; | } | | // Check varargs and va_copy. | static void | test_varargs (const char *format, ...) | { | va_list args; | va_start (args, format); | va_list args_copy; | va_copy (args_copy, args); | | const char *str; | int number; | float fnumber; | | while (*format) | { | switch (*format++) | { | case 's': // string | str = va_arg (args_copy, const char *); | break; | case 'd': // int | number = va_arg (args_copy, int); | break; | case 'f': // float | fnumber = va_arg (args_copy, double); | break; | default: | break; | } | } | va_end (args_copy); | va_end (args); | } | | int | main () | { | | // Check bool. | _Bool success = false; | | // Check restrict. | if (test_restrict ("String literal") == 0) | success = true; | char *restrict newvar = "Another string"; | | // Check varargs. | test_varargs ("s, d' f .", "string", 65, 34.234); | test_varargs_macros (); | | // Check flexible array members. | struct incomplete_array *ia = | malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10)); | ia->datasize = 10; | for (int i = 0; i < ia->datasize; ++i) | ia->data[i] = i * 1.234; | | // Check named initializers. | struct named_init ni = { | .number = 34, | .name = L"Test wide string", | .average = 543.34343, | }; | | ni.number = 58; | | int dynamic_array[ni.number]; | dynamic_array[ni.number - 1] = 543; | | // work around unused variable warnings | return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x' | || dynamic_array[ni.number - 1] != 543); | | ; | return 0; | } configure:4620: result: none needed configure:4700: checking for g++ configure:4716: found /usr/bin/g++ configure:4727: result: g++ configure:4754: checking for C++ compiler version configure:4763: g++ --version >&5 g++ (GCC) 4.2.0 Copyright (C) 2007 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. configure:4774: $? = 0 configure:4763: g++ -v >&5 Using built-in specs. Target: powerpc-ibm-aix6.1.0.0 Configured with: ../configure --with-as=/usr/bin/as --with-ld=/usr/bin/ld --enable-languages=c,c++,java --prefix=/opt/freeware --enable-threads --enable-version-specific-runtime-libs --host=powerpc-ibm-aix6.1.0.0 --target=powerpc-ibm-aix6.1.0.0 --build=powerpc-ibm-aix6.1.0.0 --disable-libjava-multilib Thread model: aix gcc version 4.2.0 configure:4774: $? = 0 configure:4763: g++ -V >&5 g++: '-V' option must have argument configure:4774: $? = 1 configure:4763: g++ -qversion >&5 g++: unrecognized option '-qversion' g++: no input files configure:4774: $? = 1 configure:4778: checking whether we are using the GNU C++ compiler configure:4797: g++ -c conftest.cpp >&5 configure:4797: $? = 0 configure:4806: result: yes configure:4815: checking whether g++ accepts -g configure:4835: g++ -c -g conftest.cpp >&5 configure:4835: $? = 0 configure:4876: result: yes configure:4917: gcc -c -g -O2 conftest.c >&5 conftest.c: In function 'main': conftest.c:24: error: 'choke' undeclared (first use in this function) conftest.c:24: error: (Each undeclared identifier is reported only once conftest.c:24: error: for each function it appears in.) conftest.c:24: error: expected ';' before 'me' configure:4917: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "PostgreSQL" | #define PACKAGE_TARNAME "postgresql" | #define PACKAGE_VERSION "15.2" | #define PACKAGE_STRING "PostgreSQL 15.2" | #define PACKAGE_BUGREPORT "pgsql-bugs@lists.postgresql.org" | #define PACKAGE_URL "https://www.postgresql.org/" | #define CONFIGURE_ARGS " '--with-pthread=/path/to/pthread-config'" | #define PG_MAJORVERSION "15" | #define PG_MAJORVERSION_NUM 15 | #define PG_MINORVERSION_NUM 2 | #define PG_VERSION "15.2" | #define DEF_PGPORT 5432 | #define DEF_PGPORT_STR "5432" | #define BLCKSZ 8192 | #define RELSEG_SIZE 131072 | #define XLOG_BLCKSZ 8192 | /* end confdefs.h. */ | | int | main () | { | #ifndef __INTEL_COMPILER | choke me | #endif | ; | return 0; | } configure:4939: gcc -c -g -O2 conftest.c >&5 conftest.c: In function 'main': conftest.c:24: error: 'choke' undeclared (first use in this function) conftest.c:24: error: (Each undeclared identifier is reported only once conftest.c:24: error: for each function it appears in.) conftest.c:24: error: expected ';' before 'me' configure:4939: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "PostgreSQL" | #define PACKAGE_TARNAME "postgresql" | #define PACKAGE_VERSION "15.2" | #define PACKAGE_STRING "PostgreSQL 15.2" | #define PACKAGE_BUGREPORT "pgsql-bugs@lists.postgresql.org" | #define PACKAGE_URL "https://www.postgresql.org/" | #define CONFIGURE_ARGS " '--with-pthread=/path/to/pthread-config'" | #define PG_MAJORVERSION "15" | #define PG_MAJORVERSION_NUM 15 | #define PG_MINORVERSION_NUM 2 | #define PG_VERSION "15.2" | #define DEF_PGPORT 5432 | #define DEF_PGPORT_STR "5432" | #define BLCKSZ 8192 | #define RELSEG_SIZE 131072 | #define XLOG_BLCKSZ 8192 | /* end confdefs.h. */ | | int | main () | { | #ifndef __SUNPRO_C | choke me | #endif | ; | return 0; | } configure:4984: checking for gawk configure:5014: result: no configure:4984: checking for mawk configure:5014: result: no configure:4984: checking for nawk configure:5000: found /usr/bin/nawk configure:5011: result: nawk configure:5315: checking whether gcc supports -Wdeclaration-after-statement, for CFLAGS configure:5337: gcc -c -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement conftest.c >&5 configure:5337: $? = 0 configure:5347: result: yes configure:5363: checking whether gcc supports -Werror=vla, for CFLAGS configure:5385: gcc -c -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla conftest.c >&5 cc1: error: -Werror=vla: No option -Wvla configure:5385: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "PostgreSQL" | #define PACKAGE_TARNAME "postgresql" | #define PACKAGE_VERSION "15.2" | #define PACKAGE_STRING "PostgreSQL 15.2" | #define PACKAGE_BUGREPORT "pgsql-bugs@lists.postgresql.org" | #define PACKAGE_URL "https://www.postgresql.org/" | #define CONFIGURE_ARGS " '--with-pthread=/path/to/pthread-config'" | #define PG_MAJORVERSION "15" | #define PG_MAJORVERSION_NUM 15 | #define PG_MINORVERSION_NUM 2 | #define PG_VERSION "15.2" | #define DEF_PGPORT 5432 | #define DEF_PGPORT_STR "5432" | #define BLCKSZ 8192 | #define RELSEG_SIZE 131072 | #define XLOG_BLCKSZ 8192 | /* end confdefs.h. */ | | int | main () | { | | ; | return 0; | } configure:5395: result: no configure:5404: checking whether gcc supports -Werror=unguarded-availability-new, for CFLAGS configure:5426: gcc -c -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=unguarded-availability-new conftest.c >&5 cc1: error: -Werror=unguarded-availability-new: No option -Wunguarded-availability-new configure:5426: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "PostgreSQL" | #define PACKAGE_TARNAME "postgresql" | #define PACKAGE_VERSION "15.2" | #define PACKAGE_STRING "PostgreSQL 15.2" | #define PACKAGE_BUGREPORT "pgsql-bugs@lists.postgresql.org" | #define PACKAGE_URL "https://www.postgresql.org/" | #define CONFIGURE_ARGS " '--with-pthread=/path/to/pthread-config'" | #define PG_MAJORVERSION "15" | #define PG_MAJORVERSION_NUM 15 | #define PG_MINORVERSION_NUM 2 | #define PG_VERSION "15.2" | #define DEF_PGPORT 5432 | #define DEF_PGPORT_STR "5432" | #define BLCKSZ 8192 | #define RELSEG_SIZE 131072 | #define XLOG_BLCKSZ 8192 | /* end confdefs.h. */ | | int | main () | { | | ; | return 0; | } configure:5436: result: no configure:5443: checking whether g++ supports -Werror=unguarded-availability-new, for CXXFLAGS configure:5471: g++ -c -Wall -Wpointer-arith -Werror=unguarded-availability-new conftest.cpp >&5 cc1plus: error: -Werror=unguarded-availability-new: No option -Wunguarded-availability-new configure:5471: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "PostgreSQL" | #define PACKAGE_TARNAME "postgresql" | #define PACKAGE_VERSION "15.2" | #define PACKAGE_STRING "PostgreSQL 15.2" | #define PACKAGE_BUGREPORT "pgsql-bugs@lists.postgresql.org" | #define PACKAGE_URL "https://www.postgresql.org/" | #define CONFIGURE_ARGS " '--with-pthread=/path/to/pthread-config'" | #define PG_MAJORVERSION "15" | #define PG_MAJORVERSION_NUM 15 | #define PG_MINORVERSION_NUM 2 | #define PG_VERSION "15.2" | #define DEF_PGPORT 5432 | #define DEF_PGPORT_STR "5432" | #define BLCKSZ 8192 | #define RELSEG_SIZE 131072 | #define XLOG_BLCKSZ 8192 | /* end confdefs.h. */ | | int | main () | { | | ; | return 0; | } configure:5487: result: no configure:5496: checking whether gcc supports -Wendif-labels, for CFLAGS configure:5518: gcc -c -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels conftest.c >&5 configure:5518: $? = 0 configure:5528: result: yes configure:5535: checking whether g++ supports -Wendif-labels, for CXXFLAGS configure:5563: g++ -c -Wall -Wpointer-arith -Wendif-labels conftest.cpp >&5 configure:5563: $? = 0 configure:5579: result: yes configure:5587: checking whether gcc supports -Wmissing-format-attribute, for CFLAGS configure:5609: gcc -c -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute conftest.c >&5 configure:5609: $? = 0 configure:5619: result: yes configure:5626: checking whether g++ supports -Wmissing-format-attribute, for CXXFLAGS configure:5654: g++ -c -Wall -Wpointer-arith -Wendif-labels -Wmissing-format-attribute conftest.cpp >&5 configure:5654: $? = 0 configure:5670: result: yes configure:5678: checking whether gcc supports -Wimplicit-fallthrough=3, for CFLAGS configure:5700: gcc -c -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wimplicit-fallthrough=3 conftest.c >&5 cc1: error: unrecognized command line option "-Wimplicit-fallthrough=3" configure:5700: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "PostgreSQL" | #define PACKAGE_TARNAME "postgresql" | #define PACKAGE_VERSION "15.2" | #define PACKAGE_STRING "PostgreSQL 15.2" | #define PACKAGE_BUGREPORT "pgsql-bugs@lists.postgresql.org" | #define PACKAGE_URL "https://www.postgresql.org/" | #define CONFIGURE_ARGS " '--with-pthread=/path/to/pthread-config'" | #define PG_MAJORVERSION "15" | #define PG_MAJORVERSION_NUM 15 | #define PG_MINORVERSION_NUM 2 | #define PG_VERSION "15.2" | #define DEF_PGPORT 5432 | #define DEF_PGPORT_STR "5432" | #define BLCKSZ 8192 | #define RELSEG_SIZE 131072 | #define XLOG_BLCKSZ 8192 | /* end confdefs.h. */ | | int | main () | { | | ; | return 0; | } configure:5710: result: no configure:5717: checking whether g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS configure:5745: g++ -c -Wall -Wpointer-arith -Wendif-labels -Wmissing-format-attribute -Wimplicit-fallthrough=3 conftest.cpp >&5 cc1plus: error: unrecognized command line option "-Wimplicit-fallthrough=3" configure:5745: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "PostgreSQL" | #define PACKAGE_TARNAME "postgresql" | #define PACKAGE_VERSION "15.2" | #define PACKAGE_STRING "PostgreSQL 15.2" | #define PACKAGE_BUGREPORT "pgsql-bugs@lists.postgresql.org" | #define PACKAGE_URL "https://www.postgresql.org/" | #define CONFIGURE_ARGS " '--with-pthread=/path/to/pthread-config'" | #define PG_MAJORVERSION "15" | #define PG_MAJORVERSION_NUM 15 | #define PG_MINORVERSION_NUM 2 | #define PG_VERSION "15.2" | #define DEF_PGPORT 5432 | #define DEF_PGPORT_STR "5432" | #define BLCKSZ 8192 | #define RELSEG_SIZE 131072 | #define XLOG_BLCKSZ 8192 | /* end confdefs.h. */ | | int | main () | { | | ; | return 0; | } configure:5761: result: no configure:5769: checking whether gcc supports -Wcast-function-type, for CFLAGS configure:5791: gcc -c -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wcast-function-type conftest.c >&5 cc1: error: unrecognized command line option "-Wcast-function-type" configure:5791: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "PostgreSQL" | #define PACKAGE_TARNAME "postgresql" | #define PACKAGE_VERSION "15.2" | #define PACKAGE_STRING "PostgreSQL 15.2" | #define PACKAGE_BUGREPORT "pgsql-bugs@lists.postgresql.org" | #define PACKAGE_URL "https://www.postgresql.org/" | #define CONFIGURE_ARGS " '--with-pthread=/path/to/pthread-config'" | #define PG_MAJORVERSION "15" | #define PG_MAJORVERSION_NUM 15 | #define PG_MINORVERSION_NUM 2 | #define PG_VERSION "15.2" | #define DEF_PGPORT 5432 | #define DEF_PGPORT_STR "5432" | #define BLCKSZ 8192 | #define RELSEG_SIZE 131072 | #define XLOG_BLCKSZ 8192 | /* end confdefs.h. */ | | int | main () | { | | ; | return 0; | } configure:5801: result: no configure:5808: checking whether g++ supports -Wcast-function-type, for CXXFLAGS configure:5836: g++ -c -Wall -Wpointer-arith -Wendif-labels -Wmissing-format-attribute -Wcast-function-type conftest.cpp >&5 cc1plus: error: unrecognized command line option "-Wcast-function-type" configure:5836: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "PostgreSQL" | #define PACKAGE_TARNAME "postgresql" | #define PACKAGE_VERSION "15.2" | #define PACKAGE_STRING "PostgreSQL 15.2" | #define PACKAGE_BUGREPORT "pgsql-bugs@lists.postgresql.org" | #define PACKAGE_URL "https://www.postgresql.org/" | #define CONFIGURE_ARGS " '--with-pthread=/path/to/pthread-config'" | #define PG_MAJORVERSION "15" | #define PG_MAJORVERSION_NUM 15 | #define PG_MINORVERSION_NUM 2 | #define PG_VERSION "15.2" | #define DEF_PGPORT 5432 | #define DEF_PGPORT_STR "5432" | #define BLCKSZ 8192 | #define RELSEG_SIZE 131072 | #define XLOG_BLCKSZ 8192 | /* end confdefs.h. */ | | int | main () | { | | ; | return 0; | } configure:5852: result: no configure:5861: checking whether gcc supports -Wformat-security, for CFLAGS configure:5883: gcc -c -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security conftest.c >&5 configure:5883: $? = 0 configure:5893: result: yes configure:5900: checking whether g++ supports -Wformat-security, for CXXFLAGS configure:5928: g++ -c -Wall -Wpointer-arith -Wendif-labels -Wmissing-format-attribute -Wformat-security conftest.cpp >&5 configure:5928: $? = 0 configure:5944: result: yes configure:5953: checking whether gcc supports -fno-strict-aliasing, for CFLAGS configure:5975: gcc -c -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing conftest.c >&5 configure:5975: $? = 0 configure:5985: result: yes configure:5992: checking whether g++ supports -fno-strict-aliasing, for CXXFLAGS configure:6020: g++ -c -Wall -Wpointer-arith -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing conftest.cpp >&5 configure:6020: $? = 0 configure:6036: result: yes configure:6045: checking whether gcc supports -fwrapv, for CFLAGS configure:6067: gcc -c -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv conftest.c >&5 configure:6067: $? = 0 configure:6077: result: yes configure:6084: checking whether g++ supports -fwrapv, for CXXFLAGS configure:6112: g++ -c -Wall -Wpointer-arith -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv conftest.cpp >&5 configure:6112: $? = 0 configure:6128: result: yes configure:6137: checking whether gcc supports -fexcess-precision=standard, for CFLAGS configure:6159: gcc -c -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard conftest.c >&5 cc1: error: unrecognized command line option "-fexcess-precision=standard" configure:6159: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "PostgreSQL" | #define PACKAGE_TARNAME "postgresql" | #define PACKAGE_VERSION "15.2" | #define PACKAGE_STRING "PostgreSQL 15.2" | #define PACKAGE_BUGREPORT "pgsql-bugs@lists.postgresql.org" | #define PACKAGE_URL "https://www.postgresql.org/" | #define CONFIGURE_ARGS " '--with-pthread=/path/to/pthread-config'" | #define PG_MAJORVERSION "15" | #define PG_MAJORVERSION_NUM 15 | #define PG_MINORVERSION_NUM 2 | #define PG_VERSION "15.2" | #define DEF_PGPORT 5432 | #define DEF_PGPORT_STR "5432" | #define BLCKSZ 8192 | #define RELSEG_SIZE 131072 | #define XLOG_BLCKSZ 8192 | /* end confdefs.h. */ | | int | main () | { | | ; | return 0; | } configure:6169: result: no configure:6176: checking whether g++ supports -fexcess-precision=standard, for CXXFLAGS configure:6204: g++ -c -Wall -Wpointer-arith -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard conftest.cpp >&5 cc1plus: error: unrecognized command line option "-fexcess-precision=standard" configure:6204: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "PostgreSQL" | #define PACKAGE_TARNAME "postgresql" | #define PACKAGE_VERSION "15.2" | #define PACKAGE_STRING "PostgreSQL 15.2" | #define PACKAGE_BUGREPORT "pgsql-bugs@lists.postgresql.org" | #define PACKAGE_URL "https://www.postgresql.org/" | #define CONFIGURE_ARGS " '--with-pthread=/path/to/pthread-config'" | #define PG_MAJORVERSION "15" | #define PG_MAJORVERSION_NUM 15 | #define PG_MINORVERSION_NUM 2 | #define PG_VERSION "15.2" | #define DEF_PGPORT 5432 | #define DEF_PGPORT_STR "5432" | #define BLCKSZ 8192 | #define RELSEG_SIZE 131072 | #define XLOG_BLCKSZ 8192 | /* end confdefs.h. */ | | int | main () | { | | ; | return 0; | } configure:6220: result: no configure:6228: checking whether gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS configure:6250: gcc -c -funroll-loops conftest.c >&5 configure:6250: $? = 0 configure:6260: result: yes configure:6268: checking whether gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE configure:6290: gcc -c -ftree-vectorize conftest.c >&5 configure:6290: $? = 0 configure:6300: result: yes configure:6316: checking whether gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS configure:6338: gcc -c -Wunused-command-line-argument conftest.c >&5 cc1: error: unrecognized command line option "-Wunused-command-line-argument" configure:6338: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "PostgreSQL" | #define PACKAGE_TARNAME "postgresql" | #define PACKAGE_VERSION "15.2" | #define PACKAGE_STRING "PostgreSQL 15.2" | #define PACKAGE_BUGREPORT "pgsql-bugs@lists.postgresql.org" | #define PACKAGE_URL "https://www.postgresql.org/" | #define CONFIGURE_ARGS " '--with-pthread=/path/to/pthread-config'" | #define PG_MAJORVERSION "15" | #define PG_MAJORVERSION_NUM 15 | #define PG_MINORVERSION_NUM 2 | #define PG_VERSION "15.2" | #define DEF_PGPORT 5432 | #define DEF_PGPORT_STR "5432" | #define BLCKSZ 8192 | #define RELSEG_SIZE 131072 | #define XLOG_BLCKSZ 8192 | /* end confdefs.h. */ | | int | main () | { | | ; | return 0; | } configure:6348: result: no configure:6361: checking whether gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS configure:6383: gcc -c -Wcompound-token-split-by-macro conftest.c >&5 cc1: error: unrecognized command line option "-Wcompound-token-split-by-macro" configure:6383: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "PostgreSQL" | #define PACKAGE_TARNAME "postgresql" | #define PACKAGE_VERSION "15.2" | #define PACKAGE_STRING "PostgreSQL 15.2" | #define PACKAGE_BUGREPORT "pgsql-bugs@lists.postgresql.org" | #define PACKAGE_URL "https://www.postgresql.org/" | #define CONFIGURE_ARGS " '--with-pthread=/path/to/pthread-config'" | #define PG_MAJORVERSION "15" | #define PG_MAJORVERSION_NUM 15 | #define PG_MINORVERSION_NUM 2 | #define PG_VERSION "15.2" | #define DEF_PGPORT 5432 | #define DEF_PGPORT_STR "5432" | #define BLCKSZ 8192 | #define RELSEG_SIZE 131072 | #define XLOG_BLCKSZ 8192 | /* end confdefs.h. */ | | int | main () | { | | ; | return 0; | } configure:6393: result: no configure:6406: checking whether gcc supports -Wdeprecated-non-prototype, for NOT_THE_CFLAGS configure:6428: gcc -c -Wdeprecated-non-prototype conftest.c >&5 cc1: error: unrecognized command line option "-Wdeprecated-non-prototype" configure:6428: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "PostgreSQL" | #define PACKAGE_TARNAME "postgresql" | #define PACKAGE_VERSION "15.2" | #define PACKAGE_STRING "PostgreSQL 15.2" | #define PACKAGE_BUGREPORT "pgsql-bugs@lists.postgresql.org" | #define PACKAGE_URL "https://www.postgresql.org/" | #define CONFIGURE_ARGS " '--with-pthread=/path/to/pthread-config'" | #define PG_MAJORVERSION "15" | #define PG_MAJORVERSION_NUM 15 | #define PG_MINORVERSION_NUM 2 | #define PG_VERSION "15.2" | #define DEF_PGPORT 5432 | #define DEF_PGPORT_STR "5432" | #define BLCKSZ 8192 | #define RELSEG_SIZE 131072 | #define XLOG_BLCKSZ 8192 | /* end confdefs.h. */ | | int | main () | { | | ; | return 0; | } configure:6438: result: no configure:6450: checking whether gcc supports -Wformat-truncation, for NOT_THE_CFLAGS configure:6472: gcc -c -Wformat-truncation conftest.c >&5 cc1: error: unrecognized command line option "-Wformat-truncation" configure:6472: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "PostgreSQL" | #define PACKAGE_TARNAME "postgresql" | #define PACKAGE_VERSION "15.2" | #define PACKAGE_STRING "PostgreSQL 15.2" | #define PACKAGE_BUGREPORT "pgsql-bugs@lists.postgresql.org" | #define PACKAGE_URL "https://www.postgresql.org/" | #define CONFIGURE_ARGS " '--with-pthread=/path/to/pthread-config'" | #define PG_MAJORVERSION "15" | #define PG_MAJORVERSION_NUM 15 | #define PG_MINORVERSION_NUM 2 | #define PG_VERSION "15.2" | #define DEF_PGPORT 5432 | #define DEF_PGPORT_STR "5432" | #define BLCKSZ 8192 | #define RELSEG_SIZE 131072 | #define XLOG_BLCKSZ 8192 | /* end confdefs.h. */ | | int | main () | { | | ; | return 0; | } configure:6482: result: no configure:6493: checking whether gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS configure:6515: gcc -c -Wstringop-truncation conftest.c >&5 cc1: error: unrecognized command line option "-Wstringop-truncation" configure:6515: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "PostgreSQL" | #define PACKAGE_TARNAME "postgresql" | #define PACKAGE_VERSION "15.2" | #define PACKAGE_STRING "PostgreSQL 15.2" | #define PACKAGE_BUGREPORT "pgsql-bugs@lists.postgresql.org" | #define PACKAGE_URL "https://www.postgresql.org/" | #define CONFIGURE_ARGS " '--with-pthread=/path/to/pthread-config'" | #define PG_MAJORVERSION "15" | #define PG_MAJORVERSION_NUM 15 | #define PG_MINORVERSION_NUM 2 | #define PG_VERSION "15.2" | #define DEF_PGPORT 5432 | #define DEF_PGPORT_STR "5432" | #define BLCKSZ 8192 | #define RELSEG_SIZE 131072 | #define XLOG_BLCKSZ 8192 | /* end confdefs.h. */ | | int | main () | { | | ; | return 0; | } configure:6525: result: no configure:7638: checking whether the C compiler still works configure:7651: gcc -o conftest -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -O2 conftest.c >&5 configure:7651: $? = 0 configure:7652: result: yes configure:7677: gcc -c -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -O2 conftest.c >&5 configure:7677: $? = 0 configure:7710: gcc -c -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -O2 conftest.c >&5 configure:7710: $? = 0 configure:7723: checking how to run the C preprocessor configure:7754: gcc -E conftest.c configure:7754: $? = 0 configure:7768: gcc -E conftest.c conftest.c:19:28: error: ac_nonexistent.h: No such file or directory configure:7768: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "PostgreSQL" | #define PACKAGE_TARNAME "postgresql" | #define PACKAGE_VERSION "15.2" | #define PACKAGE_STRING "PostgreSQL 15.2" | #define PACKAGE_BUGREPORT "pgsql-bugs@lists.postgresql.org" | #define PACKAGE_URL "https://www.postgresql.org/" | #define CONFIGURE_ARGS " '--with-pthread=/path/to/pthread-config'" | #define PG_MAJORVERSION "15" | #define PG_MAJORVERSION_NUM 15 | #define PG_MINORVERSION_NUM 2 | #define PG_VERSION "15.2" | #define DEF_PGPORT 5432 | #define DEF_PGPORT_STR "5432" | #define BLCKSZ 8192 | #define RELSEG_SIZE 131072 | #define XLOG_BLCKSZ 8192 | /* end confdefs.h. */ | #include configure:7793: result: gcc -E configure:7813: gcc -E conftest.c configure:7813: $? = 0 configure:7827: gcc -E conftest.c conftest.c:19:28: error: ac_nonexistent.h: No such file or directory configure:7827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "PostgreSQL" | #define PACKAGE_TARNAME "postgresql" | #define PACKAGE_VERSION "15.2" | #define PACKAGE_STRING "PostgreSQL 15.2" | #define PACKAGE_BUGREPORT "pgsql-bugs@lists.postgresql.org" | #define PACKAGE_URL "https://www.postgresql.org/" | #define CONFIGURE_ARGS " '--with-pthread=/path/to/pthread-config'" | #define PG_MAJORVERSION "15" | #define PG_MAJORVERSION_NUM 15 | #define PG_MINORVERSION_NUM 2 | #define PG_VERSION "15.2" | #define DEF_PGPORT 5432 | #define DEF_PGPORT_STR "5432" | #define BLCKSZ 8192 | #define RELSEG_SIZE 131072 | #define XLOG_BLCKSZ 8192 | /* end confdefs.h. */ | #include configure:7935: checking for pkg-config configure:7968: result: no configure:8098: checking allow thread-safe client libraries configure:8128: result: yes configure:8135: checking whether to build with ICU support configure:8163: result: no configure:8264: checking whether to build with Tcl configure:8290: result: no configure:8322: checking whether to build Perl modules configure:8348: result: no configure:8355: checking whether to build Python modules configure:8381: result: no configure:8388: checking whether to build with GSSAPI support configure:8419: result: no configure:8464: checking whether to build with PAM support configure:8492: result: no configure:8499: checking whether to build with BSD Authentication support configure:8527: result: no configure:8534: checking whether to build with LDAP support configure:8562: result: no configure:8570: checking whether to build with Bonjour support configure:8598: result: no configure:8605: checking whether to build with SELinux support configure:8632: result: no configure:8638: checking whether to build with systemd support configure:8667: result: no configure:8822: checking whether to build with XML support configure:8850: result: no configure:9096: checking whether to build with LZ4 support configure:9124: result: no configure:9237: checking whether to build with ZSTD support configure:9265: result: no configure:9395: checking for ld used by GCC configure:9458: result: /usr/bin/ld configure:9465: checking if the linker (/usr/bin/ld) is GNU ld configure:9477: result: no configure:9527: checking for ranlib configure:9543: found /usr/bin/ranlib configure:9554: result: ranlib configure:9620: checking for strip configure:9636: found /usr/bin/strip configure:9647: result: strip configure:9670: checking whether it is possible to strip libraries configure:9689: result: no configure:9740: checking for ar configure:9756: found /usr/bin/ar configure:9767: result: ar configure:10082: checking for a BSD-compatible install configure:10150: result: config/install-sh -c configure:10175: checking for tar configure:10193: found /usr/bin/tar configure:10205: result: /usr/bin/tar configure:10224: checking whether ln -s works configure:10228: result: yes configure:10235: checking for a thread-safe mkdir -p configure:10274: result: config/install-sh -c -d configure:10289: checking for bison configure:10322: result: no configure:10364: WARNING: *** Without Bison you will not be able to build PostgreSQL from Git nor *** change any of the parser definition files. You can obtain Bison from *** a GNU mirror site. (If you are using the official distribution of *** PostgreSQL then you do not need to worry about this, because the Bison *** output is pre-generated.) configure:10379: checking for flex configure:10424: result: no configure:10427: WARNING: *** Without Flex you will not be able to build PostgreSQL from Git nor *** change any of the scanner definition files. You can obtain Flex from *** a GNU mirror site. (If you are using the official distribution of *** PostgreSQL then you do not need to worry about this because the Flex *** output is pre-generated.) configure:10457: checking for perl configure:10475: found /usr/bin/perl configure:10487: result: /usr/bin/perl configure:10509: using perl 5.28.1 configure:10886: checking for a sed that does not truncate output configure:10950: result: /usr/bin/sed configure:10956: checking for grep that handles long lines and -e configure:11014: result: /usr/bin/grep configure:11019: checking for egrep configure:11081: result: /usr/bin/grep -E configure:11086: checking for ANSI C header files configure:11106: gcc -c -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -O2 conftest.c >&5 In file included from /usr/include/sys/resource.h:57, from /opt/freeware/lib/gcc/powerpc-ibm-aix6.1.0.0/4.2.0/include/sys/wait.h:62, from /opt/freeware/lib/gcc/powerpc-ibm-aix6.1.0.0/4.2.0/include/stdlib.h:346, from conftest.c:22: /usr/include/sys/time.h:110: error: redefinition of 'struct sigset_t' configure:11106: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "PostgreSQL" | #define PACKAGE_TARNAME "postgresql" | #define PACKAGE_VERSION "15.2" | #define PACKAGE_STRING "PostgreSQL 15.2" | #define PACKAGE_BUGREPORT "pgsql-bugs@lists.postgresql.org" | #define PACKAGE_URL "https://www.postgresql.org/" | #define CONFIGURE_ARGS " '--with-pthread=/path/to/pthread-config'" | #define PG_MAJORVERSION "15" | #define PG_MAJORVERSION_NUM 15 | #define PG_MINORVERSION_NUM 2 | #define PG_VERSION "15.2" | #define DEF_PGPORT 5432 | #define DEF_PGPORT_STR "5432" | #define BLCKSZ 8192 | #define RELSEG_SIZE 131072 | #define XLOG_BLCKSZ 8192 | #define DLSUFFIX ".so" | #define ENABLE_THREAD_SAFETY 1 | #define PG_KRB_SRVNAM "postgres" | /* end confdefs.h. */ | #include | #include | #include | #include | | int | main () | { | | ; | return 0; | } configure:11190: result: no configure:11203: checking for sys/types.h configure:11203: gcc -c -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -O2 conftest.c >&5 configure:11203: $? = 0 configure:11203: result: yes configure:11203: checking for sys/stat.h configure:11203: gcc -c -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -O2 conftest.c >&5 configure:11203: $? = 0 configure:11203: result: yes configure:11203: checking for stdlib.h configure:11203: gcc -c -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -O2 conftest.c >&5 In file included from /usr/include/sys/resource.h:57, from /opt/freeware/lib/gcc/powerpc-ibm-aix6.1.0.0/4.2.0/include/sys/wait.h:62, from /opt/freeware/lib/gcc/powerpc-ibm-aix6.1.0.0/4.2.0/include/stdlib.h:346, from conftest.c:58: /usr/include/sys/time.h:110: error: redefinition of 'struct sigset_t' configure:11203: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "PostgreSQL" | #define PACKAGE_TARNAME "postgresql" | #define PACKAGE_VERSION "15.2" | #define PACKAGE_STRING "PostgreSQL 15.2" | #define PACKAGE_BUGREPORT "pgsql-bugs@lists.postgresql.org" | #define PACKAGE_URL "https://www.postgresql.org/" | #define CONFIGURE_ARGS " '--with-pthread=/path/to/pthread-config'" | #define PG_MAJORVERSION "15" | #define PG_MAJORVERSION_NUM 15 | #define PG_MINORVERSION_NUM 2 | #define PG_VERSION "15.2" | #define DEF_PGPORT 5432 | #define DEF_PGPORT_STR "5432" | #define BLCKSZ 8192 | #define RELSEG_SIZE 131072 | #define XLOG_BLCKSZ 8192 | #define DLSUFFIX ".so" | #define ENABLE_THREAD_SAFETY 1 | #define PG_KRB_SRVNAM "postgres" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | /* end confdefs.h. */ | #include | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_STAT_H | # include | #endif | #ifdef STDC_HEADERS | # include | # include | #else | # ifdef HAVE_STDLIB_H | # include | # endif | #endif | #ifdef HAVE_STRING_H | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H | # include | # endif | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | | #include configure:11203: result: no configure:11203: checking for string.h configure:11203: gcc -c -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -O2 conftest.c >&5 configure:11203: $? = 0 configure:11203: result: yes configure:11203: checking for memory.h configure:11203: gcc -c -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -O2 conftest.c >&5 configure:11203: $? = 0 configure:11203: result: yes configure:11203: checking for strings.h configure:11203: gcc -c -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -O2 conftest.c >&5 configure:11203: $? = 0 configure:11203: result: yes configure:11203: checking for inttypes.h configure:11203: gcc -c -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -O2 conftest.c >&5 configure:11203: $? = 0 configure:11203: result: yes configure:11203: checking for stdint.h configure:11203: gcc -c -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -O2 conftest.c >&5 configure:11203: $? = 0 configure:11203: result: yes configure:11203: checking for unistd.h configure:11203: gcc -c -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -O2 conftest.c >&5 configure:11203: $? = 0 configure:11203: result: yes configure:11400: checking whether gcc is Clang configure:11425: result: no configure:11548: checking whether pthreads work with -pthread configure:11642: gcc -o conftest -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -O2 -pthread conftest.c >&5 In file included from /usr/include/sys/thread.h:40, from /usr/include/sys/ptrace.h:28, from /usr/include/sys/proc.h:43, from /usr/include/sys/pri.h:43, from /usr/include/sys/sched.h:39, from /usr/include/sched.h:51, from /usr/include/pthread.h:65, from conftest.c:30: /usr/include/sys/time.h:110: error: redefinition of 'struct sigset_t' configure:11642: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "PostgreSQL" | #define PACKAGE_TARNAME "postgresql" | #define PACKAGE_VERSION "15.2" | #define PACKAGE_STRING "PostgreSQL 15.2" | #define PACKAGE_BUGREPORT "pgsql-bugs@lists.postgresql.org" | #define PACKAGE_URL "https://www.postgresql.org/" | #define CONFIGURE_ARGS " '--with-pthread=/path/to/pthread-config'" | #define PG_MAJORVERSION "15" | #define PG_MAJORVERSION_NUM 15 | #define PG_MINORVERSION_NUM 2 | #define PG_VERSION "15.2" | #define DEF_PGPORT 5432 | #define DEF_PGPORT_STR "5432" | #define BLCKSZ 8192 | #define RELSEG_SIZE 131072 | #define XLOG_BLCKSZ 8192 | #define DLSUFFIX ".so" | #define ENABLE_THREAD_SAFETY 1 | #define PG_KRB_SRVNAM "postgres" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | /* end confdefs.h. */ | #include | # if !defined(_THREAD_SAFE) | # error "_THREAD_SAFE must be defined" | # endif | static void routine(void *a) { a = 0; } | static void *start_routine(void *a) { return a; } | int | main () | { | pthread_t th; pthread_attr_t attr; | pthread_create(&th, 0, start_routine, 0); | pthread_join(th, 0); | pthread_attr_init(&attr); | pthread_cleanup_push(routine, 0); | pthread_cleanup_pop(0) /* ; */ | ; | return 0; | } configure:11651: result: no configure:11548: checking whether pthreads work with -pthreads configure:11642: gcc -o conftest -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -O2 -pthreads conftest.c >&5 gcc: unrecognized option '-pthreads' In file included from /usr/include/sys/thread.h:40, from /usr/include/sys/ptrace.h:28, from /usr/include/sys/proc.h:43, from /usr/include/sys/pri.h:43, from /usr/include/sys/sched.h:39, from /usr/include/sched.h:51, from /usr/include/pthread.h:65, from conftest.c:30: /usr/include/sys/time.h:110: error: redefinition of 'struct sigset_t' configure:11642: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "PostgreSQL" | #define PACKAGE_TARNAME "postgresql" | #define PACKAGE_VERSION "15.2" | #define PACKAGE_STRING "PostgreSQL 15.2" | #define PACKAGE_BUGREPORT "pgsql-bugs@lists.postgresql.org" | #define PACKAGE_URL "https://www.postgresql.org/" | #define CONFIGURE_ARGS " '--with-pthread=/path/to/pthread-config'" | #define PG_MAJORVERSION "15" | #define PG_MAJORVERSION_NUM 15 | #define PG_MINORVERSION_NUM 2 | #define PG_VERSION "15.2" | #define DEF_PGPORT 5432 | #define DEF_PGPORT_STR "5432" | #define BLCKSZ 8192 | #define RELSEG_SIZE 131072 | #define XLOG_BLCKSZ 8192 | #define DLSUFFIX ".so" | #define ENABLE_THREAD_SAFETY 1 | #define PG_KRB_SRVNAM "postgres" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | /* end confdefs.h. */ | #include | # if !defined(_THREAD_SAFE) | # error "_THREAD_SAFE must be defined" | # endif | static void routine(void *a) { a = 0; } | static void *start_routine(void *a) { return a; } | int | main () | { | pthread_t th; pthread_attr_t attr; | pthread_create(&th, 0, start_routine, 0); | pthread_join(th, 0); | pthread_attr_init(&attr); | pthread_cleanup_push(routine, 0); | pthread_cleanup_pop(0) /* ; */ | ; | return 0; | } configure:11651: result: no configure:11600: checking for the pthreads library -lpthreads configure:11642: gcc -o conftest -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -O2 conftest.c -lpthreads >&5 In file included from /usr/include/sys/thread.h:40, from /usr/include/sys/ptrace.h:28, from /usr/include/sys/proc.h:43, from /usr/include/sys/pri.h:43, from /usr/include/sys/sched.h:39, from /usr/include/sched.h:51, from /usr/include/pthread.h:65, from conftest.c:30: /usr/include/sys/time.h:110: error: redefinition of 'struct sigset_t' configure:11642: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "PostgreSQL" | #define PACKAGE_TARNAME "postgresql" | #define PACKAGE_VERSION "15.2" | #define PACKAGE_STRING "PostgreSQL 15.2" | #define PACKAGE_BUGREPORT "pgsql-bugs@lists.postgresql.org" | #define PACKAGE_URL "https://www.postgresql.org/" | #define CONFIGURE_ARGS " '--with-pthread=/path/to/pthread-config'" | #define PG_MAJORVERSION "15" | #define PG_MAJORVERSION_NUM 15 | #define PG_MINORVERSION_NUM 2 | #define PG_VERSION "15.2" | #define DEF_PGPORT 5432 | #define DEF_PGPORT_STR "5432" | #define BLCKSZ 8192 | #define RELSEG_SIZE 131072 | #define XLOG_BLCKSZ 8192 | #define DLSUFFIX ".so" | #define ENABLE_THREAD_SAFETY 1 | #define PG_KRB_SRVNAM "postgres" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | /* end confdefs.h. */ | #include | # if !defined(_THREAD_SAFE) | # error "_THREAD_SAFE must be defined" | # endif | static void routine(void *a) { a = 0; } | static void *start_routine(void *a) { return a; } | int | main () | { | pthread_t th; pthread_attr_t attr; | pthread_create(&th, 0, start_routine, 0); | pthread_join(th, 0); | pthread_attr_init(&attr); | pthread_cleanup_push(routine, 0); | pthread_cleanup_pop(0) /* ; */ | ; | return 0; | } configure:11651: result: no configure:11536: checking whether pthreads work without any flags configure:11642: gcc -o conftest -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -O2 conftest.c >&5 In file included from /usr/include/sys/thread.h:40, from /usr/include/sys/ptrace.h:28, from /usr/include/sys/proc.h:43, from /usr/include/sys/pri.h:43, from /usr/include/sys/sched.h:39, from /usr/include/sched.h:51, from /usr/include/pthread.h:65, from conftest.c:30: /usr/include/sys/time.h:110: error: redefinition of 'struct sigset_t' configure:11642: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "PostgreSQL" | #define PACKAGE_TARNAME "postgresql" | #define PACKAGE_VERSION "15.2" | #define PACKAGE_STRING "PostgreSQL 15.2" | #define PACKAGE_BUGREPORT "pgsql-bugs@lists.postgresql.org" | #define PACKAGE_URL "https://www.postgresql.org/" | #define CONFIGURE_ARGS " '--with-pthread=/path/to/pthread-config'" | #define PG_MAJORVERSION "15" | #define PG_MAJORVERSION_NUM 15 | #define PG_MINORVERSION_NUM 2 | #define PG_VERSION "15.2" | #define DEF_PGPORT 5432 | #define DEF_PGPORT_STR "5432" | #define BLCKSZ 8192 | #define RELSEG_SIZE 131072 | #define XLOG_BLCKSZ 8192 | #define DLSUFFIX ".so" | #define ENABLE_THREAD_SAFETY 1 | #define PG_KRB_SRVNAM "postgres" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | /* end confdefs.h. */ | #include | # if !defined(_THREAD_SAFE) | # error "_THREAD_SAFE must be defined" | # endif | static void routine(void *a) { a = 0; } | static void *start_routine(void *a) { return a; } | int | main () | { | pthread_t th; pthread_attr_t attr; | pthread_create(&th, 0, start_routine, 0); | pthread_join(th, 0); | pthread_attr_init(&attr); | pthread_cleanup_push(routine, 0); | pthread_cleanup_pop(0) /* ; */ | ; | return 0; | } configure:11651: result: no configure:11548: checking whether pthreads work with -Kthread configure:11642: gcc -o conftest -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -O2 -Kthread conftest.c >&5 gcc: unrecognized option '-Kthread' In file included from /usr/include/sys/thread.h:40, from /usr/include/sys/ptrace.h:28, from /usr/include/sys/proc.h:43, from /usr/include/sys/pri.h:43, from /usr/include/sys/sched.h:39, from /usr/include/sched.h:51, from /usr/include/pthread.h:65, from conftest.c:30: /usr/include/sys/time.h:110: error: redefinition of 'struct sigset_t' configure:11642: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "PostgreSQL" | #define PACKAGE_TARNAME "postgresql" | #define PACKAGE_VERSION "15.2" | #define PACKAGE_STRING "PostgreSQL 15.2" | #define PACKAGE_BUGREPORT "pgsql-bugs@lists.postgresql.org" | #define PACKAGE_URL "https://www.postgresql.org/" | #define CONFIGURE_ARGS " '--with-pthread=/path/to/pthread-config'" | #define PG_MAJORVERSION "15" | #define PG_MAJORVERSION_NUM 15 | #define PG_MINORVERSION_NUM 2 | #define PG_VERSION "15.2" | #define DEF_PGPORT 5432 | #define DEF_PGPORT_STR "5432" | #define BLCKSZ 8192 | #define RELSEG_SIZE 131072 | #define XLOG_BLCKSZ 8192 | #define DLSUFFIX ".so" | #define ENABLE_THREAD_SAFETY 1 | #define PG_KRB_SRVNAM "postgres" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | /* end confdefs.h. */ | #include | # if !defined(_THREAD_SAFE) | # error "_THREAD_SAFE must be defined" | # endif | static void routine(void *a) { a = 0; } | static void *start_routine(void *a) { return a; } | int | main () | { | pthread_t th; pthread_attr_t attr; | pthread_create(&th, 0, start_routine, 0); | pthread_join(th, 0); | pthread_attr_init(&attr); | pthread_cleanup_push(routine, 0); | pthread_cleanup_pop(0) /* ; */ | ; | return 0; | } configure:11651: result: no configure:11548: checking whether pthreads work with -pthread configure:11642: gcc -o conftest -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -O2 -pthread conftest.c >&5 In file included from /usr/include/sys/thread.h:40, from /usr/include/sys/ptrace.h:28, from /usr/include/sys/proc.h:43, from /usr/include/sys/pri.h:43, from /usr/include/sys/sched.h:39, from /usr/include/sched.h:51, from /usr/include/pthread.h:65, from conftest.c:30: /usr/include/sys/time.h:110: error: redefinition of 'struct sigset_t' configure:11642: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "PostgreSQL" | #define PACKAGE_TARNAME "postgresql" | #define PACKAGE_VERSION "15.2" | #define PACKAGE_STRING "PostgreSQL 15.2" | #define PACKAGE_BUGREPORT "pgsql-bugs@lists.postgresql.org" | #define PACKAGE_URL "https://www.postgresql.org/" | #define CONFIGURE_ARGS " '--with-pthread=/path/to/pthread-config'" | #define PG_MAJORVERSION "15" | #define PG_MAJORVERSION_NUM 15 | #define PG_MINORVERSION_NUM 2 | #define PG_VERSION "15.2" | #define DEF_PGPORT 5432 | #define DEF_PGPORT_STR "5432" | #define BLCKSZ 8192 | #define RELSEG_SIZE 131072 | #define XLOG_BLCKSZ 8192 | #define DLSUFFIX ".so" | #define ENABLE_THREAD_SAFETY 1 | #define PG_KRB_SRVNAM "postgres" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | /* end confdefs.h. */ | #include | # if !defined(_THREAD_SAFE) | # error "_THREAD_SAFE must be defined" | # endif | static void routine(void *a) { a = 0; } | static void *start_routine(void *a) { return a; } | int | main () | { | pthread_t th; pthread_attr_t attr; | pthread_create(&th, 0, start_routine, 0); | pthread_join(th, 0); | pthread_attr_init(&attr); | pthread_cleanup_push(routine, 0); | pthread_cleanup_pop(0) /* ; */ | ; | return 0; | } configure:11651: result: no configure:11548: checking whether pthreads work with -pthreads configure:11642: gcc -o conftest -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -O2 -pthreads conftest.c >&5 gcc: unrecognized option '-pthreads' In file included from /usr/include/sys/thread.h:40, from /usr/include/sys/ptrace.h:28, from /usr/include/sys/proc.h:43, from /usr/include/sys/pri.h:43, from /usr/include/sys/sched.h:39, from /usr/include/sched.h:51, from /usr/include/pthread.h:65, from conftest.c:30: /usr/include/sys/time.h:110: error: redefinition of 'struct sigset_t' configure:11642: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "PostgreSQL" | #define PACKAGE_TARNAME "postgresql" | #define PACKAGE_VERSION "15.2" | #define PACKAGE_STRING "PostgreSQL 15.2" | #define PACKAGE_BUGREPORT "pgsql-bugs@lists.postgresql.org" | #define PACKAGE_URL "https://www.postgresql.org/" | #define CONFIGURE_ARGS " '--with-pthread=/path/to/pthread-config'" | #define PG_MAJORVERSION "15" | #define PG_MAJORVERSION_NUM 15 | #define PG_MINORVERSION_NUM 2 | #define PG_VERSION "15.2" | #define DEF_PGPORT 5432 | #define DEF_PGPORT_STR "5432" | #define BLCKSZ 8192 | #define RELSEG_SIZE 131072 | #define XLOG_BLCKSZ 8192 | #define DLSUFFIX ".so" | #define ENABLE_THREAD_SAFETY 1 | #define PG_KRB_SRVNAM "postgres" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | /* end confdefs.h. */ | #include | # if !defined(_THREAD_SAFE) | # error "_THREAD_SAFE must be defined" | # endif | static void routine(void *a) { a = 0; } | static void *start_routine(void *a) { return a; } | int | main () | { | pthread_t th; pthread_attr_t attr; | pthread_create(&th, 0, start_routine, 0); | pthread_join(th, 0); | pthread_attr_init(&attr); | pthread_cleanup_push(routine, 0); | pthread_cleanup_pop(0) /* ; */ | ; | return 0; | } configure:11651: result: no configure:11548: checking whether pthreads work with -mthreads configure:11642: gcc -o conftest -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -O2 -mthreads conftest.c >&5 cc1: error: unrecognized command line option "-mthreads" configure:11642: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "PostgreSQL" | #define PACKAGE_TARNAME "postgresql" | #define PACKAGE_VERSION "15.2" | #define PACKAGE_STRING "PostgreSQL 15.2" | #define PACKAGE_BUGREPORT "pgsql-bugs@lists.postgresql.org" | #define PACKAGE_URL "https://www.postgresql.org/" | #define CONFIGURE_ARGS " '--with-pthread=/path/to/pthread-config'" | #define PG_MAJORVERSION "15" | #define PG_MAJORVERSION_NUM 15 | #define PG_MINORVERSION_NUM 2 | #define PG_VERSION "15.2" | #define DEF_PGPORT 5432 | #define DEF_PGPORT_STR "5432" | #define BLCKSZ 8192 | #define RELSEG_SIZE 131072 | #define XLOG_BLCKSZ 8192 | #define DLSUFFIX ".so" | #define ENABLE_THREAD_SAFETY 1 | #define PG_KRB_SRVNAM "postgres" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | /* end confdefs.h. */ | #include | # if !defined(_THREAD_SAFE) | # error "_THREAD_SAFE must be defined" | # endif | static void routine(void *a) { a = 0; } | static void *start_routine(void *a) { return a; } | int | main () | { | pthread_t th; pthread_attr_t attr; | pthread_create(&th, 0, start_routine, 0); | pthread_join(th, 0); | pthread_attr_init(&attr); | pthread_cleanup_push(routine, 0); | pthread_cleanup_pop(0) /* ; */ | ; | return 0; | } configure:11651: result: no configure:11600: checking for the pthreads library -lpthread configure:11642: gcc -o conftest -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -O2 conftest.c -lpthread >&5 In file included from /usr/include/sys/thread.h:40, from /usr/include/sys/ptrace.h:28, from /usr/include/sys/proc.h:43, from /usr/include/sys/pri.h:43, from /usr/include/sys/sched.h:39, from /usr/include/sched.h:51, from /usr/include/pthread.h:65, from conftest.c:30: /usr/include/sys/time.h:110: error: redefinition of 'struct sigset_t' configure:11642: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "PostgreSQL" | #define PACKAGE_TARNAME "postgresql" | #define PACKAGE_VERSION "15.2" | #define PACKAGE_STRING "PostgreSQL 15.2" | #define PACKAGE_BUGREPORT "pgsql-bugs@lists.postgresql.org" | #define PACKAGE_URL "https://www.postgresql.org/" | #define CONFIGURE_ARGS " '--with-pthread=/path/to/pthread-config'" | #define PG_MAJORVERSION "15" | #define PG_MAJORVERSION_NUM 15 | #define PG_MINORVERSION_NUM 2 | #define PG_VERSION "15.2" | #define DEF_PGPORT 5432 | #define DEF_PGPORT_STR "5432" | #define BLCKSZ 8192 | #define RELSEG_SIZE 131072 | #define XLOG_BLCKSZ 8192 | #define DLSUFFIX ".so" | #define ENABLE_THREAD_SAFETY 1 | #define PG_KRB_SRVNAM "postgres" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | /* end confdefs.h. */ | #include | # if !defined(_THREAD_SAFE) | # error "_THREAD_SAFE must be defined" | # endif | static void routine(void *a) { a = 0; } | static void *start_routine(void *a) { return a; } | int | main () | { | pthread_t th; pthread_attr_t attr; | pthread_create(&th, 0, start_routine, 0); | pthread_join(th, 0); | pthread_attr_init(&attr); | pthread_cleanup_push(routine, 0); | pthread_cleanup_pop(0) /* ; */ | ; | return 0; | } configure:11651: result: no configure:11548: checking whether pthreads work with --thread-safe configure:11642: gcc -o conftest -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -O2 --thread-safe conftest.c >&5 cc1: error: unrecognized command line option "-fthread-safe" configure:11642: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "PostgreSQL" | #define PACKAGE_TARNAME "postgresql" | #define PACKAGE_VERSION "15.2" | #define PACKAGE_STRING "PostgreSQL 15.2" | #define PACKAGE_BUGREPORT "pgsql-bugs@lists.postgresql.org" | #define PACKAGE_URL "https://www.postgresql.org/" | #define CONFIGURE_ARGS " '--with-pthread=/path/to/pthread-config'" | #define PG_MAJORVERSION "15" | #define PG_MAJORVERSION_NUM 15 | #define PG_MINORVERSION_NUM 2 | #define PG_VERSION "15.2" | #define DEF_PGPORT 5432 | #define DEF_PGPORT_STR "5432" | #define BLCKSZ 8192 | #define RELSEG_SIZE 131072 | #define XLOG_BLCKSZ 8192 | #define DLSUFFIX ".so" | #define ENABLE_THREAD_SAFETY 1 | #define PG_KRB_SRVNAM "postgres" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | /* end confdefs.h. */ | #include | # if !defined(_THREAD_SAFE) | # error "_THREAD_SAFE must be defined" | # endif | static void routine(void *a) { a = 0; } | static void *start_routine(void *a) { return a; } | int | main () | { | pthread_t th; pthread_attr_t attr; | pthread_create(&th, 0, start_routine, 0); | pthread_join(th, 0); | pthread_attr_init(&attr); | pthread_cleanup_push(routine, 0); | pthread_cleanup_pop(0) /* ; */ | ; | return 0; | } configure:11651: result: no configure:11548: checking whether pthreads work with -mt configure:11642: gcc -o conftest -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -O2 -mt conftest.c >&5 cc1: error: unrecognized command line option "-mt" configure:11642: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "PostgreSQL" | #define PACKAGE_TARNAME "postgresql" | #define PACKAGE_VERSION "15.2" | #define PACKAGE_STRING "PostgreSQL 15.2" | #define PACKAGE_BUGREPORT "pgsql-bugs@lists.postgresql.org" | #define PACKAGE_URL "https://www.postgresql.org/" | #define CONFIGURE_ARGS " '--with-pthread=/path/to/pthread-config'" | #define PG_MAJORVERSION "15" | #define PG_MAJORVERSION_NUM 15 | #define PG_MINORVERSION_NUM 2 | #define PG_VERSION "15.2" | #define DEF_PGPORT 5432 | #define DEF_PGPORT_STR "5432" | #define BLCKSZ 8192 | #define RELSEG_SIZE 131072 | #define XLOG_BLCKSZ 8192 | #define DLSUFFIX ".so" | #define ENABLE_THREAD_SAFETY 1 | #define PG_KRB_SRVNAM "postgres" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | /* end confdefs.h. */ | #include | # if !defined(_THREAD_SAFE) | # error "_THREAD_SAFE must be defined" | # endif | static void routine(void *a) { a = 0; } | static void *start_routine(void *a) { return a; } | int | main () | { | pthread_t th; pthread_attr_t attr; | pthread_create(&th, 0, start_routine, 0); | pthread_join(th, 0); | pthread_attr_init(&attr); | pthread_cleanup_push(routine, 0); | pthread_cleanup_pop(0) /* ; */ | ; | return 0; | } configure:11651: result: no configure:11556: checking for pthread-config configure:11584: result: no configure:11869: checking pthread.h usability configure:11869: gcc -c -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -O2 -D_REENTRANT -D_THREAD_SAFE conftest.c >&5 In file included from /usr/include/sys/thread.h:40, from /usr/include/sys/ptrace.h:28, from /usr/include/sys/proc.h:43, from /usr/include/sys/pri.h:43, from /usr/include/sys/sched.h:39, from /usr/include/sched.h:51, from /usr/include/pthread.h:65, from conftest.c:63: /usr/include/sys/time.h:110: error: redefinition of 'struct sigset_t' configure:11869: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "PostgreSQL" | #define PACKAGE_TARNAME "postgresql" | #define PACKAGE_VERSION "15.2" | #define PACKAGE_STRING "PostgreSQL 15.2" | #define PACKAGE_BUGREPORT "pgsql-bugs@lists.postgresql.org" | #define PACKAGE_URL "https://www.postgresql.org/" | #define CONFIGURE_ARGS " '--with-pthread=/path/to/pthread-config'" | #define PG_MAJORVERSION "15" | #define PG_MAJORVERSION_NUM 15 | #define PG_MINORVERSION_NUM 2 | #define PG_VERSION "15.2" | #define DEF_PGPORT 5432 | #define DEF_PGPORT_STR "5432" | #define BLCKSZ 8192 | #define RELSEG_SIZE 131072 | #define XLOG_BLCKSZ 8192 | #define DLSUFFIX ".so" | #define ENABLE_THREAD_SAFETY 1 | #define PG_KRB_SRVNAM "postgres" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | /* end confdefs.h. */ | #include | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_STAT_H | # include | #endif | #ifdef STDC_HEADERS | # include | # include | #else | # ifdef HAVE_STDLIB_H | # include | # endif | #endif | #ifdef HAVE_STRING_H | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H | # include | # endif | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | #include configure:11869: result: no configure:11869: checking pthread.h presence configure:11869: gcc -E conftest.c configure:11869: $? = 0 configure:11869: result: yes configure:11869: WARNING: pthread.h: present but cannot be compiled configure:11869: WARNING: pthread.h: check for missing prerequisite headers? configure:11869: WARNING: pthread.h: see the Autoconf documentation configure:11869: WARNING: pthread.h: section "Present But Cannot Be Compiled" configure:11869: WARNING: pthread.h: proceeding with the compiler's result configure:11869: checking for pthread.h configure:11869: result: no configure:11873: error: pthread.h not found; use --disable-thread-safety to disable thread safety ## ---------------- ## ## Cache variables. ## ## ---------------- ## ac_cv_build=powerpc-ibm-aix7.2.5.0 ac_cv_c_compiler_gnu=yes ac_cv_cxx_compiler_gnu=yes ac_cv_env_CCC_set='' ac_cv_env_CCC_value='' ac_cv_env_CC_set='' ac_cv_env_CC_value='' ac_cv_env_CFLAGS_set='' ac_cv_env_CFLAGS_value='' ac_cv_env_CLANG_set='' ac_cv_env_CLANG_value='' ac_cv_env_CPPFLAGS_set='' ac_cv_env_CPPFLAGS_value='' ac_cv_env_CPP_set='' ac_cv_env_CPP_value='' ac_cv_env_CXXFLAGS_set='' ac_cv_env_CXXFLAGS_value='' ac_cv_env_CXX_set='' ac_cv_env_CXX_value='' ac_cv_env_ICU_CFLAGS_set='' ac_cv_env_ICU_CFLAGS_value='' ac_cv_env_ICU_LIBS_set='' ac_cv_env_ICU_LIBS_value='' ac_cv_env_LDFLAGS_EX_set='' ac_cv_env_LDFLAGS_EX_value='' ac_cv_env_LDFLAGS_SL_set='' ac_cv_env_LDFLAGS_SL_value='' ac_cv_env_LDFLAGS_set='' ac_cv_env_LDFLAGS_value='' ac_cv_env_LIBS_set='' ac_cv_env_LIBS_value='' ac_cv_env_LLVM_CONFIG_set='' ac_cv_env_LLVM_CONFIG_value='' ac_cv_env_LZ4_CFLAGS_set='' ac_cv_env_LZ4_CFLAGS_value='' ac_cv_env_LZ4_LIBS_set='' ac_cv_env_LZ4_LIBS_value='' ac_cv_env_MSGFMT_set='' ac_cv_env_MSGFMT_value='' ac_cv_env_PERL_set='' ac_cv_env_PERL_value='' ac_cv_env_PKG_CONFIG_LIBDIR_set='' ac_cv_env_PKG_CONFIG_LIBDIR_value='' ac_cv_env_PKG_CONFIG_PATH_set='' ac_cv_env_PKG_CONFIG_PATH_value='' ac_cv_env_PKG_CONFIG_set='' ac_cv_env_PKG_CONFIG_value='' ac_cv_env_PYTHON_set='' ac_cv_env_PYTHON_value='' ac_cv_env_TCLSH_set='' ac_cv_env_TCLSH_value='' ac_cv_env_XML2_CFLAGS_set='' ac_cv_env_XML2_CFLAGS_value='' ac_cv_env_XML2_CONFIG_set='' ac_cv_env_XML2_CONFIG_value='' ac_cv_env_XML2_LIBS_set='' ac_cv_env_XML2_LIBS_value='' ac_cv_env_ZSTD_CFLAGS_set='' ac_cv_env_ZSTD_CFLAGS_value='' ac_cv_env_ZSTD_LIBS_set='' ac_cv_env_ZSTD_LIBS_value='' ac_cv_env_build_alias_set='' ac_cv_env_build_alias_value='' ac_cv_env_host_alias_set='' ac_cv_env_host_alias_value='' ac_cv_env_target_alias_set='' ac_cv_env_target_alias_value='' ac_cv_header_inttypes_h=yes ac_cv_header_memory_h=yes ac_cv_header_pthread_h=no ac_cv_header_stdc=no ac_cv_header_stdint_h=yes ac_cv_header_stdlib_h=no ac_cv_header_string_h=yes ac_cv_header_strings_h=yes ac_cv_header_sys_stat_h=yes ac_cv_header_sys_types_h=yes ac_cv_header_unistd_h=yes ac_cv_host=powerpc-ibm-aix7.2.5.0 ac_cv_objext=o ac_cv_path_EGREP='/usr/bin/grep -E' ac_cv_path_GREP=/usr/bin/grep ac_cv_path_LD=/usr/bin/ld ac_cv_path_PERL=/usr/bin/perl ac_cv_path_SED=/usr/bin/sed ac_cv_path_TAR=/usr/bin/tar ac_cv_prog_AWK=nawk ac_cv_prog_CPP='gcc -E' ac_cv_prog_ac_ct_AR=ar ac_cv_prog_ac_ct_CC=gcc ac_cv_prog_ac_ct_CXX=g++ ac_cv_prog_ac_ct_RANLIB=ranlib ac_cv_prog_ac_ct_STRIP=strip ac_cv_prog_ax_pthread_config=no ac_cv_prog_cc_c89=no ac_cv_prog_cc_c95=no ac_cv_prog_cc_g=yes ac_cv_prog_cxx_g=yes ac_cv_prog_gnu_ld=no ax_cv_PTHREAD_CLANG=no pgac_cv_path_flex=no pgac_cv_prog_CC_cflags__Wcast_function_type=no pgac_cv_prog_CC_cflags__Wcompound_token_split_by_macro=no pgac_cv_prog_CC_cflags__Wdeclaration_after_statement=yes pgac_cv_prog_CC_cflags__Wdeprecated_non_prototype=no pgac_cv_prog_CC_cflags__Wendif_labels=yes pgac_cv_prog_CC_cflags__Werror_unguarded_availability_new=no pgac_cv_prog_CC_cflags__Werror_vla=no pgac_cv_prog_CC_cflags__Wformat_security=yes pgac_cv_prog_CC_cflags__Wformat_truncation=no pgac_cv_prog_CC_cflags__Wimplicit_fallthrough_3=no pgac_cv_prog_CC_cflags__Wmissing_format_attribute=yes pgac_cv_prog_CC_cflags__Wstringop_truncation=no pgac_cv_prog_CC_cflags__Wunused_command_line_argument=no pgac_cv_prog_CC_cflags__fexcess_precision_standard=no pgac_cv_prog_CC_cflags__fno_strict_aliasing=yes pgac_cv_prog_CC_cflags__ftree_vectorize=yes pgac_cv_prog_CC_cflags__funroll_loops=yes pgac_cv_prog_CC_cflags__fwrapv=yes pgac_cv_prog_CXX_cxxflags__Wcast_function_type=no pgac_cv_prog_CXX_cxxflags__Wendif_labels=yes pgac_cv_prog_CXX_cxxflags__Werror_unguarded_availability_new=no pgac_cv_prog_CXX_cxxflags__Wformat_security=yes pgac_cv_prog_CXX_cxxflags__Wimplicit_fallthrough_3=no pgac_cv_prog_CXX_cxxflags__Wmissing_format_attribute=yes pgac_cv_prog_CXX_cxxflags__fexcess_precision_standard=no pgac_cv_prog_CXX_cxxflags__fno_strict_aliasing=yes pgac_cv_prog_CXX_cxxflags__fwrapv=yes ## ----------------- ## ## Output variables. ## ## ----------------- ## AR='ar' AWK='nawk' BISON='' BISONFLAGS='' BITCODE_CFLAGS=' -O2 ' BITCODE_CXXFLAGS=' -O2 ' CC='gcc' CFLAGS='-Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -O2 -D_REENTRANT -D_THREAD_SAFE' CFLAGS_ARMV8_CRC32C='' CFLAGS_SL='' CFLAGS_SSE42='' CFLAGS_UNROLL_LOOPS=' -funroll-loops' CFLAGS_VECTORIZE=' -ftree-vectorize' CLANG='' CPP='gcc -E' CPPFLAGS=' ' CXX='g++' CXXFLAGS='-Wall -Wpointer-arith -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -O2' DBTOEPUB='' DEFS='' DLLTOOL='' DLLWRAP='' DLSUFFIX='.so' DTRACE='' DTRACEFLAGS='' ECHO_C='\c' ECHO_N='' ECHO_T='' EGREP='/usr/bin/grep -E' EXEEXT='' FLEX='' FLEXFLAGS='' FOP='' GCC='yes' GCOV='' GENHTML='' GREP='/usr/bin/grep' ICU_CFLAGS='' ICU_LIBS='' INCLUDES='' INSTALL_DATA='${INSTALL} -m 644' INSTALL_PROGRAM='${INSTALL}' INSTALL_SCRIPT='${INSTALL}' LCOV='' LD='/usr/bin/ld' LDAP_LIBS_BE='' LDAP_LIBS_FE='' LDFLAGS=' ' LDFLAGS_EX='' LDFLAGS_SL='' LIBOBJS='' LIBS=' ' LLVM_BINPATH='' LLVM_CFLAGS='' LLVM_CONFIG='' LLVM_CPPFLAGS='' LLVM_CXXFLAGS='' LLVM_LIBS='' LN_S='ln -s' LTLIBOBJS='' LZ4='' LZ4_CFLAGS='' LZ4_LIBS='' MKDIR_P='\${SHELL} \${top_srcdir}/config/install-sh -c -d' MSGFMT='' MSGFMT_FLAGS='' MSGMERGE='' OBJEXT='o' PACKAGE_BUGREPORT='pgsql-bugs@lists.postgresql.org' PACKAGE_NAME='PostgreSQL' PACKAGE_STRING='PostgreSQL 15.2' PACKAGE_TARNAME='postgresql' PACKAGE_URL='https://www.postgresql.org/' PACKAGE_VERSION='15.2' PATH_SEPARATOR=':' PERL='/usr/bin/perl' PERMIT_DECLARATION_AFTER_STATEMENT='-Wno-declaration-after-statement' PG_CRC32C_OBJS='' PG_MAJORVERSION='15' PG_SYSROOT='' PG_VERSION_NUM='' PKG_CONFIG='' PKG_CONFIG_LIBDIR='' PKG_CONFIG_PATH='' PORTNAME='aix' PROVE='' PTHREAD_CC='gcc' PTHREAD_CFLAGS=' -D_REENTRANT -D_THREAD_SAFE' PTHREAD_LIBS='' PYTHON='' RANLIB='ranlib' SED='/usr/bin/sed' SHELL='/bin/sh' STRIP='strip' STRIP_SHARED_LIB=':' STRIP_STATIC_LIB=':' SUN_STUDIO_CC='no' TAR='/usr/bin/tar' TAS='' TCLSH='' TCL_CONFIG_SH='' TCL_INCLUDE_SPEC='' TCL_LIBS='' TCL_LIB_SPEC='' TCL_SHARED_BUILD='' TCL_SHLIB_LD_LIBS='' UUID_LIBS='' WANTED_LANGUAGES='' WINDRES='' XGETTEXT='' XML2_CFLAGS='' XML2_CONFIG='' XML2_LIBS='' XMLLINT='' XSLTPROC='' ZIC='' ZSTD='' ZSTD_CFLAGS='' ZSTD_LIBS='' ac_ct_CC='gcc' ac_ct_CXX='g++' autodepend='' ax_pthread_config='no' bindir='${exec_prefix}/bin' build='powerpc-ibm-aix7.2.5.0' build_alias='' build_cpu='powerpc' build_os='aix7.2.5.0' build_vendor='ibm' datadir='${datarootdir}' datarootdir='${prefix}/share' default_port='5432' docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' dvidir='${docdir}' enable_coverage='no' enable_debug='no' enable_dtrace='no' enable_nls='no' enable_rpath='yes' enable_tap_tests='no' enable_thread_safety='yes' exec_prefix='NONE' have_win32_dbghelp='' host='powerpc-ibm-aix7.2.5.0' host_alias='' host_cpu='powerpc' host_os='aix7.2.5.0' host_vendor='ibm' htmldir='${docdir}' includedir='${prefix}/include' infodir='${datarootdir}/info' install_bin='' krb_srvtab='' libdir='${exec_prefix}/lib' libexecdir='${exec_prefix}/libexec' localedir='${datarootdir}/locale' localstatedir='${prefix}/var' mandir='${datarootdir}/man' oldincludedir='/usr/include' pdfdir='${docdir}' perl_archlibexp='' perl_embed_ccflags='' perl_embed_ldflags='' perl_includespec='' perl_privlibexp='' perl_useshrplib='' prefix='NONE' program_transform_name='s,x,x,' psdir='${docdir}' python_additional_libs='' python_includespec='' python_libdir='' python_libspec='' python_majorversion='' python_version='' sbindir='${exec_prefix}/sbin' sharedstatedir='${prefix}/com' sysconfdir='${prefix}/etc' target_alias='' vpath_build='' with_gnu_ld='no' with_gssapi='no' with_icu='no' with_krb_srvnam='postgres' with_ldap='no' with_libxml='no' with_libxslt='no' with_llvm='no' with_lz4='no' with_perl='no' with_python='no' with_readline='yes' with_selinux='no' with_ssl='' with_system_tzdata='' with_systemd='no' with_tcl='no' with_uuid='no' with_zlib='yes' with_zstd='no' ## ----------- ## ## confdefs.h. ## ## ----------- ## /* confdefs.h */ #define PACKAGE_NAME "PostgreSQL" #define PACKAGE_TARNAME "postgresql" #define PACKAGE_VERSION "15.2" #define PACKAGE_STRING "PostgreSQL 15.2" #define PACKAGE_BUGREPORT "pgsql-bugs@lists.postgresql.org" #define PACKAGE_URL "https://www.postgresql.org/" #define CONFIGURE_ARGS " '--with-pthread=/path/to/pthread-config'" #define PG_MAJORVERSION "15" #define PG_MAJORVERSION_NUM 15 #define PG_MINORVERSION_NUM 2 #define PG_VERSION "15.2" #define DEF_PGPORT 5432 #define DEF_PGPORT_STR "5432" #define BLCKSZ 8192 #define RELSEG_SIZE 131072 #define XLOG_BLCKSZ 8192 #define DLSUFFIX ".so" #define ENABLE_THREAD_SAFETY 1 #define PG_KRB_SRVNAM "postgres" #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STRING_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 configure: exit 1 #