Re: mingw initdb failure on HEAD

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: Takahiro Itagaki <itagaki(dot)takahiro(at)oss(dot)ntt(dot)co(dot)jp>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: mingw initdb failure on HEAD
Date: 2010-05-28 11:51:04
Message-ID: 4BFFAE28.3060109@dunslane.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Takahiro Itagaki wrote:
> Andrew Dunstan <andrew(at)dunslane(dot)net> wrote:
>
>
>> Several buildfarm mingw members are getting failures like this, when
>> running initdb:
>> <http://www.pgbuildfarm.org/cgi-bin/show_log.pl?nm=dawn_bat&dt=2010-05-27%2019:45:18>
>>
>> Could it have been caused by the PGDLLIMPORT/PGDLLEXPORT changes?
>>
>
> Probably, but it's curious because MSVC members are OK.
> Do we have special treatments for exported functions in mingw?
> It might export 'dllimport' funtions/variables, but not 'dllexport' ones.
>
>
>

It has broken Cygwin as well, so that's two out of three Windows
platforms that don't like this.

I am not sure what the best fix for the original problem is, but this
isn't it.

cheers

andrew

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Heikki Linnakangas 2010-05-28 11:57:57 Re: [COMMITTERS] pgsql: Mark PG_MODULE_MAGIC and PG_FUNCTION_INFO_V1 with PGDLLEXPORT
Previous Message Robert Haas 2010-05-28 11:17:23 Re: Working with PostgreSQL enums in C code