Thread: Re: AIX 4.1 shared library support

Re: AIX 4.1 shared library support

From
Rocco Altier
Date:
On Fri, 13 Apr 2001, Tom Lane wrote:

> Rocco Altier <roccoa@routescape.com> writes:
> > I have noticed that only 1 of the 2 fixes necessary for AIX 4.1 have made
> > it into CVS.
>
> > The change that I submitted to Makefile.shlib has not gone in.
>
> Which was?
>
Here is patch again.

It only affects AIX 4.1 or earlier, since the LDFLAGS_SL is not defined
for AIX greater than 4.1

Thanks,
    -rocco


*** Makefile.shlib.ORIG    Mon Apr  2 12:58:28 2001
--- Makefile.shlib    Fri Apr 13 11:53:32 2001
***************
*** 291,297 ****
  # AIX case
  $(shlib): lib$(NAME).a
      $(MKLDEXPORT) lib$(NAME).a > lib$(NAME)$(EXPSUFF)
!     $(COMPILER) -Wl,-H512 -Wl,-bM:SRE -Wl,-bI:$(top_builddir)/src/backend/$(POSTGRES_IMP)
-Wl,-bE:lib$(NAME)$(EXPSUFF)-o $@ $< $(LDFLAGS) $(SHLIB_LINK) 

  endif # PORTNAME == aix

--- 291,297 ----
  # AIX case
  $(shlib): lib$(NAME).a
      $(MKLDEXPORT) lib$(NAME).a > lib$(NAME)$(EXPSUFF)
!     $(COMPILER) -Wl,-H512 -Wl,-bM:SRE -Wl,-bI:$(top_builddir)/src/backend/$(POSTGRES_IMP)
-Wl,-bE:lib$(NAME)$(EXPSUFF)-o $@ $< $(LDFLAGS) $(SHLIB_LINK) $(LDFLAGS_SL) 

  endif # PORTNAME == aix



Re: AIX 4.1 shared library support

From
Rocco Altier
Date:
On Fri, 13 Apr 2001, Tom Lane wrote:

> Rocco Altier <roccoa@routescape.com> writes:
> > I have noticed that only 1 of the 2 fixes necessary for AIX 4.1 have made
> > it into CVS.
>
> > The change that I submitted to Makefile.shlib has not gone in.
>
> Which was?
>
Here is patch again.

It only affects AIX 4.1 or earlier, since the LDFLAGS_SL is not defined
for AIX greater than 4.1

I seem to be having mail problems...hope this gets through this time.

Thanks,
    -rocco


Attachment

Re: AIX 4.1 shared library support

From
Tom Lane
Date:
Rocco Altier <roccoa@routescape.com> writes:
> I have noticed that only 1 of the 2 fixes necessary for AIX 4.1 have made
> it into CVS.
> The change that I submitted to Makefile.shlib has not gone in.

I have applied this patch --- it will appear in 7.1.1.  Sorry for the
oversight that it didn't make it into 7.1.

            regards, tom lane