From: | Stefan Kaltenbrunner <stefan(at)kaltenbrunner(dot)cc> |
---|---|
To: | Patches <pgsql-patches(at)postgresql(dot)org> |
Subject: | Re: [PATCHES] fix build on Solaris 10/x86_64 in 64bit mode with Sun |
Date: | 2007-01-10 14:42:50 |
Message-ID: | 45A4FB6A.1090602@kaltenbrunner.cc |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers pgsql-patches |
Stefan Kaltenbrunner wrote:
> on an Intel based Solaris 10U2 box using Sun Studio 11 with
> -xarch=generic64 we get a compile time failure in contrib/pgcrypto
> because BYTE_ORDER is not defined.
>
> in src/include/port/solaris.h we define it to little endian only for
> __i386 - however in 64bit mode the compiler only defines __amd64 causing
> YTE_ORDER to be undefined.
> The other option would be to use __x86 which is defined on all intel
> architectures.
>
> attached is a quick hack to allow pgcrypto to compile on that platform.
buildfarm report for that issue:
http://www.pgbuildfarm.org/cgi-bin/show_log.pl?nm=clownfish&dt=2007-01-10%2014:18:23
Stefan
From | Date | Subject | |
---|---|---|---|
Next Message | Simon Riggs | 2007-01-10 15:09:39 | Re: [PATCHES] COPY with no WAL, in certain circumstances |
Previous Message | Dave Page | 2007-01-10 14:30:18 | Re: Operator family docs |
From | Date | Subject | |
---|---|---|---|
Next Message | Simon Riggs | 2007-01-10 15:09:39 | Re: [PATCHES] COPY with no WAL, in certain circumstances |
Previous Message | Tom Lane | 2007-01-10 14:29:47 | Re: [HACKERS] [PATCHES] Last infomask bit |