Re: Re: [PATCHES] Fix for ODBC close - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: Re: [PATCHES] Fix for ODBC close
Date
Msg-id Pine.LNX.4.30.0102101850260.775-100000@peter.localdomain
Whole thread Raw
In response to Re: Re: [PATCHES] Fix for ODBC close  (Bruce Momjian <pgman@candle.pha.pa.us>)
Responses Re: Re: [PATCHES] Fix for ODBC close  (Bruce Momjian <pgman@candle.pha.pa.us>)
List pgsql-hackers
Bruce Momjian writes:

> I have applied the following patch for OpenBSD and FreeBSD.  They have
> the same -Bsymbolic handling and same use of LD for linking.  I made the
> duplicate changes Peter made for BSDI.

Hmm, at least on OpenBSD the recommended way to build shared libraries is
using 'ld' directly.  But using gcc should work as well.

> Can anyone commend on the use of 'ld -x' to delete all local symbols?
> FreeBSD and OpenBSD have it, while BSD/OS does not.  I added it to BSDi,
> and it seems to work fine.

I don't think it should be used.

> Actually, it seems NetBSD already had all these fixes.

On NetBSD, there are about 4 different ways of build shared libraries,
depending on version and platform.  Nothing I wanna mess with.

-- 
Peter Eisentraut      peter_e@gmx.net       http://yi.org/peter-e/



pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: Re: [PATCHES] Fix for ODBC close
Next
From: Bruce Momjian
Date:
Subject: Re: Re: [PATCHES] Fix for ODBC close