Re: Build system problem in 8.3.x

From: Bernd Helmle <mailings(at)oopsware(dot)de>
To: Boszormenyi Zoltan <zb(at)cybertec(dot)at>, pgsql-hackers(at)postgresql(dot)org
Cc: Hans-Juergen Schoenig <hs(at)cybertec(dot)at>
Subject: Re: Build system problem in 8.3.x
Date: 2009-08-27 14:30:47
Message-ID: 9EA03873E8D8EDF7546D255A@[172.26.14.62]
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

--On 27. August 2009 11:34:29 +0200 Boszormenyi Zoltan <zb(at)cybertec(dot)at>
wrote:

> make -C ../../../contrib/spi refint.so autoinc.so
> make[3]: Entering directory
> `/home/zozo/Schönig-számlák/lucent/postgresql-8.3.5/contrib/spi'
> gcc -m32 -Wall -Wmissing-prototypes -Wpointer-arith -Winline
> -Wdeclaration-after-statement
> -Wendif-labels -fno-strict-aliasing -fwrapv -fpic -DREFINT_VERBOSE -I.
> -I../../src/include
> -D_GNU_SOURCE -c -o refint.o refint.c
> gcc -shared -o refint.so refint.o
> /usr/bin/ld: i386 architecture of input file `refint.o' is incompatible
> with i386:x86-64 output

I had a similar problem some time in the past on a multiarch SuSE on
pSeries (however, it was the other way around, building 64-bit on 32-bit
userspace). I blogged my solution here:

<http://psoos.blogspot.com/2008/05/building-postgresql-on-ibm-pseriessles.html>

--
Thanks

Bernd

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Alvaro Herrera 2009-08-27 15:00:38 Re: BUG #4996: postgres.exe memory consumption keeps going up
Previous Message Andrew Dunstan 2009-08-27 14:26:07 Re: pretty print viewdefs