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

Lists: pgsql-bugsPostg토토 핫SQL
From: "Rajaram J" <rajarj(at)hotmail(dot)com>
To: <pgsql-bugs(at)postgresql(dot)org>, <pgsql-ports(at)postgresql(dot)org>
Subject: Having trouble building 64-bit pgsql 7.4.17 on HPUX ia64
Date: 2007-08-07 09:23:52
Message-ID: BAY121-DAV14724372D3A127B6C5434BCFE60@phx.gbl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: Postg사설 토토 사이트SQL : Postg사설 토토 사이트SQL 메일 링리스트 : 2007-08-07 이후 PGSQL-BUGS 09:23 Postg사설 토토 사이트SQL

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


From: Zdenek Kotala <Zdenek(dot)Kotala(at)Sun(dot)COM>
To: Rajaram J <rajarj(at)hotmail(dot)com>
Cc: pgsql-bugs(at)postgresql(dot)org, pgsql-ports(at)postgresql(dot)org
Subject: Re: Having trouble building 64-bit pgsql 7.4.17 on HPUX ia64
Date: 2007-08-07 09:51:44
Message-ID: 46B840B0.2080702@sun.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-bugs pgsql-ports

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


From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Rajaram J" <rajarj(at)hotmail(dot)com>
Cc: pgsql-bugs(at)postgresql(dot)org, pgsql-ports(at)postgresql(dot)org
Subject: Re: Having trouble building 64-bit pgsql 7.4.17 on HPUX ia64
Date: 2007-08-07 14:11:18
Message-ID: 20758.1186495878@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-bugs Postg토토 핫SQL

"Rajaram J" <rajarj(at)hotmail(dot)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