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

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
Thread:
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

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Gregory Stark 2007-08-07 10:35:46 Re: BUG #3520: insert causing error "invalid memory alloc request size 2147483648"
Previous Message Rajaram J 2007-08-07 09:23:52 Having trouble building 64-bit pgsql 7.4.17 on HPUX ia64

Browse pgsql-ports by date

  From Date Subject
Next Message Tom Lane 2007-08-07 14:11:18 Re: Having trouble building 64-bit pgsql 7.4.17 on HPUX ia64
Previous Message Rajaram J 2007-08-07 09:23:52 Having trouble building 64-bit pgsql 7.4.17 on HPUX ia64