Re: [PATCH] PostgreSQL fails to build with 32bit MinGW-w64

From: Mark Cave-Ayland <mark(dot)cave-ayland(at)siriusit(dot)co(dot)uk>
To: Andrew Dunstan <andrew(at)dunslane(dot)net>
Cc: Robert Haas <robertmhaas(at)gmail(dot)com>, NISHIYAMA Tomoaki <tomoakin(at)staff(dot)kanazawa-u(dot)ac(dot)jp>, pgsql-hackers(at)postgresql(dot)org, Magnus Hagander <magnus(at)hagander(dot)net>
Subject: Re: [PATCH] PostgreSQL fails to build with 32bit MinGW-w64
Date: 2011-12-12 11:43:39
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

On -10/01/37 20:59, Andrew Dunstan wrote:

>>> This is apparently an optimization bug in the compiler. If I turn
>>> optimization off (CFLAGS=-O0) it goes away. Ick.
>>> So at the moment I'm a bit blocked. I can't really file a bug because
>>> the
>>> compiler can't currently be used to build postgres, I don't have time to
>>> construct a self-contained test case, and I don't want to commit
>>> changes to
>>> enable the compiler until the issue is solved.
>> If we're talking about adding support for a previously-unsupported
>> configuration, it seems to me that it would be fine to commit a patch
>> that made everything work, but for the compiler bug. We could refrain
>> from stating that we officially support that configuration until the
>> compiler bug is fixed, or even document the existence of the bug. We
>> can't be responsible for other people's broken code, but I don't
>> necessarily see that as a reason not to commit a prerequisite patch.
>> Otherwise, as you say, there's a chicken-and-egg problem, and who does
>> that help?
> Yeah, fair enough. I'll work on that.

Definitely do this (and then file a bug report with the project). I've
worked with both Kai and NightStrike from the MingW-W64 project to fix
previous bugs, and as long as they can build the offending source
themselves then they are very helpful and quick to respond.



Mark Cave-Ayland - Senior Technical Architect
PostgreSQL - PostGIS
Sirius Corporation plc - control through freedom
t: +44 870 608 0063

Sirius Labs:

In response to


Browse pgsql-hackers by date

  From Date Subject
Next Message Simon Riggs 2011-12-12 12:17:10 Re: [REVIEW] pg_last_xact_insert_timestamp
Previous Message Shigeru Hanada 2011-12-12 10:33:06 Re: WIP: Collecting statistics on CSV file data