On Sep 15, 2005, at 9:56 AM, Peter Alberer wrote:
I compiled postgres in 64-bit mode by adding the following switches
in the
make file:
To the gcc lines: -m64 -mcpu=power5 -mtune=power5
To ld lines: -m elf64ppc
FWIW Postgres works splendidly in 64-bit mode on FreeBSD on Opteron
"Peter Alberer" <[EMAIL PROTECTED]> writes:
> Hmm, i just tried to do the same thing (ppc64 sh, ...) but it seems to me
> that the result is a 32bit executable:
Hmm ... I got an elf64 executable. I'm not entirely sure what drives
gcc's default choices about such things [ digs around... ] The com
Hmm, i just tried to do the same thing (ppc64 sh, ...) but it seems to me
that the result is a 32bit executable:
[EMAIL PROTECTED] pg803]# ldd bin/psql
libpq.so.4 => /opt/learn-bench/pg803/lib/libpq.so.4 (0x0ff95000)
libz.so.1 => /usr/lib/libz.so.1 (0x0fbf)
libreadline
"Peter Alberer" <[EMAIL PROTECTED]> writes:
> The system is a p5-510 running redhat advanced server 4.0 update 1. the
> kernel version is 2.6.9-11.EL. what other details about the machine could be
> helpful?
Well, it works perfectly fine for me on a ppc64 RHEL machine at Red Hat...
I'm a bit sus
An: Peter Alberer
Cc: pgsql-general@postgresql.org
Betreff: Re: [GENERAL] Problem with 64-bit Postgres
"Peter Alberer" <[EMAIL PROTECTED]> writes:
> Server says:
> LOG: setsockopt(TCP_NODELAY) failed: Operation not supported
It's pretty unclear why that would fail
"Peter Alberer" <[EMAIL PROTECTED]> writes:
> Server says:
> LOG: setsockopt(TCP_NODELAY) failed: Operation not supported
It's pretty unclear why that would fail if it works in 32-bit mode.
Kernel bug maybe? What is the platform exactly?
regards, tom lane
--
Hi,
i am having a problem with a test installation of postgres 8.0.3 on a 64-bit
power5 system. Let me say first that the system seems to work correctly when
compiled in 32-bit mode (which seems to be standard compile mode with gcc on
this installation).
I compiled postgres in 64-bit mode by ad