Re: Bug in Makefile.shlib

From: Larry Rosenman <ler(at)lerctr(dot)org>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: ohp(at)pyrenet(dot)fr, pgsql-hackers list <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Bug in Makefile.shlib
Date: 2002-09-04 17:37:35
Message-ID: 1031161056.466.36.camel@lerlaptop.iadfw.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Wed, 2002-09-04 at 12:28, Tom Lane wrote:
> Olivier PRENANT <ohp(at)pyrenet(dot)fr> writes:
> > I think I figured why I can't buil plperl on unixware 711/OpenUnix 800.
>
> > It seems Makefile.shlib has changed between 722 and 73 and -z text has
> > been added.
>
> Not hardly. The "-z text" option has been in there since at least 6.4.
> 6.4's Makefile.shlib has
>
> ifeq ($(PORTNAME), unixware)
> ...
> LDFLAGS_SL := -G -z text
> ...
> endif
>
> which was cribbed from even older shlib support in other files. We used
> that up through 7.0 without any revisions. In 7.1 Makefile.shlib was
> revised pretty heavily; 7.1 has a unixware section that is identical to
> current sources, in particular
>
> LINK.shared += -Wl,-z,text -Wl,-h,$(soname)
>
> So I think this code is pretty well tested and removing the -z option
> is more likely to break things than fix them.
>
> What misbehavior are you seeing exactly?
see my post from ~2 weeks ago on -hackers with a 7.2.[12] problem.

It flat doesn't work.

I can dig the post up if you want.

>
> regards, tom lane
>
> ---------------------------(end of broadcast)---------------------------
> TIP 5: Have you checked our extensive FAQ?
>
> http://www.postgresql.org/users-lounge/docs/faq.html
>
--
Larry Rosenman http://www.lerctr.org/~ler
Phone: +1 972-414-9812 E-Mail: ler(at)lerctr(dot)org
US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Andrew Sullivan 2002-09-04 17:56:46 Re: [ODBC] ODBC Driver moved to GBorg ...
Previous Message Tom Lane 2002-09-04 17:28:39 Re: Bug in Makefile.shlib