Re: [HACKERS] Recent MinGW postgres builds with -O2 do not pass regression tests

2012-03-18 Thread Andrew Dunstan



On 03/18/2012 11:12 AM, Yeb Havinga wrote:
When building a minimal PostgreSQL under the latest mingw (2018), 
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.






That makes it look like a mingw bug to me.

Have you tried with the latest 32 bit compiler from mingw-w64, which 
appears to be 20111219?


cheers

andrew

--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers


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

2012-03-18 Thread Yeb Havinga
When building a minimal PostgreSQL under the latest mingw (2018), 
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


--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers