Re: UW 713UP3 patch - Mailing list pgsql-patches

From Larry Rosenman
Subject Re: UW 713UP3 patch
Date
Msg-id 83450000.1067808577@lerlaptop.lerctr.org
Whole thread Raw
In response to Re: UW 713UP3 patch  (Peter Eisentraut <peter_e@gmx.net>)
Responses Re: UW 713UP3 patch  (Peter Eisentraut <peter_e@gmx.net>)
Re: UW 713UP3 patch  (Larry Rosenman <ler@lerctr.org>)
List pgsql-patches

--On Sunday, November 02, 2003 22:26:40 +0100 Peter Eisentraut
<peter_e@gmx.net> wrote:

> Larry Rosenman writes:
>
>> Since peter objects to my methods, what is an ACCEPTABLE way to detect
>> the 7.1.3UP3 compiler?
>
> One POSSIBLE way to do this properly is to write a test that
>
> 1) Uses $CC, $CFLAGS, and related variables rather than hardcoding 'cc
> -O'.
>
> 2) Names any test files conftest.*, so configure cleans up automatically.
>
> 3) Doesn't execute any compiled programs.  See the __FAST_MATH__ test for
>    an example.
>
> However, I still think that we should not bother testing for this.
> Considering that the condition first occurred a couple of months ago and
> is already fixed, this isn't a big issue.  Think about what would happen
> if we had to develop and maintain fixes for every buggy GCC compiler every
> released.
The problem is MOST people will **NOT** be able to get the fixed compiler
as it's on the Upgrade Pack path (PAY FOR), and **NOT** the Maintenance
Pack path (Free).

I'll try and write the patch as you suggest.


> --
> Peter Eisentraut   peter_e@gmx.net



--
Larry Rosenman                     http://www.lerctr.org/~ler
Phone: +1 972-414-9812                 E-Mail: ler@lerctr.org
US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749

Attachment

pgsql-patches by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: UW 713UP3 patch
Next
From: Peter Eisentraut
Date:
Subject: Re: UW 713UP3 patch