Re: pgsql: Use --disable-auto-import linker switch in Mingw builds, too.

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: Andres Freund <andres(at)2ndquadrant(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-committers(at)postgresql(dot)org
Subject: Re: pgsql: Use --disable-auto-import linker switch in Mingw builds, too.
Date: 2014-02-15 15:02:39
Message-ID: 52FF818F.1070405@dunslane.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers


On 02/15/2014 09:49 AM, Andres Freund wrote:
> On 2014-02-15 09:47:08 -0500, Andrew Dunstan wrote:
>> However, the build now fails like this:
>> pg_buffercache_pages.o: In function `pg_buffercache_pages':
>> c:/MinGW/msys/1.0/home/pgrunner/bf/root/HEAD/pgsql.6024/../pgsql/contrib/pg_buffercache/pg_buffercache_pages.c:119:
>> undefined reference to `MainLWLockArray'
>> c:/MinGW/msys/1.0/home/pgrunner/bf/root/HEAD/pgsql.6024/../pgsql/contrib/pg_buffercache/pg_buffercache_pages.c:160:
>> undefined reference to `MainLWLockArray'
>> collect2.exe: error: ld returned 1 exit status
>> make[1]: *** [pg_buffercache.dll] Error 1
>> make[1]: Leaving directory
>> `/home/pgrunner/bf/root/HEAD/pgsql.6024/contrib/pg_buffercache'
>>
>>
>> Note that by this time "make check" has already passed.
> That's expected atm, that's breaking all the windows builds right
> now. Now that brolga is alive again, it should be able to progress past
> this... How often does it build master?

Twice a day as long as currawong and frogmouth aren't running.

But it failed a few hours ago:

gcc-4 -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -g zic.o ialloc.o scheck.o localtime.o -L../../src/port -L../../src/common -Wl,--allow-multiple-definition -Wl,--disable-auto-import -L/usr/lib -L/usr/local/lib -Wl,--as-needed -lpgcommon -lpgport -lxslt -lxml2 -lz -lreadline -lcrypt -o zic.exe
zic.o: In function `main':
/cygdrive/d/cygwin-bf/root/HEAD/pgsql.3216/src/timezone/zic.c:511: undefined reference to `_optarg'
/cygdrive/d/cygwin-bf/root/HEAD/pgsql.3216/src/timezone/zic.c:544: undefined reference to `_optarg'
/cygdrive/d/cygwin-bf/root/HEAD/pgsql.3216/src/timezone/zic.c:533: undefined reference to `_optarg'
/cygdrive/d/cygwin-bf/root/HEAD/pgsql.3216/src/timezone/zic.c:522: undefined reference to `_optarg'
/cygdrive/d/cygwin-bf/root/HEAD/pgsql.3216/src/timezone/zic.c:555: undefined reference to `_optarg'
/cygdrive/d/cygwin-bf/root/HEAD/pgsql.3216/src/timezone/zic.c:575: undefined reference to `_optind'
/cygdrive/d/cygwin-bf/root/HEAD/pgsql.3216/src/timezone/zic.c:584: undefined reference to `_optind'
/cygdrive/d/cygwin-bf/root/HEAD/pgsql.3216/src/timezone/zic.c:590: undefined reference to `_optind'
collect2: ld returned 1 exit status

cheers

andrew

cheers

andrew

In response to

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Andres Freund 2014-02-15 15:05:39 Re: pgsql: Use --disable-auto-import linker switch in Mingw builds, too.
Previous Message Andres Freund 2014-02-15 14:49:12 Re: pgsql: Use --disable-auto-import linker switch in Mingw builds, too.