AIX and v8 beta1

Started by Rod Taylorover 21 years ago4 messages
#1Rod Taylor
pg@rbt.ca
1 attachment(s)

Attempted to install PostgreSQL 8.0beta1 on AIX 5.2 on a POWER4+ system
today. 7.4.5 worked fine (with header warnings), but 8.0 failed to
compile.

Full log attached.

Uname -a: AIX newman_l1 2 5 000061FA4C00

Log snippit:

gmake[3]: Leaving directory
`/tmp/sitesell/postgresql-8.0.0beta1/src/timezone'
/usr/bin/ld -r -o SUBSYS.o access/SUBSYS.o bootstrap/SUBSYS.o
catalog/SUBSYS.o parser/SUBSYS.o commands/SUBSYS.o executor/SUBSYS.o
lib/SUBSYS.o libpq/SUBSYS.o main/SUBSYS.o nodes/SUBSYS.o
optimizer/SUBSYS.o port/SUBSYS.o postmaster/SUBSYS.o regex/SUBSYS.o
rewrite/SUBSYS.o storage/SUBSYS.o tcop/SUBSYS.o utils/SUBSYS.o
../../src/timezone/SUBSYS.o
../../src/backend/port/aix/mkldexport.sh SUBSYS.o . > postgres.imp
gcc -O2 -fno-strict-aliasing -Wall -Wmissing-prototypes
-Wmissing-declarations -L../../src/port access/SUBSYS.o
bootstrap/SUBSYS.o catalog/SUBSYS.o parser/SUBSYS.o commands/SUBSYS.o
executor/SUBSYS.o lib/SUBSYS.o libpq/SUBSYS.o main/SUBSYS.o
nodes/SUBSYS.o optimizer/SUBSYS.o port/SUBSYS.o postmaster/SUBSYS.o
regex/SUBSYS.o rewrite/SUBSYS.o storage/SUBSYS.o tcop/SUBSYS.o
utils/SUBSYS.o ../../src/timezone/SUBSYS.o
-Wl,-bE:../../src/backend/postgres.imp -lpgport -lPW -lld -lnsl -ldl
-lm -o postgres
collect2: ld returned 254 exit status
gmake[2]: *** [postgres] Error 1
gmake[2]: Leaving directory
`/tmp/sitesell/postgresql-8.0.0beta1/src/backend'
gmake[1]: *** [all] Error 2
gmake[1]: Leaving directory `/tmp/sitesell/postgresql-8.0.0beta1/src'
gmake: *** [all] Error 2

Attachments:

log.gzapplication/x-gzip; name=log.gzDownload
#2Tom Lane
tgl@sss.pgh.pa.us
In reply to: Rod Taylor (#1)
Re: AIX and v8 beta1

Rod Taylor <pg@rbt.ca> writes:

collect2: ld returned 254 exit status

That's a fairly unhelpful error message, isn't it?

I'm thinking that this may be due to having added the timezone
library to the backend link, but I really don't see just how.
Afraid you're on your own to identify the cause :-(

regards, tom lane

#3Rod Taylor
pg@rbt.ca
In reply to: Tom Lane (#2)
Re: AIX and v8 beta1

On Sun, 2004-09-05 at 13:43, Tom Lane wrote:

Rod Taylor <pg@rbt.ca> writes:

collect2: ld returned 254 exit status

That's a fairly unhelpful error message, isn't it?

I'm thinking that this may be due to having added the timezone
library to the backend link, but I really don't see just how.
Afraid you're on your own to identify the cause :-(

I no longer have access to this machine (trial at an IBM "Innovation
Centre"), so it'll have to be up to someone else to look at.

#4Chris Browne
cbbrowne@acm.org
In reply to: Rod Taylor (#1)
Re: AIX and v8 beta1

pg@rbt.ca (Rod Taylor) writes:

On Sun, 2004-09-05 at 13:43, Tom Lane wrote:

Rod Taylor <pg@rbt.ca> writes:

collect2: ld returned 254 exit status

That's a fairly unhelpful error message, isn't it?

I'm thinking that this may be due to having added the timezone
library to the backend link, but I really don't see just how.
Afraid you're on your own to identify the cause :-(

I no longer have access to this machine (trial at an IBM "Innovation
Centre"), so it'll have to be up to someone else to look at.

We've got a number of AIX boxes over at Afilias, so we'll definitely
get around to this at some point. (Probably not this week, is all...)
--
output = reverse("moc.enworbbc" "@" "enworbbc")
http://cbbrowne.com/info/multiplexor.html
In MDDT, no one can hear you scream...
But everybody can hear you say "whoops!"