pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Luis Amigo <lamigo@atc.unican.es>
Cc: pgsql-hackers@postgreSQL.org
Subject: Re: installing 7.2b3 on IRIX 6.5.13
Date: Mon, 26 Nov 2001 17:39:30 -0500
Message-ID: <15712.1006814370@sss.pgh.pa.us> (raw)
In-Reply-To: <3C021AE1.DCB15AF4@bonito.atc.unican.es>
References: <3C021AE1.DCB15AF4@bonito.atc.unican.es>

[ redirected from pgsql-admin ]

Luis Amigo <lamigo@atc.unican.es> writes:
> When installing 7.2b3 we receive after gmake:
>         len = offsetof(PgStat_MsgTabpurge, m_tableid[msg.m_nentries])
> must have a constant value

Indeed, a quick look in the C spec says that offsetof is required to
have a constant value, so this coding is unportable.  I've repaired
it in CVS.  Thanks for the report!

It's not clear to me whether we should change template/irix5 or not.
It sounds like gcc is misinstalled on your machine, but that doesn't
necessarily mean that no one is using gcc successfully on IRIX, so
I don't want to force CC=cc.  Possibly this would make sense:

if test "$GCC" = yes ; then
  CFLAGS="-O2"
else
  CFLAGS="-n32 -O2 -r12000"
  LDFLAGS="-n32 -O2 -r12000"
fi

Comments anyone?

			regards, tom lane



view thread (8+ messages)  latest in thread

Message-ID: <15712.1006814370@sss.pgh.pa.us>
Permalink:  ../15712.1006814370@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/15712.1006814370@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: tgl@sss.pgh.pa.us, lamigo@atc.unican.es, pgsql-hackers@postgreSQL.org
  Subject: Re: installing 7.2b3 on IRIX 6.5.13
  In-Reply-To: <15712.1006814370@sss.pgh.pa.us>
  References: <3C021AE1.DCB15AF4@bonito.atc.unican.es> <15712.1006814370@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox