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

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: [PORTS] IRIX 6.5 meets Postgresql 6.5 (June 4 Snapshot)
Дата
Msg-id 199907080008.UAA16668@candle.pha.pa.us
обсуждение исходный текст
Ответ на IRIX 6.5 meets Postgresql 6.5 (June 4 Snapshot)  (Mark Dalphin <mdalphin@amgen.com>)
Список 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 по дате отправления:

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: [PORTS] Port Bug Report: Wrong binding of arithmetic operator ^.
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: [PORTS] IRIX6.5 Patch to Postgres 6.5 Beta (Snap Jun 7)