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

From Andres Freund
Subject Re: pgsql: Use --disable-auto-import linker switch in Mingw builds, too.
Date
Msg-id 20140215150539.GC16968@alap3.anarazel.de
Whole thread Raw
In response to Re: pgsql: Use --disable-auto-import linker switch in Mingw builds, too.  (Andrew Dunstan <andrew@dunslane.net>)
List pgsql-committers
On 2014-02-15 10:02:39 -0500, Andrew Dunstan wrote:
>
> 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:

>    /cygdrive/d/cygwin-bf/root/HEAD/pgsql.3216/src/timezone/zic.c:511: undefined reference to `_optarg'

Yes, there's some different fixes required:
http://archives.postgresql.org/message-id/20140215131209.GG20973%40alap3.anarazel.de

Greetings,

Andres Freund

--
 Andres Freund                       http://www.2ndQuadrant.com/
 PostgreSQL Development, 24x7 Support, Training & Services


pgsql-committers by date:

Previous
From: Andrew Dunstan
Date:
Subject: Re: pgsql: Use --disable-auto-import linker switch in Mingw builds, too.
Next
From: Tom Lane
Date:
Subject: Re: pgsql: Use --disable-auto-import linker switch in Mingw builds, too.