BUG #11641: ./configure fails with mingw gcc 9.4beta3 - Mailing list pgsql-bugs
From | dj@pgxplorer.com |
---|---|
Subject | BUG #11641: ./configure fails with mingw gcc 9.4beta3 |
Date | |
Msg-id | 20141011050403.25460.87468@wrigleys.postgresql.org Whole thread Raw |
Responses |
Re: BUG #11641: ./configure fails with mingw gcc 9.4beta3
|
List | pgsql-bugs |
The following bug has been logged on the website: Bug reference: 11641 Logged by: dj Email address: dj@pgxplorer.com PostgreSQL version: 9.4beta2 Operating system: Windows 6.1build7601 SP1 Description: 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 9.4beta3, which was generated by GNU Autoconf 2.69. Invocation command line was $ ./configure ## --------- ## ## Platform. ## ## --------- ## hostname = MYCOMP uname -m = i686 uname -r = 1.0.11(0.46/3/2) uname -s = MINGW32_NT-6.1 uname -v = 2009-07-11 17:46 /usr/bin/uname -p = unknown /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 = unknown /bin/universe = unknown PATH: . PATH: /usr/local/bin PATH: /mingw/bin PATH: /bin PATH: /c/Program Files (x86)/NVIDIA Corporation/PhysX/Common PATH: /c/Windows/system32 PATH: /c/Windows PATH: /c/Windows/System32/Wbem PATH: /c/Windows/System32/WindowsPowerShell/v1.0/ PATH: /c/Program Files (x86)/Common Files/Roxio Shared/DLLShared/ PATH: /c/apps/Java/jdk1.6.0_20/bin/ PATH: /c/apps/Java/jre6/bin/ PATH: /c/apps/Java/jdk1.6.0_20/jre/lib PATH: /c/apps/Java/jdk1.6.0_20/jre/bin PATH: /c/Program Files (x86)/OpenOffice.org 3/program PATH: /c/Program Files (x86)/CMake 2.8/bin PATH: /c/Program Files (x86)/doxygen/bin PATH: /c/Program Files/7-Zip PATH: /c/Program Files (x86)/PostgreSQL/8.4/bin PATH: /c/Program Files (x86)/LLVM 3.4.svn/bin PATH: /c/Program Files (x86)/LLVM/bin PATH: /c/apps/Emscripten/clang/e1.16.0_64bit PATH: /c/apps/Emscripten/node/0.10.17_64bit PATH: /c/apps/Emscripten/python/2.7.5.3_64bit PATH: /c/apps/Emscripten/java/7.45_64bit/bin PATH: /c/apps/Emscripten PATH: /c/apps/Emscripten/emscripten/1.16.0 PATH: /c/apps/Emscripten/crunch/1.03 PATH: /c/apps/Emscripten/mingw/4.6.2_32bit ## ----------- ## ## Core tests. ## ## ----------- ## configure:2743: checking build system type configure:2757: result: i686-pc-mingw32 configure:2777: checking host system type configure:2790: result: i686-pc-mingw32 configure:2812: checking which template to use configure:2883: result: win32 configure:2978: checking whether to build with 64-bit integer date/time support configure:3007: result: yes configure:3014: checking whether NLS is wanted configure:3046: result: no configure:3054: checking for default port number configure:3079: result: 5432 configure:3442: checking for block size configure:3476: result: 8kB configure:3488: checking for segment size configure:3517: result: 1GB configure:3529: checking for WAL block size configure:3564: result: 8kB configure:3576: checking for WAL segment size configure:3611: result: 16MB configure:3708: checking for gcc configure:3724: found /mingw/bin/gcc configure:3735: result: gcc configure:3766: checking for C compiler version configure:3775: gcc --version >&5 gcc.exe (i686-posix-dwarf-rev3, Built by MinGW-W64 project) 4.8.2 Copyright (C) 2013 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:3786: $? = 0 configure:3775: gcc -v >&5 Using built-in specs. COLLECT_GCC=C:\Qt\Qt5.3.1\Tools\mingw482_32\bin\gcc.exe COLLECT_LTO_WRAPPER=C:/Qt/Qt5.3.1/Tools/mingw482_32/bin/../libexec/gcc/i686-w64-mingw32/4.8.2/lto-wrapper.exe Target: i686-w64-mingw32 Configured with: ../../../src/gcc-4.8.2/configure --host=i686-w64-mingw32 --build=i686-w64-mingw32 --target=i686-w64-mingw32 --prefix=/mingw32 --with-sysroot=/c/mingw482/i686-482-posix-dwarf-rt_v3-rev3/mingw32 --with-gxx-include-dir=/mingw32/i686-w64-mingw32/include/c++ --enable-shared --enable-static --disable-multilib --enable-languages=ada,c,c++,fortran,objc,obj-c++,lto --enable-libstdcxx-time=yes --enable-threads=posix --enable-libgomp --enable-libatomic --enable-lto --enable-graphite --enable-checking=release --enable-fully-dynamic-string --enable-version-specific-runtime-libs --disable-sjlj-exceptions --with-dwarf2 --disable-isl-version-check --disable-cloog-version-check --disable-libstdcxx-pch --disable-libstdcxx-debug --enable-bootstrap --disable-rpath --disable-win32-registry --disable-nls --disable-werror --disable-symvers --with-gnu-as --with-gnu-ld --with-arch=i686 --with-tune=generic --with-libiconv --with-system-zlib --with-gmp=/c/mingw482/prerequisites/i686-w64-mingw32-static --with-mpfr=/c/mingw482/prerequisites/i686-w64-mingw32-static --with-mpc=/c/mingw482/prerequisites/i686-w64-mingw32-static --with-isl=/c/mingw482/prerequisites/i686-w64-mingw32-static --with-cloog=/c/mingw482/prerequisites/i686-w64-mingw32-static --enable-cloog-backend=isl --with-pkgversion='i686-posix-dwarf-rev3, Built by MinGW-W64 project' --with-bugurl=http://sourceforge.net/projects/mingw-w64 CFLAGS='-O2 -pipe -I/c/mingw482/i686-482-posix-dwarf-rt_v3-rev3/mingw32/opt/include -I/c/mingw482/prerequisites/i686-zlib-static/include -I/c/mingw482/prerequisites/i686-w64-mingw32-static/include' CXXFLAGS='-O2 -pipe -I/c/mingw482/i686-482-posix-dwarf-rt_v3-rev3/mingw32/opt/include -I/c/mingw482/prerequisites/i686-zlib-static/include -I/c/mingw482/prerequisites/i686-w64-mingw32-static/include' CPPFLAGS= LDFLAGS='-pipe -L/c/mingw482/i686-482-posix-dwarf-rt_v3-rev3/mingw32/opt/lib -L/c/mingw482/prerequisites/i686-zlib-static/lib -L/c/mingw482/prerequisites/i686-w64-mingw32-static/lib -Wl,--large-address-aware' Thread model: posix gcc version 4.8.2 (i686-posix-dwarf-rev3, Built by MinGW-W64 project) configure:3786: $? = 0 configure:3775: gcc -V >&5 gcc.exe: error: unrecognized command line option '-V' gcc.exe: fatal error: no input files compilation terminated. configure:3786: $? = 1 configure:3775: gcc -qversion >&5 gcc.exe: error: unrecognized command line option '-qversion' gcc.exe: fatal error: no input files compilation terminated. configure:3786: $? = 1 configure:3806: checking whether the C compiler works configure:3828: gcc conftest.c >&5 configure:3832: $? = 0 configure:3880: result: yes configure:3883: checking for C compiler default output file name configure:3885: result: a.exe configure:3891: checking for suffix of executables configure:3898: gcc -o conftest.exe conftest.c >&5 configure:3902: $? = 0 configure:3924: result: .exe configure:3946: checking whether we are cross compiling configure:3954: gcc -o conftest.exe conftest.c >&5 configure:3958: $? = 0 configure:3965: ./conftest.exe configure:3969: $? = 0 configure:3984: result: no configure:3989: checking for suffix of object files configure:4011: gcc -c conftest.c >&5 configure:4015: $? = 0 configure:4036: result: o configure:4040: checking whether we are using the GNU C compiler configure:4059: gcc -c conftest.c >&5 configure:4059: $? = 0 configure:4068: result: yes configure:4077: checking whether gcc accepts -g configure:4097: gcc -c -g conftest.c >&5 configure:4097: $? = 0 configure:4138: result: yes configure:4155: checking for gcc option to accept ISO C89 configure:4218: gcc -c -g -O2 conftest.c >&5 configure:4218: $? = 0 configure:4231: result: none needed configure:4269: gcc -c -g -O2 conftest.c >&5 conftest.c: In function 'main': conftest.c:23:1: error: unknown type name 'choke' choke me ^ configure:4269: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "PostgreSQL" | #define PACKAGE_TARNAME "postgresql" | #define PACKAGE_VERSION "9.4beta3" | #define PACKAGE_STRING "PostgreSQL 9.4beta3" | #define PACKAGE_BUGREPORT "pgsql-bugs@postgresql.org" | #define PACKAGE_URL "" | #define PG_MAJORVERSION "9.4" | #define PG_VERSION "9.4beta3" | #define USE_INTEGER_DATETIMES 1 | #define DEF_PGPORT 5432 | #define DEF_PGPORT_STR "5432" | #define BLCKSZ 8192 | #define RELSEG_SIZE 131072 | #define XLOG_BLCKSZ 8192 | #define XLOG_SEG_SIZE (16 * 1024 * 1024) | /* end confdefs.h. */ | | int | main () | { | #ifndef __INTEL_COMPILER | choke me | #endif | ; | return 0; | } configure:4291: gcc -c -g -O2 conftest.c >&5 conftest.c: In function 'main': conftest.c:23:1: error: unknown type name 'choke' choke me ^ configure:4291: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "PostgreSQL" | #define PACKAGE_TARNAME "postgresql" | #define PACKAGE_VERSION "9.4beta3" | #define PACKAGE_STRING "PostgreSQL 9.4beta3" | #define PACKAGE_BUGREPORT "pgsql-bugs@postgresql.org" | #define PACKAGE_URL "" | #define PG_MAJORVERSION "9.4" | #define PG_VERSION "9.4beta3" | #define USE_INTEGER_DATETIMES 1 | #define DEF_PGPORT 5432 | #define DEF_PGPORT_STR "5432" | #define BLCKSZ 8192 | #define RELSEG_SIZE 131072 | #define XLOG_BLCKSZ 8192 | #define XLOG_SEG_SIZE (16 * 1024 * 1024) | /* end confdefs.h. */ | | int | main () | { | #ifndef __SUNPRO_C | choke me | #endif | ; | return 0; | } configure:4342: checking whether gcc supports -Wdeclaration-after-statement configure:4362: gcc -c -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement conftest.c >&5 configure:4362: $? = 0 configure:4371: result: yes configure:4377: checking whether gcc supports -Wendif-labels configure:4397: gcc -c -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels conftest.c >&5 configure:4397: $? = 0 configure:4406: result: yes configure:4412: checking whether gcc supports -Wmissing-format-attribute configure:4432: gcc -c -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute conftest.c >&5 configure:4432: $? = 0 configure:4441: result: yes configure:4448: checking whether gcc supports -Wformat-security configure:4468: gcc -c -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security conftest.c >&5 configure:4468: $? = 0 configure:4477: result: yes configure:4484: checking whether gcc supports -fno-strict-aliasing configure:4504: gcc -c -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing conftest.c >&5 configure:4504: $? = 0 configure:4513: result: yes configure:4520: checking whether gcc supports -fwrapv configure:4540: gcc -c -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv conftest.c >&5 configure:4540: $? = 0 configure:4549: result: yes configure:4556: checking whether gcc supports -fexcess-precision=standard configure:4576: gcc -c -O2 -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 configure:4576: $? = 0 configure:4585: result: yes configure:4592: checking whether gcc supports -funroll-loops configure:4612: gcc -c -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -funroll-loops conftest.c >&5 configure:4612: $? = 0 configure:4621: result: yes configure:4627: checking whether gcc supports -ftree-vectorize configure:4647: gcc -c -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -ftree-vectorize conftest.c >&5 configure:4647: $? = 0 configure:4656: result: yes configure:4848: checking whether the C compiler still works configure:4861: gcc -o conftest.exe -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -I./src/include/port/win32 -DEXEC_BACKEND -Wl,--allow-multiple-definition -Wl,--disable-auto-import conftest.c >&5 C:/Qt/Qt5.3.1/Tools/mingw482_32/bin/../lib/gcc/i686-w64-mingw32/4.8.2/../../../../i686-w64-mingw32/lib/../lib/crt2.o:crtexe.c:(.text+0x2a7): undefined reference to `_set_invalid_parameter_handler' collect2.exe: error: ld returned 1 exit status configure:4861: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "PostgreSQL" | #define PACKAGE_TARNAME "postgresql" | #define PACKAGE_VERSION "9.4beta3" | #define PACKAGE_STRING "PostgreSQL 9.4beta3" | #define PACKAGE_BUGREPORT "pgsql-bugs@postgresql.org" | #define PACKAGE_URL "" | #define PG_MAJORVERSION "9.4" | #define PG_VERSION "9.4beta3" | #define USE_INTEGER_DATETIMES 1 | #define DEF_PGPORT 5432 | #define DEF_PGPORT_STR "5432" | #define BLCKSZ 8192 | #define RELSEG_SIZE 131072 | #define XLOG_BLCKSZ 8192 | #define XLOG_SEG_SIZE (16 * 1024 * 1024) | /* end confdefs.h. */ | | int | main () | { | return 0; | ; | return 0; | } configure:4865: result: no configure:4867: error: cannot proceed ## ---------------- ## ## Cache variables. ## ## ---------------- ## ac_cv_build=i686-pc-mingw32 ac_cv_c_compiler_gnu=yes ac_cv_env_CC_set= ac_cv_env_CC_value= ac_cv_env_CFLAGS_set= ac_cv_env_CFLAGS_value= ac_cv_env_CPPFLAGS_set= ac_cv_env_CPPFLAGS_value= ac_cv_env_CPP_set= ac_cv_env_CPP_value= ac_cv_env_DOCBOOKSTYLE_set= ac_cv_env_DOCBOOKSTYLE_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_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_exeext=.exe ac_cv_host=i686-pc-mingw32 ac_cv_objext=o ac_cv_prog_ac_ct_CC=gcc ac_cv_prog_cc_c89= ac_cv_prog_cc_g=yes pgac_cv_prog_cc_cflags__Wdeclaration_after_statement=yes pgac_cv_prog_cc_cflags__Wendif_labels=yes pgac_cv_prog_cc_cflags__Wformat_security=yes pgac_cv_prog_cc_cflags__Wmissing_format_attribute=yes pgac_cv_prog_cc_cflags__fexcess_precision_standard=yes 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 ## ----------------- ## ## Output variables. ## ## ----------------- ## AR='' AWK='' BISON='' BISONFLAGS='' CC='gcc' CFLAGS='-O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard' CFLAGS_VECTOR=' -funroll-loops -ftree-vectorize' COLLATEINDEX='' CPP='' CPPFLAGS=' -I./src/include/port/win32 -DEXEC_BACKEND' DEFS='' DLLTOOL='' DLLWRAP='' DOCBOOKSTYLE='' DTRACE='' DTRACEFLAGS='' ECHO_C='' ECHO_N='-n' ECHO_T='' EGREP='' ELF_SYS='' EXEEXT='.exe' FLEX='' FLEXFLAGS='' GCC='yes' GCOV='' GENHTML='' GREP='' HAVE_IPV6='' HAVE_POSIX_SIGNALS='' INCLUDES='' INSTALL_DATA='' INSTALL_PROGRAM='' INSTALL_SCRIPT='' JADE='' LCOV='' LD='' LDAP_LIBS_BE='' LDAP_LIBS_FE='' LDFLAGS='-Wl,--allow-multiple-definition -Wl,--disable-auto-import' LDFLAGS_EX='' LDFLAGS_SL='' LIBOBJS='' LIBS='' LN_S='' LTLIBOBJS='' MKDIR_P='' MSGFMT='' MSGFMT_FLAGS='' MSGMERGE='' NSGMLS='' OBJEXT='o' OSX='' PACKAGE_BUGREPORT='pgsql-bugs@postgresql.org' PACKAGE_NAME='PostgreSQL' PACKAGE_STRING='PostgreSQL 9.4beta3' PACKAGE_TARNAME='postgresql' PACKAGE_URL='' PACKAGE_VERSION='9.4beta3' PATH_SEPARATOR=':' PERL='' PG_MAJORVERSION='9.4' PORTNAME='win32' PROVE='' PTHREAD_CC='' PTHREAD_CFLAGS='' PTHREAD_LIBS='' PYTHON='' RANLIB='' SHELL='/bin/sh' STRIP='' STRIP_SHARED_LIB='' STRIP_STATIC_LIB='' SUN_STUDIO_CC='no' TAR='' TAS='' TCLSH='' TCL_CONFIG_SH='' TCL_INCLUDE_SPEC='' TCL_LIBS='' TCL_LIB_FILE='' TCL_LIB_SPEC='' TCL_SHARED_BUILD='' TCL_SHLIB_LD_LIBS='' UUID_EXTRA_OBJS='' UUID_LIBS='' WANTED_LANGUAGES='' WINDRES='' XGETTEXT='' XML2_CONFIG='' XSLTPROC='' ZIC='' ac_ct_CC='gcc' acx_pthread_config='' autodepend='' bindir='${exec_prefix}/bin' build='i686-pc-mingw32' build_alias='' build_cpu='i686' build_os='mingw32' build_vendor='pc' configure_args='' 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_thread_safety='' exec_prefix='NONE' have_docbook='' have_win32_dbghelp='' host='i686-pc-mingw32' host_alias='' host_cpu='i686' host_os='mingw32' host_vendor='pc' htmldir='${docdir}' includedir='${prefix}/include' infodir='${datarootdir}/info' install_bin='' krb_srvtab='' ld_R_works='' 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_ldflags='' perl_privlibexp='' perl_useshrplib='' prefix='NONE' program_transform_name='s,x,x,' psdir='${docdir}' python_additional_libs='' python_enable_shared='' 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='' with_libxml='' with_libxslt='' with_openssl='' with_perl='' with_python='' with_selinux='' with_system_tzdata='' with_tcl='' with_uuid='' with_zlib='' ## ----------- ## ## confdefs.h. ## ## ----------- ## /* confdefs.h */ #define PACKAGE_NAME "PostgreSQL" #define PACKAGE_TARNAME "postgresql" #define PACKAGE_VERSION "9.4beta3" #define PACKAGE_STRING "PostgreSQL 9.4beta3" #define PACKAGE_BUGREPORT "pgsql-bugs@postgresql.org" #define PACKAGE_URL "" #define PG_MAJORVERSION "9.4" #define PG_VERSION "9.4beta3" #define USE_INTEGER_DATETIMES 1 #define DEF_PGPORT 5432 #define DEF_PGPORT_STR "5432" #define BLCKSZ 8192 #define RELSEG_SIZE 131072 #define XLOG_BLCKSZ 8192 #define XLOG_SEG_SIZE (16 * 1024 * 1024) configure: exit 1
pgsql-bugs by date: