Re: Dynamic linking on AIX - Mailing list pgsql-patches

From Bruce Momjian
Subject Re: Dynamic linking on AIX
Date
Msg-id 200609191339.k8JDdME09113@momjian.us
Whole thread Raw
In response to Re: Dynamic linking on AIX  ("Albe Laurenz" <all@adv.magwien.gv.at>)
List 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@momjian.us
  EnterpriseDB    http://www.enterprisedb.com

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

pgsql-patches by date:

Previous
From: "Albe Laurenz"
Date:
Subject: Re: Dynamic linking on AIX
Next
From: mark@mark.mielke.cc
Date:
Subject: Re: [HACKERS] Patch for UUID datatype (beta)