Re: [PORTS] IRIX 6.5 meets Postgresql 6.5 (June 4 Snapshot)

From: Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us>
To: mdalphin(at)amgen(dot)com
Cc: pgsql-ports(at)postgreSQL(dot)org
Subject: Re: [PORTS] IRIX 6.5 meets Postgresql 6.5 (June 4 Snapshot)
Date: 1999-07-08 00:08:34
Message-ID: 199907080008.UAA16668@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-ports

We have renamed this, and 6.5.1 will have the fix.

> I hope this is the place to discuss pre-release software. I have only just
> joined this maillist.
>
> I decided to try an early download of Postgresql 6.5 as I am going to need it
> soon on both SGI IRIX 6.5 and Dec Alpha platforms.
>
> Platform: SGI IRIX64 6.5 IP30 mips
> Compiler: native cc
>
> My first go at compiling for the IRIX is dead when only partially thru the first
> Make. There is a conflict in macro names.
>
> On the IRIX, _ALIGN is defined in /usr/include/sys/socket.h:
> #define _ALIGN(p) (((uint_t)(p) + _ALIGNBYTES) & ~_ALIGNBYTES)
> This collides with the Postgresql definition in
> .../src/include/utils/memutils.h:
> #define _ALIGN(ALIGNVAL,LEN) (((long)(LEN) + (ALIGNVAL-1)) & ~(ALIGNVAL-1))
>
> The compiler won't proceed beyond this. Is there any chance of a macro name
> change in Postgresql source? Or are there other work arounds? I could UNDEF the
> sockets one, but I am not sure where else it would cause trouble.
>
> Mark
>
> --
> Mark Dalphin email: mdalphin(at)amgen(dot)com
> Mail Stop: 29-2-A phone: +1-805-447-4951 (work)
> One Amgen Center Drive +1-805-375-0680 (home)
> Thousand Oaks, CA 91320 fax: +1-805-499-9955 (work)
>
>

--
Bruce Momjian | http://www.op.net/~candle
maillist(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026

In response to

Browse pgsql-ports by date

  From Date Subject
Next Message Bruce Momjian 1999-07-08 00:14:06 Re: [PORTS] IRIX6.5 Patch to Postgres 6.5 Beta (Snap Jun 7)
Previous Message Bruce Momjian 1999-07-07 23:50:39 Re: [PORTS] Port Bug Report: Wrong binding of arithmetic operator ^.