Re: Problem with 64-bit Postgres - Mailing list pgsql-general

From Tom Lane
Subject Re: Problem with 64-bit Postgres
Date
Msg-id 14737.1126801409@sss.pgh.pa.us
Whole thread Raw
In response to Re: Problem with 64-bit Postgres  ("Peter Alberer" <peter.alberer@wu-wien.ac.at>)
List pgsql-general
"Peter Alberer" <peter.alberer@wu-wien.ac.at> 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 compiler
I was using says this for "gcc -v"

Reading specs from /usr/lib/gcc/ppc64-redhat-linux/3.4.4/specs
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared
--enable-threads=posix--disable-checking --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions
--enable-languages=c,c++,objc,java,f77--enable-java-awt=gtk --host=ppc64-redhat-linux 
Thread model: posix
gcc version 3.4.4 20050721 (Red Hat 3.4.4-2)

I see "--with-cpu=default32" in your config, which is probably the
significant difference, but I don't know what you should do to change
that.

            regards, tom lane

pgsql-general by date:

Previous
From: "Peter Alberer"
Date:
Subject: Re: Problem with 64-bit Postgres
Next
From: Bart McFarling
Date:
Subject: Deadlock