Skip site navigation (1) Skip section navigation (2)

Re: BUG #1999: contrib/spi doesn't receive the configured

From: Seneca Cunningham <scunning(at)ca(dot)afilias(dot)info>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #1999: contrib/spi doesn't receive the configured
Date: 2005-10-26 15:13:11
Message-ID: 435F9D07.1090503@ca.afilias.info (view raw or flat)
Thread:
Lists: pgsql-bugs
Tom Lane wrote:
> "Seneca Cunningham" <scunning(at)ca(dot)afilias(dot)info> writes:
> 
>>$ cd postgresql-8.1beta4
>>$ export OBJECT_MODE=64
>>$ CFLAGS="-maix64 -Wl,-bbigtoc" ./configure
>>--prefix=/opt/dbs/pgsql81b4-afilias-AIX53-2005-10-25
>>--with-includes=/opt/freeware/include --enable-debug --enable-thread-safety
>>--with-libraries=/opt/freeware/lib --enable-casert
> 
> 
> This is your error.  -Wl,-bbigtoc is not a compiler flag, it's a linker
> flag, and hence should be specified in LDFLAGS or related variables.

I redid the build changing CFLAGS to "-maix64" and LDFLAGS to 
"-Wl,-bbigtoc", and gmake check still doesn't run without first 
modifying src/makefiles/Makefile.aix to add CFLAGS.  The -maix64 from 
CFLAGS is required to get contrib/spi to build since IBM's tools are 
expecting objects using the 64-bit API to operate on, and if I were to 
unset OBJECT_MODE, the linking would fail as ld cannot link against 
XCOFF64 files in 32-bit mode.

-- 
Seneca Cunningham
scunning(at)ca(dot)afilias(dot)info

In response to

Responses

pgsql-bugs by date

Next:From: Bruce MomjianDate: 2005-10-26 15:20:54
Subject: Re: [BUGS] BUG #1993: Adding/subtracting negative time intervals
Previous:From: Tom LaneDate: 2005-10-26 15:07:58
Subject: Re: [BUGS] BUG #1993: Adding/subtracting negative time intervals

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group