Recent MinGW postgres builds with -O2 do not pass regression tests

From: Yeb Havinga <yebhavinga(at)gmail(dot)com>
To: pgsql-hackers(at)postgreSQL(dot)org
Subject: Recent MinGW postgres builds with -O2 do not pass regression tests
Date: 2012-03-18 15:12:51
Message-ID: 4F65FB73.4010106@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

When building a minimal PostgreSQL under the latest mingw (20111118),
make check will give a few dozen fails with the server exiting on code
2. The build is fine when -O2 is removed from the CFLAGS. This behaviour
is present on all revs on the REL9_1_STABLE branch that I tested, among
which were 9.1.3 and 9.1.0.

$ gcc -v
Using built-in specs.
COLLECT_GCC=C:\MinGW\bin\gcc.exe
COLLECT_LTO_WRAPPER=c:/mingw/bin/../libexec/gcc/mingw32/4.6.1/lto-wrapper.exe
Target: mingw32
Configured with: ../gcc-4.6.1/configure
--enable-languages=c,c++,fortran,objc,ob
j-c++ --disable-sjlj-exceptions --with-dwarf2 --enable-shared
--enable-libgomp -
-disable-win32-registry --enable-libstdcxx-debug
--enable-version-specific-runti
me-libs --build=mingw32 --prefix=/mingw
Thread model: win32
gcc version 4.6.1 (GCC)

regards,
Yeb

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2012-03-18 15:25:00 Re: Memory usage during sorting
Previous Message Tom Lane 2012-03-18 15:08:13 Re: sortsupport for text