pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
64 Bit build for Sparc
2+ messages / 2 participants
[nested] [flat]

* 64 Bit build for Sparc
@ 2002-08-23 13:11  Alex Paulusberger <alexp@meta-bit.com>
  0 siblings, 1 reply; 2+ messages in thread

From: Alex Paulusberger @ 2002-08-23 13:11 UTC (permalink / raw)
  To: pgsql-admin

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




^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: 64 Bit build for Sparc
@ 2002-08-23 18:03  Chad R. Larson <clarson@eldocomp.com>
  parent: Alex Paulusberger <alexp@meta-bit.com>
  0 siblings, 0 replies; 2+ messages in thread

From: Chad R. Larson @ 2002-08-23 18:03 UTC (permalink / raw)
  To: Alex Paulusberger <alexp@meta-bit.com>; pgsql-admin

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




^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2002-08-23 18:03 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2002-08-23 13:11 64 Bit build for Sparc Alex Paulusberger <alexp@meta-bit.com>
2002-08-23 18:03 ` Chad R. Larson <clarson@eldocomp.com>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox