Re: Dynamic linking on AIX

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: Albe Laurenz <all(at)adv(dot)magwien(dot)gv(dot)at>
Cc: pgsql-patches(at)postgresql(dot)org, tgl(at)sss(dot)pgh(dot)pa(dot)us, RoccoA(at)Routescape(dot)com
Subject: Re: Dynamic linking on AIX
Date: 2006-09-19 13:39:22
Message-ID: 200609191339.k8JDdME09113@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches


I still would like to see a paragraph describing how AIX is different
from other platforms and what we are doing here.

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

Albe Laurenz wrote:
> This is a second try; this patch replaces
> http://archives.postgresql.org/pgsql-patches/2006-09/msg00185.php
>
> Incorporated are
> - Tom Lane's suggestions for a more sane approach at
> fixing Makefile.shlib
> - Rocco Altier's additions to make the regression test run
> by setting LIBPATH appropriately.
> - Two changes in /src/interfaces/ecpg/test/Makefile.regress
> and src/interfaces/ecpg/test/compat_informix/Makefile
> without which 'make' fails if configure was called
> with --disable-shared (this is not AIX-specific).
>
> The line in src/makefiles/Makefile.aix
> where I set 'libpath' also seems pretty ugly to me.
> Do you have a better idea?
>
> Basically I need to convert LDFLAGS like:
> -L../../dir -L /extra/lib -lalib -Wl,yxz -L/more/libs
> to
> :/extra/lib:/more/libs
> and couldn't think of a better way to do it.
>
> It will fail if there is a -L path that contains
> a blank :^(
>
> Yours,
> Laurenz Albe

Content-Description: aixlink2.patch

[ Attachment, skipping... ]

>
> ---------------------------(end of broadcast)---------------------------
> TIP 9: In versions below 8.0, the planner will ignore your desire to
> choose an index scan if your joining column's datatypes do not
> match

--
Bruce Momjian bruce(at)momjian(dot)us
EnterpriseDB http://www.enterprisedb.com

+ If your life is a hard drive, Christ can be your backup. +

In response to

Browse pgsql-patches by date

  From Date Subject
Next Message mark 2006-09-19 13:51:23 Re: [HACKERS] Patch for UUID datatype (beta)
Previous Message Gevik Babakhani 2006-09-19 13:35:55 Re: [PATCHES] Patch for UUID datatype (beta)