Re: failed test float8 on mingw

From: "Jaime Casanova" <jcasanov(at)systemguards(dot)com(dot)ec>
To: "Magnus Hagander" <magnus(at)hagander(dot)net>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: failed test float8 on mingw
Date: 2008-11-11 21:26:41
Message-ID: 3073cc9b0811111326i7134ee3cs4cd21e5538ca502@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Tue, Nov 11, 2008 at 12:17 PM, Magnus Hagander <magnus(at)hagander(dot)net> wrote:
> Do earlier versions work if built on this machine? Like 8.3-latest? My guess
> is that it's something in mingw or the environment rather than pg, but let's
> confirm that before trying to track down what..
>

actually seems there's something wrong with environment... (MinGW:
5.1.4; msys: 1.0.10; gcc: 3.4.5 (mingw-vista special r3))
mmm... that r3 doesn't like me...

8.3, FAILED same test
8.2, FAILED too

8.1 doesn't even compile and give this error

gcc -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Winline
-Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing
-fwrapv -g -I../../src/port -DFRONTEND -I../../src/include
-I./src/include/port/win32 -DEXEC_BACKEND
"-I../../src/include/port/win32" -c -o getrusage.o getrusage.c -MMD
In file included from ../../src/include/rusagestub.h:17,
from getrusage.c:18:
c:/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../include/sys/time.h:27:
error: redefinition of `struct timezone'
c:/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../include/sys/time.h:40:
error: conflicting types for 'gettimeofday'
../../src/include/port.h:266: error: previous declaration of
'gettimeofday' was here
c:/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../include/sys/time.h:40:
error: conflicting types for 'gettimeofday'
../../src/include/port.h:266: error: previous declaration of
'gettimeofday' was here

All of this, is with
./configure --prefix=/home/Administrador/pgsql-8.1 --enable-cassert
--enable-debug --enable-depend --with-pgport=5434 --without-zlib

Something i forgot to mention, because it doesn't seems related, is
that i had to manually include ntsecapi.h in security.h mingw's
library

--
Atentamente,
Jaime Casanova
Soporte y capacitación de PostgreSQL
Asesoría y desarrollo de sistemas
Guayaquil - Ecuador
Cel. +59387171157

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Magnus Hagander 2008-11-11 21:32:34 Re: failed test float8 on mingw
Previous Message Heikki Linnakangas 2008-11-11 21:15:47 Re: RAM-only temporary tables