Re: budiling postgresql-8.0.1 on Linux with GCC 4

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Gianni Mariani <gianni(at)mariani(dot)ws>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: budiling postgresql-8.0.1 on Linux with GCC 4
Date: 2005-03-24 17:08:13
Message-ID: 27754.1111684093@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Gianni Mariani <gianni(at)mariani(dot)ws> writes:
> Firstly, the gcc version is :
> gcc (GCC) 4.0.0 20050130 (experimental)

> 1. While running ./configure, it failed on not being able to detect the
> type of parameters to accept().

You probably need a newer gcc4. I know that PG 8.0.1 builds in Red Hat
rawhide, with a fairly recent gcc4 ... and I also know that there were
bugs of this general ilk in gcc4 as recently as early March, because I
hit some.
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=149098

> rtget.c:99: warning: left-hand operand of comma expression has no effect

> They all seem related to :
> PageGetItem(page, iid);

> Is this an issue ?

If you compiled without --enable-cassert I'd not worry too much ... it's
probably just being overly noisy about AssertMacro.

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Scott Marlowe 2005-03-24 17:12:54 Re: Pgsql 8.0 on Win32 Production env.
Previous Message Gianni Mariani 2005-03-24 16:41:53 budiling postgresql-8.0.1 on Linux with GCC 4