Re: [PORTS] IRIX 6.5 meets Postgresql 6.5 (June 4 Snapshot) - Mailing list pgsql-ports

From Bruce Momjian
Subject Re: [PORTS] IRIX 6.5 meets Postgresql 6.5 (June 4 Snapshot)
Date
Msg-id 199907080008.UAA16668@candle.pha.pa.us
Whole thread Raw
In response to IRIX 6.5 meets Postgresql 6.5 (June 4 Snapshot)  (Mark Dalphin <mdalphin@amgen.com>)
List 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@amgen.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@candle.pha.pa.us            |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026

pgsql-ports by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: [PORTS] Port Bug Report: Wrong binding of arithmetic operator ^.
Next
From: Bruce Momjian
Date:
Subject: Re: [PORTS] IRIX6.5 Patch to Postgres 6.5 Beta (Snap Jun 7)