Re: 7.4.11 HP-UX ia64 build error

Lists: pgsql-general
From: "Ed L(dot)" <pgsql(at)bluepolka(dot)net>
To: pgsql-general(at)postgresql(dot)org
Subject: 7.4.11 HP-UX ia64 build error
Date: 2006-01-19 20:38:02
Message-ID: 200601191338.02203.pgsql@bluepolka.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-general

I'm having trouble building 32-bit pgsql 7.4.11 on the latest
release of HP-UX 11.23 on ia64, and need a little help.

Here's my compiler:
cc: HP aC++/ANSI C B3910B A.06.05 [Jul 25 2005]

Here's my error:

cc -L../../src/port -Wl,+b
-Wl,/opt/pgsql/installs/postgresql-7.4.11-32bit-aCC/lib -Wl,-z
-Wl,-E 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
-lc -lgen -ldld -lnsl -ldl -lm -lpgport -o postgres
ld: Unsatisfied symbol "tas" in file access/SUBSYS.o
1 errors.
gmake[2]: *** [postgres] Error 1

My 32-bit pgsql 8.1.2 build works on this platform using HP's
ansi C compiler.

Could anyone knowledgeable advise on a patch to make 7.4.11 build
here?

Thanks,
Ed


From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Ed L(dot)" <pgsql(at)bluepolka(dot)net>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: 7.4.11 HP-UX ia64 build error
Date: 2006-01-19 21:12:30
Message-ID: 9097.1137705150@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-general

"Ed L." <pgsql(at)bluepolka(dot)net> writes:
> I'm having trouble building 32-bit pgsql 7.4.11 on the latest
> release of HP-UX 11.23 on ia64, and need a little help.

> Here's my compiler:
> cc: HP aC++/ANSI C B3910B A.06.05 [Jul 25 2005]

We support that combination in PG 8.0 and later. If you really want
7.4 on that platform, you can build it with gcc, or see about
back-porting the ia64/non-gcc fixes that went into 8.0, which would
include at least these:

2004-10-08 00:22 tgl

* src/Makefile.shlib: Tweak HPUX shared-library build flags, per
Shinji Teragaito.

2004-09-02 19:06 tgl

* src/: Makefile.shlib, makefiles/Makefile.hpux: Fix shared library
linking operations to work properly on all (or at least more)
combinations of HP-UX hardware, compiler, and linker. Shinji
Teragaito and Tom Lane.

2004-09-02 17:03 tgl

* src/include/port/hpux.h: Apparently HPUX runs the IA64 in
big-endian mode.

2004-09-02 13:12 tgl

* src/backend/utils/adt/float.c: Cope with recent HPUX versions
providing isfinite() instead of finite().

2004-09-02 13:10 tgl

* src/include/storage/s_lock.h: Add s_lock support for HPUX on
IA64, per Shinji Teragaito.

There are a lot of other build-process changes in 8.0, which might or
might not be relevant.

regards, tom lane


From: "Ed L(dot)" <pgsql(at)bluepolka(dot)net>
To: pgsql-general(at)postgresql(dot)org
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Subject: Re: 7.4.11 HP-UX ia64 build error
Date: 2006-01-19 21:25:35
Message-ID: 200601191425.35759.pgsql@bluepolka.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-general

On Thursday January 19 2006 2:12 pm, Tom Lane wrote:
> "Ed L." <pgsql(at)bluepolka(dot)net> writes:
> > I'm having trouble building 32-bit pgsql 7.4.11 on the
> > latest release of HP-UX 11.23 on ia64, and need a little
> > help.
> >
> > Here's my compiler:
> > cc: HP aC++/ANSI C B3910B A.06.05 [Jul 25 2005]
>
> We support that combination in PG 8.0 and later. If you
> really want 7.4 on that platform, you can build it with gcc,
> or see about back-porting the ia64/non-gcc fixes that went
> into 8.0, which would include at least these:

Thanks, I'll try more with those patches.

Gcc has failed for both 7.4.11 and 8.1.2 on this platform for
32-bit and 64-bit lp64 builds. It does not, however, fail with
an earlier release of 11.23. The gcc problem is described here:

http://archives.postgresql.org/pgsql-bugs/2005-09/msg00088.php

Ed