Обсуждение: 64 Bit build for Sparc

Поиск
Список
Период
Сортировка

64 Bit build for Sparc

От
Alex Paulusberger
Дата:
Hi
I was reading the Postgres solaris installation instructions in the hope
of finding some hints on how to compile postgres for 64 bit.

I installed the gcc3.1 and the 3.1 libraries found on the
sunfreeware.com site and tried to compile postgres 7.2.1 by setting the
CFLAG to -m64.

At onepoint  the build failed with the following error message. "file
fe-auth.o wrong ELF class ELFCLASS64"

Now I was wondering  if...
A: Is it possible to compile postgres with gcc for 64 bit , and what is
required
B: if there any indication that this will improve performance
C: there are any known problems with 64 bit builds of postgres on solaris

Any help, instruction, comments  would be greatly appreciated.
I try to build the server on a SunFire 280R

Kind regards
Alex


Re: 64 Bit build for Sparc

От
"Chad R. Larson"
Дата:
At 06:11 AM 8/23/02 , Alex Paulusberger wrote:
>B: if there any indication that this will improve performance

According to Sun, you should expect a small performance =loss= for 64 bit
applications (pointer arithmetic just got more complicated, for
example).  They suggest you only compile 64 bit if you need to address
large in-memory structures and the like, or unless you're running on a
machine who's instruction set is natively 64 bit (SunFire?).


         -crl
--
Chad R. Larson (CRL22)    chad@eldocomp.com
   Eldorado Computing, Inc.   602-604-3100
      5353 North 16th Street, Suite 400
        Phoenix, Arizona   85016-3228