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: Shinji Teragaito <shinji(at)kobe(dot)hp(dot)com>, Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>, 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-11 07:31:27
Message-ID: vvdy8idemnk.wl%Shinji.Teragaito@hp.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

>> On Fri, 08 Oct 2004 00:26:06 -0400, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> said:

> Shinji Teragaito <shinji(at)kobe(dot)hp(dot)com> writes:
> 152c152
> < SHLIB_LINK += `$(CC) -print-libgcc-file-name`
> ---
>> SHLIB_LINK += `$(CC) $(LDFLAGS) -print-libgcc-file-name`

> Okay. I'm slightly worried about odd LDFLAGS values confusing this, but
> we can deal with that when we see an example.

> 155c155
> < LINK.shared = $(CC) $(LDFLAGS) -shared -Wl,-h -Wl,$(soname)
> ---
>> LINK.shared = $(CC) $(LDFLAGS) -shared -Wl,-h -Wl,$(soname) -Wl,+b -Wl,$(libdir)

> That looks good too. I think I had seen a truncated version of this
> (just the +b part) and left it off because it didn't work.

> I've applied both these changes.

Thank you !!

> 58c58
> < ifeq ($(with_gnu_ld), yes)
> ---
>> ifeq ($(GCC), yes)

> This I cannot apply; it breaks the gcc-with-HP-ld case, at least on my
> personal installation (HPUX 10.20, gcc 2.95.3, HP ld). My tests on HP's
> testdrive systems did not show any problem here --- what case are you
> concerned about exactly?

gcc-with-HP-ld case on Itanium (HP-UX 11.23, gcc 3.4.1, HP ld).

Cheers,

Shinji Teragaito
Hewlett-Packard Japan, Ltd.

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Gavin Sherry 2004-10-11 11:36:42 Unit testing
Previous Message Greg Stark 2004-10-11 06:50:18 Re: OT moving from MS SQL to PostgreSQL

Browse pgsql-patches by date

  From Date Subject
Next Message Peter Eisentraut 2004-10-11 09:37:39 Re: Casting INT4 to BOOL...
Previous Message Sean Chittenden 2004-10-11 02:38:25 Re: Casting INT4 to BOOL...