Re: Makefile breakage

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: pgsql-patches(at)postgreSQL(dot)org
Subject: Re: Makefile breakage
Date: 2005-03-25 00:07:13
Message-ID: 23848.1111709233@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> writes:
> Tom Lane wrote:
>> You can't just arbitrarily pull in libpgport.a everywhere that libpq.so
>> is used. That breaks anything that requires position-independent code
>> ... for instance ecpglib.

> Strange because it worked on my BSD system and I do compile ecpg. What
> do you suggest? Is this worth fixing somehow?

Intel machines tend not to care whether code is officially
position-independent or not. Most other platforms are sticky about it.
You don't have a choice whether to fix it.

I think you should leave the $(libpq) macro alone and add a $(libpgport)
macro ... and yes, you will have to go around and modify the client
program Makefiles individually.

regards, tom lane

In response to

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message Bruce Momjian 2005-03-25 00:51:05 pgsql: Add URL of how to report bugs:
Previous Message Bruce Momjian 2005-03-25 00:02:41 Re: Makefile breakage