Re: porting on ITANIUM2 platform under HP-UX

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Baffa Mario <mario(dot)baffa(at)thomson(dot)net>
Cc: "'pgsql-bugs(at)postgresql(dot)org'" <pgsql-bugs(at)postgresql(dot)org>
Subject: Re: porting on ITANIUM2 platform under HP-UX
Date: 2003-02-14 12:48:25
Message-ID: 200302141248.h1ECmPu10841@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs


Ah, seems we need Itanium2-specific test-and-set functions for HPUX, or
perhaps our problem is that HPUX is assumed to be PA-RISC.

The problem appears to be coming from
/pg/backend/port/hpux/tas.s.template. However, I have to say I don't
see any fancy assembly in there. I am confused.

---------------------------------------------------------------------------

Baffa Mario wrote:
> System Configuration
> ---------------------
> Architecture : Itanium2 64bits
> Operating System : HP-UX 11i v. 1.6 (equivalent 11.22)
> PostgreSQL version : 7.3.1
> Compiler used : gcc 3.0
>
> Please enter a FULL description of your problem:
> ------------------------------------------------
> I am tried to build postgres and following you can see a results abstract
> (If you want it's available a full listing for configure and gmake results)
>
> $ ./configure
>
> ## --------- ##
> ## Platform. ##
> ## --------- ##
>
> hostname = wsghost
> uname -m = ia64
> uname -r = B.11.22
> uname -s = HP-UX
> uname -v = U
>
> /usr/bin/uname -p = unknown
> /bin/uname -X = unknown
>
> /bin/arch = unknown
> /usr/bin/arch -k = unknown
> /usr/convex/getsysinfo = unknown
> hostinfo = unknown
> /bin/machine = unknown
> /usr/bin/oslevel = unknown
> /bin/universe = unknown
> .
> .
> .
> ## ---------------------- ##
> ## Running config.status. ##
> ## ---------------------- ##
>
> This file was extended by PostgreSQL config.status 7.3.1, which was
> generated by GNU Autoconf 2.53. Invocation command line was
>
> CONFIG_FILES =
> CONFIG_HEADERS =
> CONFIG_LINKS =
> CONFIG_COMMANDS =
> $ ./config.status
>
> on wsghost
>
> config.status:660: creating GNUmakefile
> config.status:660: creating src/Makefile.global
> config.status:763: creating src/include/pg_config.h
> config.status:1129: linking ./src/backend/port/tas/hpux.s to
> src/backend/port/tas.s
> config.status:1129: linking ./src/backend/port/dynloader/hpux.c to
> src/backend/port/dynloader.c
> config.status:1129: linking ./src/backend/port/sysv_sema.c to
> src/backend/port/pg_sema.c
> config.status:1129: linking ./src/backend/port/sysv_shmem.c to
> src/backend/port/pg_shmem.c
> config.status:1129: linking ./src/backend/port/dynloader/hpux.h to
> src/include/dynloader.h
> config.status:1129: linking ./src/include/port/hpux.h to
> src/include/pg_config_os.h
> config.status:1129: linking ./src/makefiles/Makefile.hpux to
> src/Makefile.port
> .
> .
> .
>
> $ gmake
> .
> .
> .
> gmake[3]: Entering directory
> `/home/.se/contrib/postgresql-7.3.1/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: Error: 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: Error: 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'
> .
> .
> .
>
>
>
>
> -----------------------------------------------------------
> As of February 12, 2003 Thomson unifies its email addresses on a worldwide
> basis.Please note my new email address: mario(dot)baffa(at)thomson(dot)net
>
> Thomson is the leader in solutions and technologies for the entertainment
> and media industries and serves its customers under its four strategic
> brands: Technicolor, Grass Valley, RCA and THOMSON.
> More about Thomson: http://www.thomson.net/videochain
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 6: Have you searched our list archives?
>
> http://archives.postgresql.org
>

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Bruce Momjian 2003-02-14 14:15:07 Re: <security/pam_appl.h> should be <pam/pam_appl.h> on MacOS
Previous Message Baffa Mario 2003-02-14 09:12:19 porting on ITANIUM2 platform under HP-UX