pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Doug Knight <dknight@wsi.com>
To: pgsql-admin@postgresql.org
Subject: Re: Forcing a 32 bit build on a 64 bit system
Date: Fri, 31 Aug 2007 11:42:39 -0400
Message-ID: <1188574959.2131.298.camel@arc-dknightlx.wsicorp.com> (raw)
In-Reply-To: <24149.1188571609@sss.pgh.pa.us>
References: <1188570077.2131.289.camel@arc-dknightlx.wsicorp.com>
	<24149.1188571609@sss.pgh.pa.us>

OK. I ran configure as:

setarch i386 ./configure

In the config.log both build and host now say i686-pc-linux-gnu.
However, under "checking for C compiler version" I see "Target:
x86_64-redhat-linux". Should I be concerned about this wrt building a
pure 32 bit postgreSQL? Also, later in the log, there are references to
Perl archlibexp and embedded Perl referencing the /usr/lib64 location.
Should I be concerned about using the 64 bit perl libs? My goal is to
create a pure 32 bit version for some testing we're doing. We ran into
some issues with LISTEN/NOTIFY (will be a separate topic), and wanted to
confirm or deny that the 64 bit version was the issue.

BTW, setarch i386 make built with no errors.

Thanks,
Doug

On Fri, 2007-08-31 at 10:46 -0400, Tom Lane wrote:

> Doug Knight <dknight@wsi.com> writes:
> > I am running RHEL5 on a 64 bit platform. We want to test with a 32 bit
> > version of PostgreSQL. Can someone point me to the configure switches
> > needed to force a 32 bit build?
> 
> "setarch i386" will help.
> 
> 			regards, tom lane
> 

view thread (4+ messages)  latest in thread

Message-ID: <1188574959.2131.298.camel@arc-dknightlx.wsicorp.com>
Permalink:  ../1188574959.2131.298.camel@arc-dknightlx.wsicorp.com/
Also on:    postgresql.org/message-id/1188574959.2131.298.camel@arc-dknightlx.wsicorp.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: dknight@wsi.com
  Subject: Re: Forcing a 32 bit build on a 64 bit system
  In-Reply-To: <1188574959.2131.298.camel@arc-dknightlx.wsicorp.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

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