pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Compiler warnings on Debian 10
6+ messages / 2 participants
[nested] [flat]

* Compiler warnings on Debian 10
@ 2021-02-10 20:38  Daniel Westermann (DWE) <daniel.westermann@dbi-services.com>
  0 siblings, 1 reply; 6+ messages in thread

From: Daniel Westermann (DWE) @ 2021-02-10 20:38 UTC (permalink / raw)
  To: pgsql-general@lists.postgresql.org <pgsql-general@lists.postgresql.org>

HI,

I was wondering if someone already has seen these warnings on Debian 10 (PostgreSQL 13.1):

../../../../src/include/port.h:176:70: warning: 'format' attribute argument not supported: gnu_printf
      [-Wignored-attributes]
extern int      pg_snprintf(char *str, size_t count, const char *fmt,...) pg_attribute_printf(3, 4);
                                                                          ^
../../../../src/include/c.h:127:49: note: expanded from macro 'pg_attribute_printf'
#define pg_attribute_printf(f,a) __attribute__((format(PG_PRINTF_ATTRIBUTE, f, a)))
                                                ^
In file included from llvmjit_error.cpp:19:
In file included from ../../../../src/include/postgres.h:46:
In file included from ../../../../src/include/c.h:1318:
../../../../src/include/port.h:178:55: warning: 'format' attribute argument not supported: gnu_printf
      [-Wignored-attributes]
extern int      pg_sprintf(char *str, const char *fmt,...) pg_attribute_printf(2, 3);
                                                           ^
../../../../src/include/c.h:127:49: note: expanded from macro 'pg_attribute_printf'
#define pg_attribute_printf(f,a) __attribute__((format(PG_PRINTF_ATTRIBUTE, f, a)))
                                                ^
In file included from llvmjit_error.cpp:19:
In file included from ../../../../src/include/postgres.h:46:
In file included from ../../../../src/include/c.h:1318:
../../../../src/include/port.h:180:58: warning: 'format' attribute argument not supported: gnu_printf
      [-Wignored-attributes]
extern int      pg_fprintf(FILE *stream, const char *fmt,...) pg_attribute_printf(2, 3);
                                                              ^

Configure was successful:
...
configure: creating ./config.status
config.status: creating GNUmakefile
config.status: creating src/Makefile.global
config.status: creating src/include/pg_config.h
config.status: creating src/include/pg_config_ext.h
config.status: creating src/interfaces/ecpg/include/ecpg_config.h
config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s
config.status: linking src/backend/port/posix_sema.c to src/backend/port/pg_sema.c
config.status: linking src/backend/port/sysv_shmem.c to src/backend/port/pg_shmem.c
config.status: linking src/include/port/linux.h to src/include/pg_config_os.h
config.status: linking src/makefiles/Makefile.linux to src/Makefile.port


This is the official Debian AMI on AWS:
postgres@pg13:~/postgresql-13.1$ cat /etc/debian_version 
10.8

Regards
Daniel




^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* Re: Compiler warnings on Debian 10
@ 2021-02-11 17:16  Tom Lane <tgl@sss.pgh.pa.us>
  parent: Daniel Westermann (DWE) <daniel.westermann@dbi-services.com>
  0 siblings, 1 reply; 6+ messages in thread

From: Tom Lane @ 2021-02-11 17:16 UTC (permalink / raw)
  To: Daniel Westermann (DWE) <daniel.westermann@dbi-services.com>; +Cc: pgsql-general@lists.postgresql.org <pgsql-general@lists.postgresql.org>

"Daniel Westermann (DWE)" <daniel.westermann@dbi-services.com> writes:
> I was wondering if someone already has seen these warnings on Debian 10 (PostgreSQL 13.1):

> ../../../../src/include/port.h:176:70: warning: 'format' attribute argument not supported: gnu_printf
>       [-Wignored-attributes]

Huh.  What compiler are you using, exactly?  Perhaps you used a different
compiler when running configure (or are trying to re-use configure results
from some other machine)?

			regards, tom lane





^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* Re: Compiler warnings on Debian 10
@ 2021-02-11 18:57  Daniel Westermann (DWE) <daniel.westermann@dbi-services.com>
  parent: Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 1 reply; 6+ messages in thread

From: Daniel Westermann (DWE) @ 2021-02-11 18:57 UTC (permalink / raw)
  To: Tom Lane <tgl@sss.pgh.pa.us>; +Cc: pgsql-general@lists.postgresql.org <pgsql-general@lists.postgresql.org>

"Daniel Westermann (DWE)" <daniel.westermann@dbi-services.com> writes:
> I was wondering if someone already has seen these warnings on Debian 10 (PostgreSQL 13.1):

> ../../../../src/include/port.h:176:70: warning: 'format' attribute argument not supported: gnu_printf
>       [-Wignored-attributes]

>Huh.  What compiler are you using, exactly?  

Nothing special. Configure and make log attached. The same procedure works fine on my local Debian 10.7.

postgres@pg13:/home/postgres/postgresql-13.1/ [pg131] gcc --version
gcc (Debian 8.3.0-6) 8.3.0
Copyright (C) 2018 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.


>Perhaps you used a different
>compiler when running configure (or are trying to re-use configure results
>from some other machine)?

No, definitely not, that was a fresh configure/make.

Regards
Daniel=

Attachments:

  make.log (text/x-log, 792.8K) download

configure.log (text/x-log, 39.6K) download checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking which template to use... linux checking whether NLS is wanted... no checking for default port number... 5432 checking for block size... 8kB checking for segment size... 2GB checking for WAL block size... 8kB checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for gcc option to accept ISO C99... none needed checking for g++... no checking for c++... c++ checking whether we are using the GNU C++ compiler... yes checking whether c++ accepts -g... yes checking for gawk... no checking for mawk... mawk checking for LLVM_CONFIG... /usr/bin/llvm-config-7 checking for clang... /usr/bin/clang checking whether gcc supports -Wdeclaration-after-statement, for CFLAGS... yes checking whether gcc supports -Werror=vla, for CFLAGS... yes checking whether gcc supports -Wendif-labels, for CFLAGS... yes checking whether c++ supports -Wendif-labels, for CXXFLAGS... yes checking whether gcc supports -Wmissing-format-attribute, for CFLAGS... yes checking whether c++ supports -Wmissing-format-attribute, for CXXFLAGS... yes checking whether gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes checking whether c++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... no checking whether gcc supports -Wformat-security, for CFLAGS... yes checking whether c++ supports -Wformat-security, for CXXFLAGS... yes checking whether gcc supports -fno-strict-aliasing, for CFLAGS... yes checking whether c++ supports -fno-strict-aliasing, for CXXFLAGS... yes checking whether gcc supports -fwrapv, for CFLAGS... yes checking whether c++ supports -fwrapv, for CXXFLAGS... yes checking whether gcc supports -fexcess-precision=standard, for CFLAGS... yes checking whether c++ supports -fexcess-precision=standard, for CXXFLAGS... no checking whether gcc supports -funroll-loops, for CFLAGS_VECTOR... yes checking whether gcc supports -ftree-vectorize, for CFLAGS_VECTOR... yes checking whether gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no checking whether gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes checking whether gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes checking whether /usr/bin/clang supports -fno-strict-aliasing, for BITCODE_CFLAGS... yes checking whether /usr/bin/clang -xc++ supports -fno-strict-aliasing, for BITCODE_CXXFLAGS... yes checking whether /usr/bin/clang supports -fwrapv, for BITCODE_CFLAGS... yes checking whether /usr/bin/clang -xc++ supports -fwrapv, for BITCODE_CXXFLAGS... yes checking whether /usr/bin/clang supports -fexcess-precision=standard, for BITCODE_CFLAGS... no checking whether /usr/bin/clang -xc++ supports -fexcess-precision=standard, for BITCODE_CXXFLAGS... no checking whether the C compiler still works... yes checking how to run the C preprocessor... gcc -E checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking allow thread-safe client libraries... yes checking whether to build with ICU support... yes checking for icu-uc icu-i18n... yes checking whether to build with Tcl... no checking whether to build Perl modules... yes checking whether to build Python modules... yes checking whether to build with GSSAPI support... no checking whether to build with PAM support... yes checking whether to build with BSD Authentication support... no checking whether to build with LDAP support... yes checking whether to build with Bonjour support... no checking whether to build with OpenSSL support... yes checking whether to build with SELinux support... no checking whether to build with systemd support... yes checking whether to build with XML support... yes checking for libxml-2.0 >= 2.6.23... yes checking for ld used by GCC... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for ranlib... ranlib checking for strip... strip checking whether it is possible to strip libraries... yes checking for ar... ar checking for a BSD-compatible install... /usr/bin/install -c checking for tar... /usr/bin/tar checking whether ln -s works... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for bison... /usr/bin/bison configure: using bison (GNU Bison) 3.3.2 checking for flex... /usr/bin/flex configure: using flex 2.6.4 checking for perl... /usr/bin/perl configure: using perl 5.28.1 checking for Perl archlibexp... /usr/lib/x86_64-linux-gnu/perl/5.28 checking for Perl privlibexp... /usr/share/perl/5.28 checking for Perl useshrplib... true checking for CFLAGS recommended by Perl... -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fwrapv -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 checking for CFLAGS to compile embedded Perl... -DDEBIAN checking for flags to link embedded Perl... -fstack-protector-strong -L/usr/local/lib -L/usr/lib/x86_64-linux-gnu/perl/5.28/CORE -lperl -ldl -lm -lpthread -lc -lcrypt checking for python... /usr/bin/python configure: using python 2.7.16 (default, Oct 10 2019, 22:02:15) checking for Python distutils module... yes checking Python configuration directory... /usr/lib/python2.7/config-x86_64-linux-gnu checking Python include directories... -I/usr/include/python2.7 checking how to link an embedded Python application... -L/usr/lib/python2.7/config-x86_64-linux-gnu -lpython2.7 -lpthread -ldl -lutil -lm checking for a sed that does not truncate output... /usr/bin/sed checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking whether gcc is Clang... no checking whether pthreads work with -pthread... yes checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE checking whether more special flags are required for pthreads... no checking for PTHREAD_PRIO_INHERIT... yes checking pthread.h usability... yes checking pthread.h presence... yes checking for pthread.h... yes checking for strerror_r... yes checking for getpwuid_r... yes checking for gethostbyname_r... yes checking whether strerror_r returns int... no checking for main in -lm... yes checking for library containing setproctitle... no checking for library containing dlopen... -ldl checking for library containing socket... none required checking for library containing shl_load... no checking for library containing getopt_long... none required checking for library containing shm_open... -lrt checking for library containing shm_unlink... none required checking for library containing clock_gettime... none required checking for library containing fdatasync... none required checking for library containing sched_yield... none required checking for library containing gethostbyname_r... none required checking for library containing shmget... none required checking for library containing backtrace_symbols... none required checking for library containing readline... -lreadline checking for inflate in -lz... yes checking for CRYPTO_new_ex_data in -lcrypto... yes checking for SSL_new in -lssl... yes checking for X509_get_signature_nid... yes checking for OPENSSL_init_ssl... yes checking for BIO_get_data... yes checking for BIO_meth_new... yes checking for ASN1_STRING_get0_data... yes checking for CRYPTO_lock... no checking for pam_start in -lpam... yes checking for xmlSaveToBuffer in -lxml2... yes checking for xsltCleanupGlobals in -lxslt... yes checking for ldap_bind in -lldap... yes checking for ldap_simple_bind in -lldap_r... yes checking for ldap_initialize... yes checking for stdbool.h that conforms to C99... yes checking for _Bool... yes checking atomic.h usability... no checking atomic.h presence... no checking for atomic.h... no checking copyfile.h usability... no checking copyfile.h presence... no checking for copyfile.h... no checking execinfo.h usability... yes checking execinfo.h presence... yes checking for execinfo.h... yes checking getopt.h usability... yes checking getopt.h presence... yes checking for getopt.h... yes checking ifaddrs.h usability... yes checking ifaddrs.h presence... yes checking for ifaddrs.h... yes checking langinfo.h usability... yes checking langinfo.h presence... yes checking for langinfo.h... yes checking mbarrier.h usability... no checking mbarrier.h presence... no checking for mbarrier.h... no checking poll.h usability... yes checking poll.h presence... yes checking for poll.h... yes checking sys/epoll.h usability... yes checking sys/epoll.h presence... yes checking for sys/epoll.h... yes checking sys/event.h usability... no checking sys/event.h presence... no checking for sys/event.h... no checking sys/ipc.h usability... yes checking sys/ipc.h presence... yes checking for sys/ipc.h... yes checking sys/prctl.h usability... yes checking sys/prctl.h presence... yes checking for sys/prctl.h... yes checking sys/procctl.h usability... no checking sys/procctl.h presence... no checking for sys/procctl.h... no checking sys/pstat.h usability... no checking sys/pstat.h presence... no checking for sys/pstat.h... no checking sys/resource.h usability... yes checking sys/resource.h presence... yes checking for sys/resource.h... yes checking sys/select.h usability... yes checking sys/select.h presence... yes checking for sys/select.h... yes checking sys/sem.h usability... yes checking sys/sem.h presence... yes checking for sys/sem.h... yes checking sys/shm.h usability... yes checking sys/shm.h presence... yes checking for sys/shm.h... yes checking sys/sockio.h usability... no checking sys/sockio.h presence... no checking for sys/sockio.h... no checking sys/tas.h usability... no checking sys/tas.h presence... no checking for sys/tas.h... no checking sys/un.h usability... yes checking sys/un.h presence... yes checking for sys/un.h... yes checking termios.h usability... yes checking termios.h presence... yes checking for termios.h... yes checking ucred.h usability... no checking ucred.h presence... no checking for ucred.h... no checking wctype.h usability... yes checking wctype.h presence... yes checking for wctype.h... yes checking for net/if.h... yes checking for sys/ucred.h... no checking for netinet/tcp.h... yes checking readline/readline.h usability... yes checking readline/readline.h presence... yes checking for readline/readline.h... yes checking readline/history.h usability... yes checking readline/history.h presence... yes checking for readline/history.h... yes checking zlib.h usability... yes checking zlib.h presence... yes checking for zlib.h... yes checking openssl/ssl.h usability... yes checking openssl/ssl.h presence... yes checking for openssl/ssl.h... yes checking openssl/err.h usability... yes checking openssl/err.h presence... yes checking for openssl/err.h... yes checking security/pam_appl.h usability... yes checking security/pam_appl.h presence... yes checking for security/pam_appl.h... yes checking systemd/sd-daemon.h usability... yes checking systemd/sd-daemon.h presence... yes checking for systemd/sd-daemon.h... yes checking libxml/parser.h usability... yes checking libxml/parser.h presence... yes checking for libxml/parser.h... yes checking libxslt/xslt.h usability... yes checking libxslt/xslt.h presence... yes checking for libxslt/xslt.h... yes checking ldap.h usability... yes checking ldap.h presence... yes checking for ldap.h... yes checking for compatible LDAP implementation... yes checking whether byte ordering is bigendian... no checking for inline... inline checking for printf format archetype... gnu_printf checking for __func__... yes checking for _Static_assert... yes checking for typeof... typeof checking for __builtin_types_compatible_p... yes checking for __builtin_constant_p... yes checking for __builtin_unreachable... yes checking for computed goto support... yes checking for struct tm.tm_zone... yes checking for union semun... no checking for struct sockaddr_un... yes checking for struct sockaddr_storage... yes checking for struct sockaddr_storage.ss_family... yes checking for struct sockaddr_storage.__ss_family... no checking for struct sockaddr_storage.ss_len... no checking for struct sockaddr_storage.__ss_len... no checking for struct sockaddr.sa_len... no checking for struct addrinfo... yes checking for locale_t... yes checking for C/C++ restrict keyword... __restrict checking for struct cmsgcred... no checking for struct option... yes checking for z_streamp... yes checking whether assembler supports x86_64 popcntq... yes checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking size of off_t... 8 checking size of bool... 1 checking for int timezone... yes checking types of arguments for accept()... int, int, struct sockaddr *, socklen_t * checking whether gettimeofday takes only one argument... no checking for wcstombs_l declaration... no checking for backtrace_symbols... yes checking for clock_gettime... yes checking for copyfile... no checking for fdatasync... yes checking for getifaddrs... yes checking for getpeerucred... no checking for getrlimit... yes checking for kqueue... no checking for mbstowcs_l... no checking for memset_s... no checking for poll... yes checking for posix_fallocate... yes checking for ppoll... yes checking for pstat... no checking for pthread_is_threaded_np... no checking for readlink... yes checking for setproctitle... no checking for setproctitle_fast... no checking for setsid... yes checking for shm_open... yes checking for strchrnul... yes checking for strsignal... yes checking for symlink... yes checking for sync_file_range... yes checking for uselocale... yes checking for wcstombs_l... no checking for __builtin_bswap16... yes checking for __builtin_bswap32... yes checking for __builtin_bswap64... yes checking for __builtin_clz... yes checking for __builtin_ctz... yes checking for __builtin_popcount... yes checking for _LARGEFILE_SOURCE value needed for large files... no checking how gcc reports undeclared, standard C functions... error checking for posix_fadvise... yes checking whether posix_fadvise is declared... yes checking whether fdatasync is declared... yes checking whether strlcat is declared... no checking whether strlcpy is declared... no checking whether strnlen is declared... yes checking whether F_FULLFSYNC is declared... no checking whether RTLD_GLOBAL is declared... yes checking whether RTLD_NOW is declared... yes checking for struct sockaddr_in6... yes checking for PS_STRINGS... no checking for dlopen... yes checking for explicit_bzero... yes checking for fls... no checking for getopt... yes checking for getpeereid... no checking for getrusage... yes checking for inet_aton... yes checking for link... yes checking for mkdtemp... yes checking for pread... yes checking for pwrite... yes checking for random... yes checking for srandom... yes checking for strlcat... no checking for strlcpy... no checking for strnlen... yes checking for strtof... yes checking for unsetenv... yes checking for getaddrinfo... yes checking for getopt_long... yes checking for syslog... yes checking syslog.h usability... yes checking syslog.h presence... yes checking for syslog.h... yes checking for opterr... yes checking for optreset... no checking for strtoll... yes checking for strtoull... yes checking whether strtoll is declared... yes checking whether strtoull is declared... yes checking unicode/ucol.h usability... yes checking unicode/ucol.h presence... yes checking for unicode/ucol.h... yes checking whether LLVMOrcGetSymbolAddressIn is declared... yes checking whether LLVMGetHostCPUName is declared... yes checking whether LLVMGetHostCPUFeatures is declared... yes checking whether LLVMCreateGDBRegistrationListener is declared... yes checking whether LLVMCreatePerfJITEventListener is declared... yes checking for rl_completion_append_character... yes checking for rl_completion_suppress_quote... yes checking for rl_filename_quote_characters... yes checking for rl_filename_quoting_function... yes checking for rl_completion_matches... yes checking for rl_filename_completion_function... yes checking for rl_reset_screen_size... yes checking for append_history... yes checking for history_truncate_file... yes checking test program... ok checking whether long int is 64 bits... yes checking for __builtin_mul_overflow... yes checking size of void *... 8 checking size of size_t... 8 checking size of long... 8 checking alignment of short... 2 checking alignment of int... 4 checking alignment of long... 8 checking alignment of double... 8 checking for int8... no checking for uint8... no checking for int64... no checking for uint64... no checking for __int128... yes checking for __int128 alignment bug... ok checking alignment of PG_INT128_TYPE... 16 checking for builtin __sync char locking functions... yes checking for builtin __sync int32 locking functions... yes checking for builtin __sync int32 atomic operations... yes checking for builtin __sync int64 atomic operations... yes checking for builtin __atomic int32 atomic operations... yes checking for builtin __atomic int64 atomic operations... yes checking for __get_cpuid... yes checking for __cpuid... no checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=... no checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=-msse4.2... yes checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no checking which CRC-32C implementation to use... SSE 4.2 with runtime check checking for library containing sem_init... -lpthread checking which semaphore API to use... unnamed POSIX checking which random number source to use... OpenSSL checking for perl.h... yes checking for libperl... yes checking Python.h usability... yes checking Python.h presence... yes checking for Python.h... yes checking for xmllint... no checking for DocBook XML V4.5... no checking for dbtoepub... no checking for xsltproc... no checking for fop... no checking thread safety of required library functions... yes checking whether gcc supports -Wl,--as-needed... yes configure: using compiler=gcc (Debian 8.3.0-6) 8.3.0 configure: using CFLAGS=-Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wimplicit-fallthrough=3 -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -O2 configure: using CPPFLAGS= -D_GNU_SOURCE -I/usr/include/libxml2 configure: using LDFLAGS= -L/usr/lib/llvm-7/lib -Wl,--as-needed configure: using CXX=c++ configure: using CXXFLAGS=-Wall -Wpointer-arith -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -O2 configure: using CLANG=/usr/bin/clang configure: using BITCODE_CFLAGS= -fno-strict-aliasing -fwrapv -O2 configure: using BITCODE_CXXFLAGS= -fno-strict-aliasing -fwrapv -O2 configure: creating ./config.status config.status: creating GNUmakefile config.status: creating src/Makefile.global config.status: creating src/include/pg_config.h config.status: creating src/include/pg_config_ext.h config.status: creating src/interfaces/ecpg/include/ecpg_config.h config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s config.status: linking src/backend/port/posix_sema.c to src/backend/port/pg_sema.c config.status: linking src/backend/port/sysv_shmem.c to src/backend/port/pg_shmem.c config.status: linking src/include/port/linux.h to src/include/pg_config_os.h config.status: linking src/makefiles/Makefile.linux to src/Makefile.port checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking which template to use... linux checking whether NLS is wanted... no checking for default port number... 5432 checking for block size... 8kB checking for segment size... 2GB checking for WAL block size... 8kB checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for gcc option to accept ISO C99... none needed checking for g++... no checking for c++... c++ checking whether we are using the GNU C++ compiler... yes checking whether c++ accepts -g... yes checking for gawk... no checking for mawk... mawk checking for LLVM_CONFIG... /usr/bin/llvm-config-7 checking for clang... /usr/bin/clang checking whether gcc supports -Wdeclaration-after-statement, for CFLAGS... yes checking whether gcc supports -Werror=vla, for CFLAGS... yes checking whether gcc supports -Wendif-labels, for CFLAGS... yes checking whether c++ supports -Wendif-labels, for CXXFLAGS... yes checking whether gcc supports -Wmissing-format-attribute, for CFLAGS... yes checking whether c++ supports -Wmissing-format-attribute, for CXXFLAGS... yes checking whether gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes checking whether c++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... no checking whether gcc supports -Wformat-security, for CFLAGS... yes checking whether c++ supports -Wformat-security, for CXXFLAGS... yes checking whether gcc supports -fno-strict-aliasing, for CFLAGS... yes checking whether c++ supports -fno-strict-aliasing, for CXXFLAGS... yes checking whether gcc supports -fwrapv, for CFLAGS... yes checking whether c++ supports -fwrapv, for CXXFLAGS... yes checking whether gcc supports -fexcess-precision=standard, for CFLAGS... yes checking whether c++ supports -fexcess-precision=standard, for CXXFLAGS... no checking whether gcc supports -funroll-loops, for CFLAGS_VECTOR... yes checking whether gcc supports -ftree-vectorize, for CFLAGS_VECTOR... yes checking whether gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no checking whether gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes checking whether gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes checking whether /usr/bin/clang supports -fno-strict-aliasing, for BITCODE_CFLAGS... yes checking whether /usr/bin/clang -xc++ supports -fno-strict-aliasing, for BITCODE_CXXFLAGS... yes checking whether /usr/bin/clang supports -fwrapv, for BITCODE_CFLAGS... yes checking whether /usr/bin/clang -xc++ supports -fwrapv, for BITCODE_CXXFLAGS... yes checking whether /usr/bin/clang supports -fexcess-precision=standard, for BITCODE_CFLAGS... no checking whether /usr/bin/clang -xc++ supports -fexcess-precision=standard, for BITCODE_CXXFLAGS... no checking whether the C compiler still works... yes checking how to run the C preprocessor... gcc -E checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking allow thread-safe client libraries... yes checking whether to build with ICU support... yes checking for icu-uc icu-i18n... yes checking whether to build with Tcl... no checking whether to build Perl modules... yes checking whether to build Python modules... yes checking whether to build with GSSAPI support... no checking whether to build with PAM support... yes checking whether to build with BSD Authentication support... no checking whether to build with LDAP support... yes checking whether to build with Bonjour support... no checking whether to build with OpenSSL support... yes checking whether to build with SELinux support... no checking whether to build with systemd support... yes checking whether to build with XML support... yes checking for libxml-2.0 >= 2.6.23... yes checking for ld used by GCC... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for ranlib... ranlib checking for strip... strip checking whether it is possible to strip libraries... yes checking for ar... ar checking for a BSD-compatible install... /usr/bin/install -c checking for tar... /usr/bin/tar checking whether ln -s works... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for bison... /usr/bin/bison configure: using bison (GNU Bison) 3.3.2 checking for flex... /usr/bin/flex configure: using flex 2.6.4 checking for perl... /usr/bin/perl configure: using perl 5.28.1 checking for Perl archlibexp... /usr/lib/x86_64-linux-gnu/perl/5.28 checking for Perl privlibexp... /usr/share/perl/5.28 checking for Perl useshrplib... true checking for CFLAGS recommended by Perl... -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fwrapv -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 checking for CFLAGS to compile embedded Perl... -DDEBIAN checking for flags to link embedded Perl... -fstack-protector-strong -L/usr/local/lib -L/usr/lib/x86_64-linux-gnu/perl/5.28/CORE -lperl -ldl -lm -lpthread -lc -lcrypt checking for python... /usr/bin/python configure: using python 2.7.16 (default, Oct 10 2019, 22:02:15) checking for Python distutils module... yes checking Python configuration directory... /usr/lib/python2.7/config-x86_64-linux-gnu checking Python include directories... -I/usr/include/python2.7 checking how to link an embedded Python application... -L/usr/lib/python2.7/config-x86_64-linux-gnu -lpython2.7 -lpthread -ldl -lutil -lm checking for a sed that does not truncate output... /usr/bin/sed checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking whether gcc is Clang... no checking whether pthreads work with -pthread... yes checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE checking whether more special flags are required for pthreads... no checking for PTHREAD_PRIO_INHERIT... yes checking pthread.h usability... yes checking pthread.h presence... yes checking for pthread.h... yes checking for strerror_r... yes checking for getpwuid_r... yes checking for gethostbyname_r... yes checking whether strerror_r returns int... no checking for main in -lm... yes checking for library containing setproctitle... no checking for library containing dlopen... -ldl checking for library containing socket... none required checking for library containing shl_load... no checking for library containing getopt_long... none required checking for library containing shm_open... -lrt checking for library containing shm_unlink... none required checking for library containing clock_gettime... none required checking for library containing fdatasync... none required checking for library containing sched_yield... none required checking for library containing gethostbyname_r... none required checking for library containing shmget... none required checking for library containing backtrace_symbols... none required checking for library containing readline... -lreadline checking for inflate in -lz... yes checking for CRYPTO_new_ex_data in -lcrypto... yes checking for SSL_new in -lssl... yes checking for X509_get_signature_nid... yes checking for OPENSSL_init_ssl... yes checking for BIO_get_data... yes checking for BIO_meth_new... yes checking for ASN1_STRING_get0_data... yes checking for CRYPTO_lock... no checking for pam_start in -lpam... yes checking for xmlSaveToBuffer in -lxml2... yes checking for xsltCleanupGlobals in -lxslt... yes checking for ldap_bind in -lldap... yes checking for ldap_simple_bind in -lldap_r... yes checking for ldap_initialize... yes checking for stdbool.h that conforms to C99... yes checking for _Bool... yes checking atomic.h usability... no checking atomic.h presence... no checking for atomic.h... no checking copyfile.h usability... no checking copyfile.h presence... no checking for copyfile.h... no checking execinfo.h usability... yes checking execinfo.h presence... yes checking for execinfo.h... yes checking getopt.h usability... yes checking getopt.h presence... yes checking for getopt.h... yes checking ifaddrs.h usability... yes checking ifaddrs.h presence... yes checking for ifaddrs.h... yes checking langinfo.h usability... yes checking langinfo.h presence... yes checking for langinfo.h... yes checking mbarrier.h usability... no checking mbarrier.h presence... no checking for mbarrier.h... no checking poll.h usability... yes checking poll.h presence... yes checking for poll.h... yes checking sys/epoll.h usability... yes checking sys/epoll.h presence... yes checking for sys/epoll.h... yes checking sys/event.h usability... no checking sys/event.h presence... no checking for sys/event.h... no checking sys/ipc.h usability... yes checking sys/ipc.h presence... yes checking for sys/ipc.h... yes checking sys/prctl.h usability... yes checking sys/prctl.h presence... yes checking for sys/prctl.h... yes checking sys/procctl.h usability... no checking sys/procctl.h presence... no checking for sys/procctl.h... no checking sys/pstat.h usability... no checking sys/pstat.h presence... no checking for sys/pstat.h... no checking sys/resource.h usability... yes checking sys/resource.h presence... yes checking for sys/resource.h... yes checking sys/select.h usability... yes checking sys/select.h presence... yes checking for sys/select.h... yes checking sys/sem.h usability... yes checking sys/sem.h presence... yes checking for sys/sem.h... yes checking sys/shm.h usability... yes checking sys/shm.h presence... yes checking for sys/shm.h... yes checking sys/sockio.h usability... no checking sys/sockio.h presence... no checking for sys/sockio.h... no checking sys/tas.h usability... no checking sys/tas.h presence... no checking for sys/tas.h... no checking sys/un.h usability... yes checking sys/un.h presence... yes checking for sys/un.h... yes checking termios.h usability... yes checking termios.h presence... yes checking for termios.h... yes checking ucred.h usability... no checking ucred.h presence... no checking for ucred.h... no checking wctype.h usability... yes checking wctype.h presence... yes checking for wctype.h... yes checking for net/if.h... yes checking for sys/ucred.h... no checking for netinet/tcp.h... yes checking readline/readline.h usability... yes checking readline/readline.h presence... yes checking for readline/readline.h... yes checking readline/history.h usability... yes checking readline/history.h presence... yes checking for readline/history.h... yes checking zlib.h usability... yes checking zlib.h presence... yes checking for zlib.h... yes checking openssl/ssl.h usability... yes checking openssl/ssl.h presence... yes checking for openssl/ssl.h... yes checking openssl/err.h usability... yes checking openssl/err.h presence... yes checking for openssl/err.h... yes checking security/pam_appl.h usability... yes checking security/pam_appl.h presence... yes checking for security/pam_appl.h... yes checking systemd/sd-daemon.h usability... yes checking systemd/sd-daemon.h presence... yes checking for systemd/sd-daemon.h... yes checking libxml/parser.h usability... yes checking libxml/parser.h presence... yes checking for libxml/parser.h... yes checking libxslt/xslt.h usability... yes checking libxslt/xslt.h presence... yes checking for libxslt/xslt.h... yes checking ldap.h usability... yes checking ldap.h presence... yes checking for ldap.h... yes checking for compatible LDAP implementation... yes checking whether byte ordering is bigendian... no checking for inline... inline checking for printf format archetype... gnu_printf checking for __func__... yes checking for _Static_assert... yes checking for typeof... typeof checking for __builtin_types_compatible_p... yes checking for __builtin_constant_p... yes checking for __builtin_unreachable... yes checking for computed goto support... yes checking for struct tm.tm_zone... yes checking for union semun... no checking for struct sockaddr_un... yes checking for struct sockaddr_storage... yes checking for struct sockaddr_storage.ss_family... yes checking for struct sockaddr_storage.__ss_family... no checking for struct sockaddr_storage.ss_len... no checking for struct sockaddr_storage.__ss_len... no checking for struct sockaddr.sa_len... no checking for struct addrinfo... yes checking for locale_t... yes checking for C/C++ restrict keyword... __restrict checking for struct cmsgcred... no checking for struct option... yes checking for z_streamp... yes checking whether assembler supports x86_64 popcntq... yes checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking size of off_t... 8 checking size of bool... 1 checking for int timezone... yes checking types of arguments for accept()... int, int, struct sockaddr *, socklen_t * checking whether gettimeofday takes only one argument... no checking for wcstombs_l declaration... no checking for backtrace_symbols... yes checking for clock_gettime... yes checking for copyfile... no checking for fdatasync... yes checking for getifaddrs... yes checking for getpeerucred... no checking for getrlimit... yes checking for kqueue... no checking for mbstowcs_l... no checking for memset_s... no checking for poll... yes checking for posix_fallocate... yes checking for ppoll... yes checking for pstat... no checking for pthread_is_threaded_np... no checking for readlink... yes checking for setproctitle... no checking for setproctitle_fast... no checking for setsid... yes checking for shm_open... yes checking for strchrnul... yes checking for strsignal... yes checking for symlink... yes checking for sync_file_range... yes checking for uselocale... yes checking for wcstombs_l... no checking for __builtin_bswap16... yes checking for __builtin_bswap32... yes checking for __builtin_bswap64... yes checking for __builtin_clz... yes checking for __builtin_ctz... yes checking for __builtin_popcount... yes checking for _LARGEFILE_SOURCE value needed for large files... no checking how gcc reports undeclared, standard C functions... error checking for posix_fadvise... yes checking whether posix_fadvise is declared... yes checking whether fdatasync is declared... yes checking whether strlcat is declared... no checking whether strlcpy is declared... no checking whether strnlen is declared... yes checking whether F_FULLFSYNC is declared... no checking whether RTLD_GLOBAL is declared... yes checking whether RTLD_NOW is declared... yes checking for struct sockaddr_in6... yes checking for PS_STRINGS... no checking for dlopen... yes checking for explicit_bzero... yes checking for fls... no checking for getopt... yes checking for getpeereid... no checking for getrusage... yes checking for inet_aton... yes checking for link... yes checking for mkdtemp... yes checking for pread... yes checking for pwrite... yes checking for random... yes checking for srandom... yes checking for strlcat... no checking for strlcpy... no checking for strnlen... yes checking for strtof... yes checking for unsetenv... yes checking for getaddrinfo... yes checking for getopt_long... yes checking for syslog... yes checking syslog.h usability... yes checking syslog.h presence... yes checking for syslog.h... yes checking for opterr... yes checking for optreset... no checking for strtoll... yes checking for strtoull... yes checking whether strtoll is declared... yes checking whether strtoull is declared... yes checking unicode/ucol.h usability... yes checking unicode/ucol.h presence... yes checking for unicode/ucol.h... yes checking whether LLVMOrcGetSymbolAddressIn is declared... yes checking whether LLVMGetHostCPUName is declared... yes checking whether LLVMGetHostCPUFeatures is declared... yes checking whether LLVMCreateGDBRegistrationListener is declared... yes checking whether LLVMCreatePerfJITEventListener is declared... yes checking for rl_completion_append_character... yes checking for rl_completion_suppress_quote... yes checking for rl_filename_quote_characters... yes checking for rl_filename_quoting_function... yes checking for rl_completion_matches... yes checking for rl_filename_completion_function... yes checking for rl_reset_screen_size... yes checking for append_history... yes checking for history_truncate_file... yes checking test program... ok checking whether long int is 64 bits... yes checking for __builtin_mul_overflow... yes checking size of void *... 8 checking size of size_t... 8 checking size of long... 8 checking alignment of short... 2 checking alignment of int... 4 checking alignment of long... 8 checking alignment of double... 8 checking for int8... no checking for uint8... no checking for int64... no checking for uint64... no checking for __int128... yes checking for __int128 alignment bug... ok checking alignment of PG_INT128_TYPE... 16 checking for builtin __sync char locking functions... yes checking for builtin __sync int32 locking functions... yes checking for builtin __sync int32 atomic operations... yes checking for builtin __sync int64 atomic operations... yes checking for builtin __atomic int32 atomic operations... yes checking for builtin __atomic int64 atomic operations... yes checking for __get_cpuid... yes checking for __cpuid... no checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=... no checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=-msse4.2... yes checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no checking which CRC-32C implementation to use... SSE 4.2 with runtime check checking for library containing sem_init... -lpthread checking which semaphore API to use... unnamed POSIX checking which random number source to use... OpenSSL checking for perl.h... yes checking for libperl... yes checking Python.h usability... yes checking Python.h presence... yes checking for Python.h... yes checking for xmllint... no checking for DocBook XML V4.5... no checking for dbtoepub... no checking for xsltproc... no checking for fop... no checking thread safety of required library functions... yes checking whether gcc supports -Wl,--as-needed... yes configure: using compiler=gcc (Debian 8.3.0-6) 8.3.0 configure: using CFLAGS=-Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wimplicit-fallthrough=3 -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -O2 configure: using CPPFLAGS= -D_GNU_SOURCE -I/usr/include/libxml2 configure: using LDFLAGS= -L/usr/lib/llvm-7/lib -Wl,--as-needed configure: using CXX=c++ configure: using CXXFLAGS=-Wall -Wpointer-arith -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -O2 configure: using CLANG=/usr/bin/clang configure: using BITCODE_CFLAGS= -fno-strict-aliasing -fwrapv -O2 configure: using BITCODE_CXXFLAGS= -fno-strict-aliasing -fwrapv -O2 configure: creating ./config.status config.status: creating GNUmakefile config.status: creating src/Makefile.global config.status: creating src/include/pg_config.h config.status: creating src/include/pg_config_ext.h config.status: creating src/interfaces/ecpg/include/ecpg_config.h config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s config.status: linking src/backend/port/posix_sema.c to src/backend/port/pg_sema.c config.status: linking src/backend/port/sysv_shmem.c to src/backend/port/pg_shmem.c config.status: linking src/include/port/linux.h to src/include/pg_config_os.h config.status: linking src/makefiles/Makefile.linux to src/Makefile.port
make_stdout.log (text/x-log, 38.6K) download postgres@pg13:/home/postgres/postgresql-13.1/ [pg131] make -j2 all > make.log In file included from llvmjit_error.cpp:19: In file included from ../../../../src/include/postgres.h:46: In file included from ../../../../src/include/c.h:1318: ../../../../src/include/port.h:176:70: warning: 'format' attribute argument not supported: gnu_printf [-Wignored-attributes] extern int pg_snprintf(char *str, size_t count, const char *fmt,...) pg_attribute_printf(3, 4); ^ ../../../../src/include/c.h:127:49: note: expanded from macro 'pg_attribute_printf' #define pg_attribute_printf(f,a) __attribute__((format(PG_PRINTF_ATTRIBUTE, f, a))) ^ In file included from llvmjit_error.cpp:19: In file included from ../../../../src/include/postgres.h:46: In file included from ../../../../src/include/c.h:1318: ../../../../src/include/port.h:178:55: warning: 'format' attribute argument not supported: gnu_printf [-Wignored-attributes] extern int pg_sprintf(char *str, const char *fmt,...) pg_attribute_printf(2, 3); ^ ../../../../src/include/c.h:127:49: note: expanded from macro 'pg_attribute_printf' #define pg_attribute_printf(f,a) __attribute__((format(PG_PRINTF_ATTRIBUTE, f, a))) ^ In file included from llvmjit_error.cpp:19: In file included from ../../../../src/include/postgres.h:46: In file included from ../../../../src/include/c.h:1318: ../../../../src/include/port.h:180:58: warning: 'format' attribute argument not supported: gnu_printf [-Wignored-attributes] extern int pg_fprintf(FILE *stream, const char *fmt,...) pg_attribute_printf(2, 3); ^ ../../../../src/include/c.h:127:49: note: expanded from macro 'pg_attribute_printf' #define pg_attribute_printf(f,a) __attribute__((format(PG_PRINTF_ATTRIBUTE, f, a))) ^ In file included from llvmjit_error.cpp:19: In file included from ../../../../src/include/postgres.h:46: In file included from ../../../../src/include/c.h:1318: ../../../../src/include/port.h:182:43: warning: 'format' attribute argument not supported: gnu_printf [-Wignored-attributes] extern int pg_printf(const char *fmt,...) pg_attribute_printf(1, 2); ^ ../../../../src/include/c.h:127:49: note: expanded from macro 'pg_attribute_printf' #define pg_attribute_printf(f,a) __attribute__((format(PG_PRINTF_ATTRIBUTE, f, a))) ^ In file included from llvmjit_error.cpp:19: In file included from ../../../../src/include/postgres.h:47: ../../../../src/include/utils/elog.h:157:40: warning: 'format' attribute argument not supported: gnu_printf [-Wignored-attributes] extern int errmsg(const char *fmt,...) pg_attribute_printf(1, 2); ^ ../../../../src/include/c.h:127:49: note: expanded from macro 'pg_attribute_printf' #define pg_attribute_printf(f,a) __attribute__((format(PG_PRINTF_ATTRIBUTE, f, a))) ^ In file included from llvmjit_error.cpp:19: In file included from ../../../../src/include/postgres.h:47: ../../../../src/include/utils/elog.h:158:49: warning: 'format' attribute argument not supported: gnu_printf [-Wignored-attributes] extern int errmsg_internal(const char *fmt,...) pg_attribute_printf(1, 2); ^ ../../../../src/include/c.h:127:49: note: expanded from macro 'pg_attribute_printf' #define pg_attribute_printf(f,a) __attribute__((format(PG_PRINTF_ATTRIBUTE, f, a))) ^ In file included from llvmjit_error.cpp:19: In file included from ../../../../src/include/postgres.h:47: ../../../../src/include/utils/elog.h:161:56: warning: 'format' attribute argument not supported: gnu_printf [-Wignored-attributes] unsigned long n,...) pg_attribute_printf(1, 4) pg_attribute_printf(2, 4); ^ ../../../../src/include/c.h:127:49: note: expanded from macro 'pg_attribute_printf' #define pg_attribute_printf(f,a) __attribute__((format(PG_PRINTF_ATTRIBUTE, f, a))) ^ In file included from llvmjit_error.cpp:19: In file included from ../../../../src/include/postgres.h:47: ../../../../src/include/utils/elog.h:161:30: warning: 'format' attribute argument not supported: gnu_printf [-Wignored-attributes] unsigned long n,...) pg_attribute_printf(1, 4) pg_attribute_printf(2, 4); ^ ../../../../src/include/c.h:127:49: note: expanded from macro 'pg_attribute_printf' #define pg_attribute_printf(f,a) __attribute__((format(PG_PRINTF_ATTRIBUTE, f, a))) ^ In file included from llvmjit_error.cpp:19: In file included from ../../../../src/include/postgres.h:47: ../../../../src/include/utils/elog.h:163:43: warning: 'format' attribute argument not supported: gnu_printf [-Wignored-attributes] extern int errdetail(const char *fmt,...) pg_attribute_printf(1, 2); ^ ../../../../src/include/c.h:127:49: note: expanded from macro 'pg_attribute_printf' #define pg_attribute_printf(f,a) __attribute__((format(PG_PRINTF_ATTRIBUTE, f, a))) ^ In file included from llvmjit_error.cpp:19: In file included from ../../../../src/include/postgres.h:47: ../../../../src/include/utils/elog.h:164:52: warning: 'format' attribute argument not supported: gnu_printf [-Wignored-attributes] extern int errdetail_internal(const char *fmt,...) pg_attribute_printf(1, 2); ^ ../../../../src/include/c.h:127:49: note: expanded from macro 'pg_attribute_printf' #define pg_attribute_printf(f,a) __attribute__((format(PG_PRINTF_ATTRIBUTE, f, a))) ^ In file included from llvmjit_error.cpp:19: In file included from ../../../../src/include/postgres.h:47: ../../../../src/include/utils/elog.h:166:47: warning: 'format' attribute argument not supported: gnu_printf [-Wignored-attributes] extern int errdetail_log(const char *fmt,...) pg_attribute_printf(1, 2); ^ ../../../../src/include/c.h:127:49: note: expanded from macro 'pg_attribute_printf' #define pg_attribute_printf(f,a) __attribute__((format(PG_PRINTF_ATTRIBUTE, f, a))) ^ In file included from llvmjit_error.cpp:19: In file included from ../../../../src/include/postgres.h:47: ../../../../src/include/utils/elog.h:170:57: warning: 'format' attribute argument not supported: gnu_printf [-Wignored-attributes] unsigned long n,...) pg_attribute_printf(1, 4) pg_attribute_... ^ ../../../../src/include/c.h:127:49: note: expanded from macro 'pg_attribute_printf' #define pg_attribute_printf(f,a) __attribute__((format(PG_PRINTF_ATTRIBUTE, f, a))) ^ In file included from llvmjit_error.cpp:19: In file included from ../../../../src/include/postgres.h:47: ../../../../src/include/utils/elog.h:170:31: warning: 'format' attribute argument not supported: gnu_printf [-Wignored-attributes] unsigned long n,...) pg_attribute_printf(1, 4) pg_attribute_... ^ ../../../../src/include/c.h:127:49: note: expanded from macro 'pg_attribute_printf' #define pg_attribute_printf(f,a) __attribute__((format(PG_PRINTF_ATTRIBUTE, f, a))) ^ In file included from llvmjit_error.cpp:19: In file included from ../../../../src/include/postgres.h:47: ../../../../src/include/utils/elog.h:173:56: warning: 'format' attribute argument not supported: gnu_printf [-Wignored-attributes] unsigned long n,...) pg_attribute_printf(1, 4) pg_attribute_printf(2, 4); ^ ../../../../src/include/c.h:127:49: note: expanded from macro 'pg_attribute_printf' #define pg_attribute_printf(f,a) __attribute__((format(PG_PRINTF_ATTRIBUTE, f, a))) ^ In file included from llvmjit_error.cpp:19: In file included from ../../../../src/include/postgres.h:47: ../../../../src/include/utils/elog.h:173:30: warning: 'format' attribute argument not supported: gnu_printf [-Wignored-attributes] unsigned long n,...) pg_attribute_printf(1, 4) pg_attribute_printf(2, 4); ^ ../../../../src/include/c.h:127:49: note: expanded from macro 'pg_attribute_printf' #define pg_attribute_printf(f,a) __attribute__((format(PG_PRINTF_ATTRIBUTE, f, a))) ^ In file included from llvmjit_error.cpp:19: In file included from ../../../../src/include/postgres.h:47: ../../../../src/include/utils/elog.h:175:41: warning: 'format' attribute argument not supported: gnu_printf [-Wignored-attributes] extern int errhint(const char *fmt,...) pg_attribute_printf(1, 2); ^ ../../../../src/include/c.h:127:49: note: expanded from macro 'pg_attribute_printf' #define pg_attribute_printf(f,a) __attribute__((format(PG_PRINTF_ATTRIBUTE, f, a))) ^ In file included from llvmjit_error.cpp:19: In file included from ../../../../src/include/postgres.h:47: ../../../../src/include/utils/elog.h:189:48: warning: 'format' attribute argument not supported: gnu_printf [-Wignored-attributes] extern int errcontext_msg(const char *fmt,...) pg_attribute_printf(1, 2); ^ ../../../../src/include/c.h:127:49: note: expanded from macro 'pg_attribute_printf' #define pg_attribute_printf(f,a) __attribute__((format(PG_PRINTF_ATTRIBUTE, f, a))) ^ In file included from llvmjit_error.cpp:19: In file included from ../../../../src/include/postgres.h:47: ../../../../src/include/utils/elog.h:221:54: warning: 'format' attribute argument not supported: gnu_printf [-Wignored-attributes] extern char *format_elog_string(const char *fmt,...) pg_attribute_printf(1, 2); ^ ../../../../src/include/c.h:127:49: note: expanded from macro 'pg_attribute_printf' #define pg_attribute_printf(f,a) __attribute__((format(PG_PRINTF_ATTRIBUTE, f, a))) ^ In file included from llvmjit_error.cpp:19: In file included from ../../../../src/include/postgres.h:47: ../../../../src/include/utils/elog.h:437:47: warning: 'format' attribute argument not supported: gnu_printf [-Wignored-attributes] extern void write_stderr(const char *fmt,...) pg_attribute_printf(1, 2); ^ ../../../../src/include/c.h:127:49: note: expanded from macro 'pg_attribute_printf' #define pg_attribute_printf(f,a) __attribute__((format(PG_PRINTF_ATTRIBUTE, f, a))) ^ In file included from llvmjit_error.cpp:19: In file included from ../../../../src/include/postgres.h:48: ../../../../src/include/utils/palloc.h:133:44: warning: 'format' attribute argument not supported: gnu_printf [-Wignored-attributes] extern char *psprintf(const char *fmt,...) pg_attribute_printf(1, 2); ^ ../../../../src/include/c.h:127:49: note: expanded from macro 'pg_attribute_printf' #define pg_attribute_printf(f,a) __attribute__((format(PG_PRINTF_ATTRIBUTE, f, a))) ^ In file included from llvmjit_error.cpp:19: In file included from ../../../../src/include/postgres.h:48: ../../../../src/include/utils/palloc.h:134:80: warning: 'format' attribute argument not supported: gnu_printf [-Wignored-attributes] extern size_t pvsnprintf(char *buf, size_t len, const char *fmt, va_list args) pg_attribute_printf(3, 0); ^ ../../../../src/include/c.h:127:49: note: expanded from macro 'pg_attribute_printf' #define pg_attribute_printf(f,a) __attribute__((format(PG_PRINTF_ATTRIBUTE, f, a))) ^ In file included from llvmjit_inline.cpp:24: In file included from ../../../../src/include/postgres.h:46: In file included from ../../../../src/include/c.h:1318: ../../../../src/include/port.h:176:70: warning: 'format' attribute argument not supported: gnu_printf [-Wignored-attributes] extern int pg_snprintf(char *str, size_t count, const char *fmt,...) pg_attribute_printf(3, 4); ^ ../../../../src/include/c.h:127:49: note: expanded from macro 'pg_attribute_printf' #define pg_attribute_printf(f,a) __attribute__((format(PG_PRINTF_ATTRIBUTE, f, a))) ^ In file included from llvmjit_inline.cpp:24: In file included from ../../../../src/include/postgres.h:46: In file included from ../../../../src/include/c.h:1318: ../../../../src/include/port.h:178:55: warning: 'format' attribute argument not supported: gnu_printf [-Wignored-attributes] extern int pg_sprintf(char *str, const char *fmt,...) pg_attribute_printf(2, 3); ^ ../../../../src/include/c.h:127:49: note: expanded from macro 'pg_attribute_printf' #define pg_attribute_printf(f,a) __attribute__((format(PG_PRINTF_ATTRIBUTE, f, a))) ^ In file included from llvmjit_inline.cpp:24: In file included from ../../../../src/include/postgres.h:46: In file included from ../../../../src/include/c.h:1318: ../../../../src/include/port.h:180:58: warning: 'format' attribute argument not supported: gnu_printf [-Wignored-attributes] extern int pg_fprintf(FILE *stream, const char *fmt,...) pg_attribute_printf(2, 3); ^ ../../../../src/include/c.h:127:49: note: expanded from macro 'pg_attribute_printf' #define pg_attribute_printf(f,a) __attribute__((format(PG_PRINTF_ATTRIBUTE, f, a))) ^ In file included from llvmjit_inline.cpp:24: In file included from ../../../../src/include/postgres.h:46: In file included from ../../../../src/include/c.h:1318: ../../../../src/include/port.h:182:43: warning: 'format' attribute argument not supported: gnu_printf [-Wignored-attributes] extern int pg_printf(const char *fmt,...) pg_attribute_printf(1, 2); ^ ../../../../src/include/c.h:127:49: note: expanded from macro 'pg_attribute_printf' #define pg_attribute_printf(f,a) __attribute__((format(PG_PRINTF_ATTRIBUTE, f, a))) ^ In file included from llvmjit_inline.cpp:24: In file included from ../../../../src/include/postgres.h:47: ../../../../src/include/utils/elog.h:157:40: warning: 'format' attribute argument not supported: gnu_printf [-Wignored-attributes] extern int errmsg(const char *fmt,...) pg_attribute_printf(1, 2); ^ ../../../../src/include/c.h:127:49: note: expanded from macro 'pg_attribute_printf' #define pg_attribute_printf(f,a) __attribute__((format(PG_PRINTF_ATTRIBUTE, f, a))) ^ In file included from llvmjit_inline.cpp:24: In file included from ../../../../src/include/postgres.h:47: ../../../../src/include/utils/elog.h:158:49: warning: 'format' attribute argument not supported: gnu_printf [-Wignored-attributes] extern int errmsg_internal(const char *fmt,...) pg_attribute_printf(1, 2); ^ ../../../../src/include/c.h:127:49: note: expanded from macro 'pg_attribute_printf' #define pg_attribute_printf(f,a) __attribute__((format(PG_PRINTF_ATTRIBUTE, f, a))) ^ In file included from llvmjit_inline.cpp:24: In file included from ../../../../src/include/postgres.h:47: ../../../../src/include/utils/elog.h:161:56: warning: 'format' attribute argument not supported: gnu_printf [-Wignored-attributes] unsigned long n,...) pg_attribute_printf(1, 4) pg_attribute_printf(2, 4); ^ ../../../../src/include/c.h:127:49: note: expanded from macro 'pg_attribute_printf' #define pg_attribute_printf(f,a) __attribute__((format(PG_PRINTF_ATTRIBUTE, f, a))) ^ In file included from llvmjit_inline.cpp:24: In file included from ../../../../src/include/postgres.h:47: ../../../../src/include/utils/elog.h:161:30: warning: 'format' attribute argument not supported: gnu_printf [-Wignored-attributes] unsigned long n,...) pg_attribute_printf(1, 4) pg_attribute_printf(2, 4); ^ ../../../../src/include/c.h:127:49: note: expanded from macro 'pg_attribute_printf' #define pg_attribute_printf(f,a) __attribute__((format(PG_PRINTF_ATTRIBUTE, f, a))) ^ In file included from llvmjit_inline.cpp:24: In file included from ../../../../src/include/postgres.h:47: ../../../../src/include/utils/elog.h:163:43: warning: 'format' attribute argument not supported: gnu_printf [-Wignored-attributes] extern int errdetail(const char *fmt,...) pg_attribute_printf(1, 2); ^ ../../../../src/include/c.h:127:49: note: expanded from macro 'pg_attribute_printf' #define pg_attribute_printf(f,a) __attribute__((format(PG_PRINTF_ATTRIBUTE, f, a))) ^ In file included from llvmjit_inline.cpp:24: In file included from ../../../../src/include/postgres.h:47: ../../../../src/include/utils/elog.h:164:52: warning: 'format' attribute argument not supported: gnu_printf [-Wignored-attributes] extern int errdetail_internal(const char *fmt,...) pg_attribute_printf(1, 2); ^ ../../../../src/include/c.h:127:49: note: expanded from macro 'pg_attribute_printf' #define pg_attribute_printf(f,a) __attribute__((format(PG_PRINTF_ATTRIBUTE, f, a))) ^ In file included from llvmjit_inline.cpp:24: In file included from ../../../../src/include/postgres.h:47: ../../../../src/include/utils/elog.h:166:47: warning: 'format' attribute argument not supported: gnu_printf [-Wignored-attributes] extern int errdetail_log(const char *fmt,...) pg_attribute_printf(1, 2); ^ ../../../../src/include/c.h:127:49: note: expanded from macro 'pg_attribute_printf' #define pg_attribute_printf(f,a) __attribute__((format(PG_PRINTF_ATTRIBUTE, f, a))) ^ In file included from llvmjit_inline.cpp:24: In file included from ../../../../src/include/postgres.h:47: ../../../../src/include/utils/elog.h:170:57: warning: 'format' attribute argument not supported: gnu_printf [-Wignored-attributes] unsigned long n,...) pg_attribute_printf(1, 4) pg_attribute_... ^ ../../../../src/include/c.h:127:49: note: expanded from macro 'pg_attribute_printf' #define pg_attribute_printf(f,a) __attribute__((format(PG_PRINTF_ATTRIBUTE, f, a))) ^ In file included from llvmjit_inline.cpp:24: In file included from ../../../../src/include/postgres.h:47: ../../../../src/include/utils/elog.h:170:31: warning: 'format' attribute argument not supported: gnu_printf [-Wignored-attributes] unsigned long n,...) pg_attribute_printf(1, 4) pg_attribute_... ^ ../../../../src/include/c.h:127:49: note: expanded from macro 'pg_attribute_printf' #define pg_attribute_printf(f,a) __attribute__((format(PG_PRINTF_ATTRIBUTE, f, a))) ^ In file included from llvmjit_inline.cpp:24: In file included from ../../../../src/include/postgres.h:47: ../../../../src/include/utils/elog.h:173:56: warning: 'format' attribute argument not supported: gnu_printf [-Wignored-attributes] unsigned long n,...) pg_attribute_printf(1, 4) pg_attribute_printf(2, 4); ^ ../../../../src/include/c.h:127:49: note: expanded from macro 'pg_attribute_printf' #define pg_attribute_printf(f,a) __attribute__((format(PG_PRINTF_ATTRIBUTE, f, a))) ^ In file included from llvmjit_inline.cpp:24: In file included from ../../../../src/include/postgres.h:47: ../../../../src/include/utils/elog.h:173:30: warning: 'format' attribute argument not supported: gnu_printf [-Wignored-attributes] unsigned long n,...) pg_attribute_printf(1, 4) pg_attribute_printf(2, 4); ^ ../../../../src/include/c.h:127:49: note: expanded from macro 'pg_attribute_printf' #define pg_attribute_printf(f,a) __attribute__((format(PG_PRINTF_ATTRIBUTE, f, a))) ^ In file included from llvmjit_inline.cpp:24: In file included from ../../../../src/include/postgres.h:47: ../../../../src/include/utils/elog.h:175:41: warning: 'format' attribute argument not supported: gnu_printf [-Wignored-attributes] extern int errhint(const char *fmt,...) pg_attribute_printf(1, 2); ^ ../../../../src/include/c.h:127:49: note: expanded from macro 'pg_attribute_printf' #define pg_attribute_printf(f,a) __attribute__((format(PG_PRINTF_ATTRIBUTE, f, a))) ^ In file included from llvmjit_inline.cpp:24: In file included from ../../../../src/include/postgres.h:47: ../../../../src/include/utils/elog.h:189:48: warning: 'format' attribute argument not supported: gnu_printf [-Wignored-attributes] extern int errcontext_msg(const char *fmt,...) pg_attribute_printf(1, 2); ^ ../../../../src/include/c.h:127:49: note: expanded from macro 'pg_attribute_printf' #define pg_attribute_printf(f,a) __attribute__((format(PG_PRINTF_ATTRIBUTE, f, a))) ^ In file included from llvmjit_inline.cpp:24: In file included from ../../../../src/include/postgres.h:47: ../../../../src/include/utils/elog.h:221:54: warning: 'format' attribute argument not supported: gnu_printf [-Wignored-attributes] extern char *format_elog_string(const char *fmt,...) pg_attribute_printf(1, 2); ^ ../../../../src/include/c.h:127:49: note: expanded from macro 'pg_attribute_printf' #define pg_attribute_printf(f,a) __attribute__((format(PG_PRINTF_ATTRIBUTE, f, a))) ^ In file included from llvmjit_inline.cpp:24: In file included from ../../../../src/include/postgres.h:47: ../../../../src/include/utils/elog.h:437:47: warning: 'format' attribute argument not supported: gnu_printf [-Wignored-attributes] extern void write_stderr(const char *fmt,...) pg_attribute_printf(1, 2); ^ ../../../../src/include/c.h:127:49: note: expanded from macro 'pg_attribute_printf' #define pg_attribute_printf(f,a) __attribute__((format(PG_PRINTF_ATTRIBUTE, f, a))) ^ In file included from llvmjit_inline.cpp:24: In file included from ../../../../src/include/postgres.h:48: ../../../../src/include/utils/palloc.h:133:44: warning: 'format' attribute argument not supported: gnu_printf [-Wignored-attributes] extern char *psprintf(const char *fmt,...) pg_attribute_printf(1, 2); ^ ../../../../src/include/c.h:127:49: note: expanded from macro 'pg_attribute_printf' #define pg_attribute_printf(f,a) __attribute__((format(PG_PRINTF_ATTRIBUTE, f, a))) ^ In file included from llvmjit_inline.cpp:24: In file included from ../../../../src/include/postgres.h:48: ../../../../src/include/utils/palloc.h:134:80: warning: 'format' attribute argument not supported: gnu_printf [-Wignored-attributes] extern size_t pvsnprintf(char *buf, size_t len, const char *fmt, va_list args) pg_attribute_printf(3, 0); ^ ../../../../src/include/c.h:127:49: note: expanded from macro 'pg_attribute_printf' #define pg_attribute_printf(f,a) __attribute__((format(PG_PRINTF_ATTRIBUTE, f, a))) ^ 21 warnings generated. In file included from llvmjit_wrap.cpp:16: In file included from ../../../../src/include/postgres.h:46: In file included from ../../../../src/include/c.h:1318: ../../../../src/include/port.h:176:70: warning: 'format' attribute argument not supported: gnu_printf [-Wignored-attributes] extern int pg_snprintf(char *str, size_t count, const char *fmt,...) pg_attribute_printf(3, 4); ^ ../../../../src/include/c.h:127:49: note: expanded from macro 'pg_attribute_printf' #define pg_attribute_printf(f,a) __attribute__((format(PG_PRINTF_ATTRIBUTE, f, a))) ^ In file included from llvmjit_wrap.cpp:16: In file included from ../../../../src/include/postgres.h:46: In file included from ../../../../src/include/c.h:1318: ../../../../src/include/port.h:178:55: warning: 'format' attribute argument not supported: gnu_printf [-Wignored-attributes] extern int pg_sprintf(char *str, const char *fmt,...) pg_attribute_printf(2, 3); ^ ../../../../src/include/c.h:127:49: note: expanded from macro 'pg_attribute_printf' #define pg_attribute_printf(f,a) __attribute__((format(PG_PRINTF_ATTRIBUTE, f, a))) ^ In file included from llvmjit_wrap.cpp:16: In file included from ../../../../src/include/postgres.h:46: In file included from ../../../../src/include/c.h:1318: ../../../../src/include/port.h:180:58: warning: 'format' attribute argument not supported: gnu_printf [-Wignored-attributes] extern int pg_fprintf(FILE *stream, const char *fmt,...) pg_attribute_printf(2, 3); ^ ../../../../src/include/c.h:127:49: note: expanded from macro 'pg_attribute_printf' #define pg_attribute_printf(f,a) __attribute__((format(PG_PRINTF_ATTRIBUTE, f, a))) ^ In file included from llvmjit_wrap.cpp:16: In file included from ../../../../src/include/postgres.h:46: In file included from ../../../../src/include/c.h:1318: ../../../../src/include/port.h:182:43: warning: 'format' attribute argument not supported: gnu_printf [-Wignored-attributes] extern int pg_printf(const char *fmt,...) pg_attribute_printf(1, 2); ^ ../../../../src/include/c.h:127:49: note: expanded from macro 'pg_attribute_printf' #define pg_attribute_printf(f,a) __attribute__((format(PG_PRINTF_ATTRIBUTE, f, a))) ^ In file included from llvmjit_wrap.cpp:16: In file included from ../../../../src/include/postgres.h:47: ../../../../src/include/utils/elog.h:157:40: warning: 'format' attribute argument not supported: gnu_printf [-Wignored-attributes] extern int errmsg(const char *fmt,...) pg_attribute_printf(1, 2); ^ ../../../../src/include/c.h:127:49: note: expanded from macro 'pg_attribute_printf' #define pg_attribute_printf(f,a) __attribute__((format(PG_PRINTF_ATTRIBUTE, f, a))) ^ In file included from llvmjit_wrap.cpp:16: In file included from ../../../../src/include/postgres.h:47: ../../../../src/include/utils/elog.h:158:49: warning: 'format' attribute argument not supported: gnu_printf [-Wignored-attributes] extern int errmsg_internal(const char *fmt,...) pg_attribute_printf(1, 2); ^ ../../../../src/include/c.h:127:49: note: expanded from macro 'pg_attribute_printf' #define pg_attribute_printf(f,a) __attribute__((format(PG_PRINTF_ATTRIBUTE, f, a))) ^ In file included from llvmjit_wrap.cpp:16: In file included from ../../../../src/include/postgres.h:47: ../../../../src/include/utils/elog.h:161:56: warning: 'format' attribute argument not supported: gnu_printf [-Wignored-attributes] unsigned long n,...) pg_attribute_printf(1, 4) pg_attribute_printf(2, 4); ^ ../../../../src/include/c.h:127:49: note: expanded from macro 'pg_attribute_printf' #define pg_attribute_printf(f,a) __attribute__((format(PG_PRINTF_ATTRIBUTE, f, a))) ^ In file included from llvmjit_wrap.cpp:16: In file included from ../../../../src/include/postgres.h:47: ../../../../src/include/utils/elog.h:161:30: warning: 'format' attribute argument not supported: gnu_printf [-Wignored-attributes] unsigned long n,...) pg_attribute_printf(1, 4) pg_attribute_printf(2, 4); ^ ../../../../src/include/c.h:127:49: note: expanded from macro 'pg_attribute_printf' #define pg_attribute_printf(f,a) __attribute__((format(PG_PRINTF_ATTRIBUTE, f, a))) ^ In file included from llvmjit_wrap.cpp:16: In file included from ../../../../src/include/postgres.h:47: ../../../../src/include/utils/elog.h:163:43: warning: 'format' attribute argument not supported: gnu_printf [-Wignored-attributes] extern int errdetail(const char *fmt,...) pg_attribute_printf(1, 2); ^ ../../../../src/include/c.h:127:49: note: expanded from macro 'pg_attribute_printf' #define pg_attribute_printf(f,a) __attribute__((format(PG_PRINTF_ATTRIBUTE, f, a))) ^ In file included from llvmjit_wrap.cpp:16: In file included from ../../../../src/include/postgres.h:47: ../../../../src/include/utils/elog.h:164:52: warning: 'format' attribute argument not supported: gnu_printf [-Wignored-attributes] extern int errdetail_internal(const char *fmt,...) pg_attribute_printf(1, 2); ^ ../../../../src/include/c.h:127:49: note: expanded from macro 'pg_attribute_printf' #define pg_attribute_printf(f,a) __attribute__((format(PG_PRINTF_ATTRIBUTE, f, a))) ^ In file included from llvmjit_wrap.cpp:16: In file included from ../../../../src/include/postgres.h:47: ../../../../src/include/utils/elog.h:166:47: warning: 'format' attribute argument not supported: gnu_printf [-Wignored-attributes] extern int errdetail_log(const char *fmt,...) pg_attribute_printf(1, 2); ^ ../../../../src/include/c.h:127:49: note: expanded from macro 'pg_attribute_printf' #define pg_attribute_printf(f,a) __attribute__((format(PG_PRINTF_ATTRIBUTE, f, a))) ^ In file included from llvmjit_wrap.cpp:16: In file included from ../../../../src/include/postgres.h:47: ../../../../src/include/utils/elog.h:170:57: warning: 'format' attribute argument not supported: gnu_printf [-Wignored-attributes] unsigned long n,...) pg_attribute_printf(1, 4) pg_attribute_... ^ ../../../../src/include/c.h:127:49: note: expanded from macro 'pg_attribute_printf' #define pg_attribute_printf(f,a) __attribute__((format(PG_PRINTF_ATTRIBUTE, f, a))) ^ In file included from llvmjit_wrap.cpp:16: In file included from ../../../../src/include/postgres.h:47: ../../../../src/include/utils/elog.h:170:31: warning: 'format' attribute argument not supported: gnu_printf [-Wignored-attributes] unsigned long n,...) pg_attribute_printf(1, 4) pg_attribute_... ^ ../../../../src/include/c.h:127:49: note: expanded from macro 'pg_attribute_printf' #define pg_attribute_printf(f,a) __attribute__((format(PG_PRINTF_ATTRIBUTE, f, a))) ^ In file included from llvmjit_wrap.cpp:16: In file included from ../../../../src/include/postgres.h:47: ../../../../src/include/utils/elog.h:173:56: warning: 'format' attribute argument not supported: gnu_printf [-Wignored-attributes] unsigned long n,...) pg_attribute_printf(1, 4) pg_attribute_printf(2, 4); ^ ../../../../src/include/c.h:127:49: note: expanded from macro 'pg_attribute_printf' #define pg_attribute_printf(f,a) __attribute__((format(PG_PRINTF_ATTRIBUTE, f, a))) ^ In file included from llvmjit_wrap.cpp:16: In file included from ../../../../src/include/postgres.h:47: ../../../../src/include/utils/elog.h:173:30: warning: 'format' attribute argument not supported: gnu_printf [-Wignored-attributes] unsigned long n,...) pg_attribute_printf(1, 4) pg_attribute_printf(2, 4); ^ ../../../../src/include/c.h:127:49: note: expanded from macro 'pg_attribute_printf' #define pg_attribute_printf(f,a) __attribute__((format(PG_PRINTF_ATTRIBUTE, f, a))) ^ In file included from llvmjit_wrap.cpp:16: In file included from ../../../../src/include/postgres.h:47: ../../../../src/include/utils/elog.h:175:41: warning: 'format' attribute argument not supported: gnu_printf [-Wignored-attributes] extern int errhint(const char *fmt,...) pg_attribute_printf(1, 2); ^ ../../../../src/include/c.h:127:49: note: expanded from macro 'pg_attribute_printf' #define pg_attribute_printf(f,a) __attribute__((format(PG_PRINTF_ATTRIBUTE, f, a))) ^ In file included from llvmjit_wrap.cpp:16: In file included from ../../../../src/include/postgres.h:47: ../../../../src/include/utils/elog.h:189:48: warning: 'format' attribute argument not supported: gnu_printf [-Wignored-attributes] extern int errcontext_msg(const char *fmt,...) pg_attribute_printf(1, 2); ^ ../../../../src/include/c.h:127:49: note: expanded from macro 'pg_attribute_printf' #define pg_attribute_printf(f,a) __attribute__((format(PG_PRINTF_ATTRIBUTE, f, a))) ^ In file included from llvmjit_wrap.cpp:16: In file included from ../../../../src/include/postgres.h:47: ../../../../src/include/utils/elog.h:221:54: warning: 'format' attribute argument not supported: gnu_printf [-Wignored-attributes] extern char *format_elog_string(const char *fmt,...) pg_attribute_printf(1, 2); ^ ../../../../src/include/c.h:127:49: note: expanded from macro 'pg_attribute_printf' #define pg_attribute_printf(f,a) __attribute__((format(PG_PRINTF_ATTRIBUTE, f, a))) ^ In file included from llvmjit_wrap.cpp:16: In file included from ../../../../src/include/postgres.h:47: ../../../../src/include/utils/elog.h:437:47: warning: 'format' attribute argument not supported: gnu_printf [-Wignored-attributes] extern void write_stderr(const char *fmt,...) pg_attribute_printf(1, 2); ^ ../../../../src/include/c.h:127:49: note: expanded from macro 'pg_attribute_printf' #define pg_attribute_printf(f,a) __attribute__((format(PG_PRINTF_ATTRIBUTE, f, a))) ^ In file included from llvmjit_wrap.cpp:16: In file included from ../../../../src/include/postgres.h:48: ../../../../src/include/utils/palloc.h:133:44: warning: 'format' attribute argument not supported: gnu_printf [-Wignored-attributes] extern char *psprintf(const char *fmt,...) pg_attribute_printf(1, 2); ^ ../../../../src/include/c.h:127:49: note: expanded from macro 'pg_attribute_printf' #define pg_attribute_printf(f,a) __attribute__((format(PG_PRINTF_ATTRIBUTE, f, a))) ^ In file included from llvmjit_wrap.cpp:16: In file included from ../../../../src/include/postgres.h:48: ../../../../src/include/utils/palloc.h:134:80: warning: 'format' attribute argument not supported: gnu_printf [-Wignored-attributes] extern size_t pvsnprintf(char *buf, size_t len, const char *fmt, va_list args) pg_attribute_printf(3, 0); ^ ../../../../src/include/c.h:127:49: note: expanded from macro 'pg_attribute_printf' #define pg_attribute_printf(f,a) __attribute__((format(PG_PRINTF_ATTRIBUTE, f, a))) ^ 21 warnings generated. 21 warnings generated.
^ permalink raw reply [nested|flat] 6+ messages in thread

* Re: Compiler warnings on Debian 10
@ 2021-02-11 20:33  Tom Lane <tgl@sss.pgh.pa.us>
  parent: Daniel Westermann (DWE) <daniel.westermann@dbi-services.com>
  0 siblings, 1 reply; 6+ messages in thread

From: Tom Lane @ 2021-02-11 20:33 UTC (permalink / raw)
  To: Daniel Westermann (DWE) <daniel.westermann@dbi-services.com>; +Cc: pgsql-general@lists.postgresql.org <pgsql-general@lists.postgresql.org>

"Daniel Westermann (DWE)" <daniel.westermann@dbi-services.com> writes:
> "Daniel Westermann (DWE)" <daniel.westermann@dbi-services.com> writes:
>>> I was wondering if someone already has seen these warnings on Debian 10 (PostgreSQL 13.1):

>>> ../../../../src/include/port.h:176:70: warning: 'format' attribute argument not supported: gnu_printf
>>>        [-Wignored-attributes]

>> Huh.  What compiler are you using, exactly?  

> Nothing special. Configure and make log attached. The same procedure works fine on my local Debian 10.7.

Quite odd.  The configure output clearly shows that it thought gnu_printf
is fine:

checking for printf format archetype... gnu_printf

Possibly the corresponding section of config.log would provide more
insight.

			regards, tom lane





^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* Re: Compiler warnings on Debian 10
@ 2021-02-11 20:51  Daniel Westermann (DWE) <daniel.westermann@dbi-services.com>
  parent: Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 1 reply; 6+ messages in thread

From: Daniel Westermann (DWE) @ 2021-02-11 20:51 UTC (permalink / raw)
  To: Tom Lane <tgl@sss.pgh.pa.us>; +Cc: pgsql-general@lists.postgresql.org <pgsql-general@lists.postgresql.org>

>> Nothing special. Configure and make log attached. The same procedure works fine on my local Debian 10.7.

>Quite odd.  The configure output clearly shows that it thought gnu_printf
>is fine:

>checking for printf format archetype... gnu_printf

>Possibly the corresponding section of config.log would provide more
>insight.

Please find it attached.

Regards
Daniel=

Attachments:

  config.log.gz (application/gzip, 31.3K) download

^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* Re: Compiler warnings on Debian 10
@ 2021-02-11 21:36  Tom Lane <tgl@sss.pgh.pa.us>
  parent: Daniel Westermann (DWE) <daniel.westermann@dbi-services.com>
  0 siblings, 0 replies; 6+ messages in thread

From: Tom Lane @ 2021-02-11 21:36 UTC (permalink / raw)
  To: Daniel Westermann (DWE) <daniel.westermann@dbi-services.com>; +Cc: pgsql-general@lists.postgresql.org <pgsql-general@lists.postgresql.org>

Looking at things more closely, I realize that the warnings are not
showing up in most compiles (if they were, you'd have many more of
them).  They are only showing up in the llvmjit_*.cpp files, which
need to be built with a C++ compiler not gcc.  I can see in your
make log that those are getting built with "c++", so now I wonder
exactly which compiler that is.

You could probably suppress these complaints by passing "CXX=g++"
to configure.  Or at least, you could if g++ was installed, but
I think configure will default to that if it can find it...

			regards, tom lane





^ permalink  raw  reply  [nested|flat] 6+ messages in thread


end of thread, other threads:[~2021-02-11 21:36 UTC | newest]

Thread overview: 6+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2021-02-10 20:38 Compiler warnings on Debian 10 Daniel Westermann (DWE) <daniel.westermann@dbi-services.com>
2021-02-11 17:16 ` Tom Lane <tgl@sss.pgh.pa.us>
2021-02-11 18:57   ` Daniel Westermann (DWE) <daniel.westermann@dbi-services.com>
2021-02-11 20:33     ` Tom Lane <tgl@sss.pgh.pa.us>
2021-02-11 20:51       ` Daniel Westermann (DWE) <daniel.westermann@dbi-services.com>
2021-02-11 21:36         ` Tom Lane <tgl@sss.pgh.pa.us>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox