7.4.6 build failures on Solaris 9 with Sun cc

From: Philip Yarra <philip(at)utiba(dot)com>
To: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: 7.4.6 build failures on Solaris 9 with Sun cc
Date: 2004-12-03 00:31:19
Message-ID: 200412031131.19126.philip@utiba.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi all, before I delve too deeply into this, has anyone else tried building
7.4.6 on Solaris 9 (sparc) ? I'm seeing build failures using Sun's cc:

make[4]: Entering directory `/tmp/postgresql-7.4.6/src/backend/access/heap'
cc -Xa -O -v -I../../../../src/include -c -o tuptoaster.o tuptoaster.c
"tuptoaster.c", line 831: member can not have variably modified type: data
"tuptoaster.c", line 937: cannot recover from previous errors
cc: acomp failed for tuptoaster.c

Which is:
struct
{
struct varlena hdr;
char data[TOAST_MAX_CHUNK_SIZE];
} chunk_data;

The compiler is cc: Sun C 5.6 2004/06/02 (Sun Studio 9)

If no-one's seen this before, I'll do some digging.

Regards, Philip.

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Marc G. Fournier 2004-12-03 00:33:28 Re: Ready for RC1
Previous Message Peter Eisentraut 2004-12-03 00:28:06 Re: 8.0RC1 tomorrow