Re: gcc 4.3 breaks ContribCheck in 8.2 and older.

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: Kurt Roeckx <kurt(at)roeckx(dot)be>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: gcc 4.3 breaks ContribCheck in 8.2 and older.
Date: 2008-03-24 17:05:14
Message-ID: 20080324170514.GE5484@alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Kurt Roeckx wrote:
> On Thu, Mar 20, 2008 at 06:53:27PM -0400, Tom Lane wrote:
> > Kurt Roeckx <kurt(at)roeckx(dot)be> writes:
> > > I did some tests with gcc 4.3 on the branches from 7.4 to 8.3 and head.
> > > 8.3 and head don't have a problem. All others failed in the
> > > ContribCheck state.
> >
> > Bizarre. There doesn't seem to be any significant difference in the seg
> > code between 8.2 and 8.3, so why is 8.2 failing there?

> Somewhere seg_same is converted from returning a bool to
> returning a char pointer.
>
> returnValue has the value 0xffffff00 for me, which of course is an
> invalid pointer.

So the difference is in CFLAGS? I do recall reading something about
these kind of things in the GCC 4.3.0 release notes.

--
Alvaro Herrera http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2008-03-24 17:12:16 Re: Proposal: new ereport option "errdetail_log"
Previous Message Bruce Momjian 2008-03-24 16:59:41 Re: [CORE] New email list for emergency communications