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

From: Andres Freund <andres(at)2ndquadrant(dot)com>
To: Andrew Dunstan <andrew(at)dunslane(dot)net>
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:05:39
Message-ID: 20140215150539.GC16968@alap3.anarazel.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2014-02-15 15:12:17 Re: pgsql: Use --disable-auto-import linker switch in Mingw builds, too.
Previous Message Andrew Dunstan 2014-02-15 15:02:39 Re: pgsql: Use --disable-auto-import linker switch in Mingw builds, too.