Re: installing 7.2b3 on IRIX 6.5.13

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Luis Amigo <lamigo(at)atc(dot)unican(dot)es>
Cc: pgsql-hackers(at)postgreSQL(dot)org
Subject: Re: installing 7.2b3 on IRIX 6.5.13
Date: 2001-11-26 22:39:30
Message-ID: 15712.1006814370@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin pgsql-hackers

[ redirected from pgsql-admin ]

Luis Amigo <lamigo(at)atc(dot)unican(dot)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

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Lane Rollins 2001-11-26 23:25:50 Issues with pg_dump & pg_restore
Previous Message Chad R. Larson 2001-11-26 18:44:32 Re: windoze accesse to pg backend

Browse pgsql-hackers by date

  From Date Subject
Next Message Stephan Szabo 2001-11-26 22:50:21 Re: WAS: [Fwd: PostgreSQL new commands proposal]
Previous Message Sergio Pili 2001-11-26 22:35:21 Re: WAS: [Fwd: PostgreSQL new commands proposal]