timezone changes break windows and cygwin

Поиск
Список
Период
Сортировка
Искать
От
Andrew Dunstan
Тема
timezone changes break windows and cygwin
Дата
Msg-id
42CA89A3.1070104@dunslane.net
Список
Дерево обсуждения
timezone changes break windows and cygwin Andrew Dunstan <andrew@dunslane.net>
Re: timezone changes break windows and cygwin Bruce Momjian <pgman@candle.pha.pa.us>
Re: timezone changes break windows and cygwin Andrew Dunstan <andrew@dunslane.net>
Re: timezone changes break windows and cygwin Bruce Momjian <pgman@candle.pha.pa.us>
Re: timezone changes break windows and cygwin Tom Lane <tgl@sss.pgh.pa.us>
Re: timezone changes break windows and cygwin "Andrew Dunstan" <andrew@dunslane.net>
Re: timezone changes break windows and cygwin Bruce Momjian <pgman@candle.pha.pa.us>
Re: timezone changes break windows and cygwin Tom Lane <tgl@sss.pgh.pa.us>
Re: timezone changes break windows and cygwin Bruce Momjian <pgman@candle.pha.pa.us>
Re: timezone changes break windows and cygwin Tom Lane <tgl@sss.pgh.pa.us>
Re: timezone changes break windows and cygwin Bruce Momjian <pgman@candle.pha.pa.us>
Re: timezone changes break windows and cygwin Tom Lane <tgl@sss.pgh.pa.us>
Re: timezone changes break windows and cygwin Peter Eisentraut <peter_e@gmx.net>
Re: timezone changes break windows and cygwin Bruce Momjian <pgman@candle.pha.pa.us>
Re: timezone changes break windows and cygwin Peter Eisentraut <peter_e@gmx.net>
Re: timezone changes break windows and cygwin Bruce Momjian <pgman@candle.pha.pa.us>

The latest timezone lib changes seem to have broken Windows and Cygwin 
builds comprehensively. I assume that this checkin caused the problem:

http://archives.postgresql.org/pgsql-committers/2005-07/msg00155.php :

Restructure zic #define fprintf checks to use a NO_PGPORT macro instead.


Extracts from buildfarm logs:

Windows:

gcc -O2 -Wall -Wmissing-prototypes -Wpointer-arith -fno-strict-aliasing -g zic.o ialloc.o scheck.o localtime-zic.o -o zic.exe
zic.o(.text+0xe99): In function `dolink':
C:/msys/1.0/home/pgbf/pgbuildfarm/HEAD/pgsql.8032/src/timezone/zic.c:634: undefined reference to `pgsymlink'
zic.o(.text+0xed5):C:/msys/1.0/home/pgbf/pgbuildfarm/HEAD/pgsql.8032/src/timezone/zic.c:613: undefined reference to `pgunlink'
zic.o(.text+0x36ed): In function `writezone':
C:/msys/1.0/home/pgbf/pgbuildfarm/HEAD/pgsql.8032/src/timezone/zic.c:1580: undefined reference to `pgunlink'
localtime-zic.o(.text+0x14c): In function `tzload':
C:/msys/1.0/home/pgbf/pgbuildfarm/HEAD/pgsql.8032/src/timezone/localtime-zic.c:161: undefined reference to `win32_open'


Cygwin:

gcc -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wendif-labels -fno-strict-aliasing -g zic.o ialloc.o scheck.o localtime-zic.o -o zic.exe
zic.o(.text+0x86c): In function `dolink':
/home/jim/pgbuildfarm/HEAD/pgsql.7860/src/timezone/zic.c:613: undefined reference to `_pgunlink'
zic.o(.text+0x261a): In function `writezone':
/home/jim/pgbuildfarm/HEAD/pgsql.7860/src/timezone/zic.c:1562: undefined reference to `_pgunlink'
collect2: ld returned 1 exit status


cheers

andrew


В списке pgsql-hackers по дате отправления
От: Marko Kreen
Дата:
От: Michael Fuhr
Дата:
FAQ