mingw initdb failure on HEAD

Поиск
Список
Период
Сортировка
Искать

mingw initdb failure on HEAD

От:
Andrew Dunstan <andrew@dunslane.net>
Дата:
Several buildfarm mingw members are getting failures like this, when 
running initdb:
   creating conversions ... FATAL:  could not load library "C:/msys/1.0/home/pgrunner/bf/root/HEAD/pgsql.3584/src/test/regress/./tmp_check/install/home/pgrunner/bf/root/HEAD/inst/lib/postgresql/utf8_and_johab.dll": Invalid access to memory location.   	   STATEMENT:  CREATE OR REPLACE FUNCTION johab_to_utf8 (INTEGER, INTEGER, CSTRING, INTERNAL, INTEGER) RETURNS VOID AS '$libdir/utf8_and_johab', 'johab_to_utf8' LANGUAGE C STRICT;   	   child process exited with exit code 1     

See for example 


Could it have been caused by the PGDLLIMPORT/PGDLLEXPORT changes?

cheers

andrew





Re: mingw initdb failure on HEAD

От:
Takahiro Itagaki <itagaki.takahiro@oss.ntt.co.jp>
Дата:

Andrew Dunstan  wrote:

> Several buildfarm mingw members are getting failures like this, when 
> running initdb:
> 
> 
> 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.

Regards,
---
Takahiro Itagaki
NTT Open Source Software Center



Re: mingw initdb failure on HEAD

От:
Andrew Dunstan <andrew@dunslane.net>
Дата:


Takahiro Itagaki wrote:
> Andrew Dunstan  wrote:
>
>   
>> Several buildfarm mingw members are getting failures like this, when 
>> running initdb:
>> 
>>
>> 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

FAQ