Re: [PATCHES] HP-UX PA-RISC/Itanium 64-bit Patch and HP-UX

From: Shinji Teragaito <shinji(at)kobe(dot)hp(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>, Shinji Teragaito <shinji(at)kobe(dot)hp(dot)com>, pgsql-hackers(at)postgresql(dot)org, pgsql-patches(at)postgresql(dot)org
Subject: Re: [PATCHES] HP-UX PA-RISC/Itanium 64-bit Patch and HP-UX
Date: 2004-10-08 03:26:04
Message-ID: vvd655lgab7.wl%Shinji.Teragaito@hp.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

>> On Thu, 07 Oct 2004 15:32:16 -0400, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> said:

> Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> writes:
>> Has this been resolved?

> AFAIK everything is fixed. I put in Shinji's changes and some more of
> my own. I did port testing on HP 11.11 and 11.23 a month or so ago and
> found that we could build and pass regression on both gcc and vendor
> cc on both platforms.

As long as GNU ld is not installed and GNU gcc is used, the current
CVS head has two problems:

#1) ld: Mismatched Data ABI

In the LP64 data model, libpq.so creation fails because "-mlp64" is
missing in the back singlequote.

/usr/ccs/bin/ld +h libpq.so.3 -b +b /usr/local/pgsql/lib ..(snip)..
-L../../../src/port -lnsl `gcc -print-libgcc-file-name` -o
libpq.so.3

ld: Mismatched Data ABI. Expected EF_IA_64_ABI64 but found None in file
/usr/local/lib/gcc/ia64-hp-hpux11.23/3.4.1/libgcc.a[__divdi3.oS]
Fatal error.

#2) Two regresstion tests fail

create_function_1 and triggers tests fail because refint.so has
unresolved external symbol "__divdi3".

Cheers,

Shinji Teragaito
Hewlett-Packard Japan, Ltd.

Attachment Content-Type Size
postgresql-8.0.0beta3-hpux.patch application/octet-stream 789 bytes

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2004-10-08 04:21:06 Re: Security implications of config-file-location patch
Previous Message Reini Urban 2004-10-08 02:42:57 Re: more dirmod CYGWIN

Browse pgsql-patches by date

  From Date Subject
Next Message Tom Lane 2004-10-08 04:26:06 Re: [PATCHES] HP-UX PA-RISC/Itanium 64-bit Patch and HP-UX
Previous Message Reini Urban 2004-10-08 02:42:57 Re: more dirmod CYGWIN