Thread: Having trouble building 64-bit pgsql 7.4.17 on HPUX ia64

Having trouble building 64-bit pgsql 7.4.17 on HPUX ia64

From
"Rajaram J"
Date:
Hi
 
I'm having trouble building 64-bit pgsql 7.4.17 on the latest release of HP-UX 11.23 on ia64.

Here's my compiler:
cc: HP C/aC++ B3910B A.06.15 [May 16 2007]

Here's my error:
/opt/ansic/bin/cc -Ae +O2 -L../../src/port -Wl,+nodefaultrpath  -L/usr/lib -L/opt/openssl/lib -Wl,+b -Wl,/opt/rajaram/postgresql/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 -lssl -lcrypto -lgen -ldld -lnsl -ldl -lm -lkrb5 -lk5crypto -lcom_err -lpgport -o postgres
ld: Unsatisfied symbol "tas" in file access/SUBSYS.o
1 errors.
gmake[2]: *** [postgres] Error 1
gmake[2]: *** Deleting file `postgres'
gmake[2]: Leaving directory `/postgresql/postgresql-7.4.17/src/backend'
gmake[1]: *** [all] Error 2
gmake[1]: Leaving directory `/postgresql/postgresql-7.4.17/src'
gmake: *** [all] Error 2
hpdst156 B.11.23 64_bit >cc v
cc: warning 1913: `v' does not exist or cannot be read
ld: I/O error, file "v": No such file or directory
Fatal error.


Could anyone please advise on how to make 7.4.17 build here?
 
Regards
 
Rajaram J

Re: Having trouble building 64-bit pgsql 7.4.17 on HPUX ia64

From
Zdenek Kotala
Date:
It seems that TAS(mutex) is not supported. Try to compile with
--disable-spinlocks, but performance will not be good.

I'm not sure if this file is in 7.4 version, but see
pgsql/src/backend/port/hpux/tas.c.template

        Zdenek

Rajaram J wrote:
> Hi
>
> I'm having trouble building 64-bit pgsql 7.4.17 on the latest release of
> HP-UX 11.23 on ia64.
>
> Here's my compiler:
> cc: HP C/aC++ B3910B A.06.15 [May 16 2007]
>
> Here's my error:
> /opt/ansic/bin/cc -Ae +O2 -L../../src/port -Wl,+nodefaultrpath
> -L/usr/lib -L/opt/openssl/lib -Wl,+b -Wl,/opt/rajaram/postgresql/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 -lssl -lcrypto -lgen
> -ldld -lnsl -ldl -lm -lkrb5 -lk5crypto -lcom_err -lpgport -o postgres
> ld: Unsatisfied symbol "tas" in file access/SUBSYS.o
> 1 errors.
> gmake[2]: *** [postgres] Error 1
> gmake[2]: *** Deleting file `postgres'
> gmake[2]: Leaving directory `/postgresql/postgresql-7.4.17/src/backend'
> gmake[1]: *** [all] Error 2
> gmake[1]: Leaving directory `/postgresql/postgresql-7.4.17/src'
> gmake: *** [all] Error 2
> hpdst156 B.11.23 64_bit >cc v
> cc: warning 1913: `v' does not exist or cannot be read
> ld: I/O error, file "v": No such file or directory
> Fatal error.
>
>
> Could anyone please advise on how to make 7.4.17 build here?
>
> Regards
>
> Rajaram J


Re: Having trouble building 64-bit pgsql 7.4.17 on HPUX ia64

From
Tom Lane
Date:
"Rajaram J" <rajarj@hotmail.com> writes:
> I'm having trouble building 64-bit pgsql 7.4.17 on the latest release of =
> HP-UX 11.23 on ia64.

We only started supporting that platform combination in 8.0.

            regards, tom lane