Обсуждение: error compiling under 11.23

Поиск
Список
Период
Сортировка

error compiling under 11.23

От
Morris Lee
Дата:
Hi,

I'm trying to compile postgressql 7.3.2 on HP-UX B.11.23 ia64.  But I get
the following error:

gmake[3]: Entering directory
`/home/ftp/pub/qa/sgqa-11.23-2.2/source/postgresql-7.3.2/src/backend/port'
gcc -O2 -Wall -Wmissing-prototypes -Wmissing-declarations -c tas.s
tas.s: Assembler messages:
tas.s:2: Error: unsupported variable size or fill value
tas.s:2: Warning: rest of line ignored; first ignored character is `='
tas.s:3: Error: unknown pseudo-op: `.subspa'
tas.s:4: Error: Unknown opcode `tas'
tas.s:6: Error: unknown pseudo-op: `.callinfo'
tas.s:8: Error: Unknown opcode `ldo 15(%r26),%r31'
tas.s:8: Error: Unknown opcode `offset 0x0'
tas.s:9: Error: Unknown opcode `depi 0,31,4,%r31'
tas.s:9: Error: Unknown opcode `offset 0x4'
tas.s:10: Error: Unknown opcode `ldcwx 0(0,%r31),%r23'
tas.s:10: Error: Unknown opcode `offset 0x8'
tas.s:11: Error: Unknown opcode `comiclr,= 0,%r23,%r0'
tas.s:11: Error: Unknown opcode `offset 0xc'
tas.s:12: Error: Illegal operand separator `,'
tas.s:12: Error: Unknown opcode `offset 0x10'
tas.s:13: Error: Unknown opcode `$00000001'
tas.s:14: Error: Unknown opcode `ldi 1,%r28'
tas.s:14: Error: Unknown opcode `offset 0x14'
tas.s:15: Error: Unknown opcode `$l0'
tas.s:16: Error: unknown pseudo-op: `.exit'
tas.s:17: Error: Unknown opcode `bv,N %r0(%r2)'
tas.s:17: Error: Unknown opcode `offset 0x18'
tas.s:18: Error: unknown pseudo-op: `.procend'
tas.s:22: Error: unknown pseudo-op: `.subspa'
tas.s:23: Error: unsupported variable size or fill value
tas.s:23: Warning: rest of line ignored; first ignored character is `='
tas.s:24: Error: unknown pseudo-op: `.subspa'
tas.s:26: Error: unknown pseudo-op: `.subspa'
tas.s:27: Error: unknown pseudo-op: `.export'

I see a newgroup posting about this same error from november 2002.
http://archives.postgresql.org/pgsql-ports/2002-11/msg00020.php

But I don't see any solutions.  Has anyone gotten postgres to
compile on ia64-hpux?  I actually just need libpq.sl for the
ruby-postgres module.  This module provides client connectivity to
postgres through ruby.  Thanks for any help.

Morris

Re: error compiling under 11.23

От
Tom Lane
Дата:
Morris Lee <molee@cup.hp.com> writes:
> Has anyone gotten postgres to compile on ia64-hpux?

CVS tip works on that platform, but I don't think any released version does.

> I actually just need libpq.sl for the
> ruby-postgres module.

Then don't try to compile the backend.  After configure, just do make
and make install in src/interfaces/libpq.  (You might need to do it in
src/port as well, not sure.)  libpq doesn't need the spinlock code...

            regards, tom lane